diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java similarity index 99% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java index aaca726ac45c..3b10f2abd69a 100644 --- a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java +++ b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java @@ -37,7 +37,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.cloud.deploy.v1.stub.CloudDeployStubSettings; diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java similarity index 99% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java index 03c5e9588e7e..ff723512339c 100644 --- a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java +++ b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java @@ -116,7 +116,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/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployCallableFactory.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployCallableFactory.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployCallableFactory.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployCallableFactory.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java similarity index 99% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java rename to java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java index db600155936a..8e57f3f6623e 100644 --- a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java +++ b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java @@ -39,7 +39,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.RequestParamsBuilder; diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/resources/META-INF/native-image/com.google.cloud.deploy.v1/reflect-config.json b/java-deploy/google-cloud-deploy/src/main/resources/META-INF/native-image/com.google.cloud.deploy.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/resources/META-INF/native-image/com.google.cloud.deploy.v1/reflect-config.json rename to java-deploy/google-cloud-deploy/src/main/resources/META-INF/native-image/com.google.cloud.deploy.v1/reflect-config.json diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientHttpJsonTest.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientHttpJsonTest.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientHttpJsonTest.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicy.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicy.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicy.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicyImpl.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicyImpl.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocations.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocations.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocations.java diff --git a/owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocationsImpl.java b/java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocationsImpl.java rename to java-deploy/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockLocationsImpl.java diff --git a/java-deploy/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java b/java-deploy/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java new file mode 100644 index 000000000000..f62100bcc765 --- /dev/null +++ b/java-deploy/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java @@ -0,0 +1,4899 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.deploy.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * CloudDeploy service creates and manages Continuous Delivery operations
+ * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/deploy/v1/cloud_deploy.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CloudDeployGrpc { + + private CloudDeployGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.deploy.v1.CloudDeploy"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> + getListDeliveryPipelinesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDeliveryPipelines", + requestType = com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class, + responseType = com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> + getListDeliveryPipelinesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> + getListDeliveryPipelinesMethod; + if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) + == null) { + CloudDeployGrpc.getListDeliveryPipelinesMethod = + getListDeliveryPipelinesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListDeliveryPipelines")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("ListDeliveryPipelines")) + .build(); + } + } + } + return getListDeliveryPipelinesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest, + com.google.cloud.deploy.v1.DeliveryPipeline> + getGetDeliveryPipelineMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDeliveryPipeline", + requestType = com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.class, + responseType = com.google.cloud.deploy.v1.DeliveryPipeline.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest, + com.google.cloud.deploy.v1.DeliveryPipeline> + getGetDeliveryPipelineMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest, + com.google.cloud.deploy.v1.DeliveryPipeline> + getGetDeliveryPipelineMethod; + if ((getGetDeliveryPipelineMethod = CloudDeployGrpc.getGetDeliveryPipelineMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetDeliveryPipelineMethod = CloudDeployGrpc.getGetDeliveryPipelineMethod) == null) { + CloudDeployGrpc.getGetDeliveryPipelineMethod = + getGetDeliveryPipelineMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDeliveryPipeline")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("GetDeliveryPipeline")) + .build(); + } + } + } + return getGetDeliveryPipelineMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, + com.google.longrunning.Operation> + getCreateDeliveryPipelineMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDeliveryPipeline", + requestType = com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, + com.google.longrunning.Operation> + getCreateDeliveryPipelineMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, + com.google.longrunning.Operation> + getCreateDeliveryPipelineMethod; + if ((getCreateDeliveryPipelineMethod = CloudDeployGrpc.getCreateDeliveryPipelineMethod) + == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCreateDeliveryPipelineMethod = CloudDeployGrpc.getCreateDeliveryPipelineMethod) + == null) { + CloudDeployGrpc.getCreateDeliveryPipelineMethod = + getCreateDeliveryPipelineMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateDeliveryPipeline")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("CreateDeliveryPipeline")) + .build(); + } + } + } + return getCreateDeliveryPipelineMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, + com.google.longrunning.Operation> + getUpdateDeliveryPipelineMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDeliveryPipeline", + requestType = com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, + com.google.longrunning.Operation> + getUpdateDeliveryPipelineMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, + com.google.longrunning.Operation> + getUpdateDeliveryPipelineMethod; + if ((getUpdateDeliveryPipelineMethod = CloudDeployGrpc.getUpdateDeliveryPipelineMethod) + == null) { + synchronized (CloudDeployGrpc.class) { + if ((getUpdateDeliveryPipelineMethod = CloudDeployGrpc.getUpdateDeliveryPipelineMethod) + == null) { + CloudDeployGrpc.getUpdateDeliveryPipelineMethod = + getUpdateDeliveryPipelineMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDeliveryPipeline")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("UpdateDeliveryPipeline")) + .build(); + } + } + } + return getUpdateDeliveryPipelineMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, + com.google.longrunning.Operation> + getDeleteDeliveryPipelineMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDeliveryPipeline", + requestType = com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, + com.google.longrunning.Operation> + getDeleteDeliveryPipelineMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, + com.google.longrunning.Operation> + getDeleteDeliveryPipelineMethod; + if ((getDeleteDeliveryPipelineMethod = CloudDeployGrpc.getDeleteDeliveryPipelineMethod) + == null) { + synchronized (CloudDeployGrpc.class) { + if ((getDeleteDeliveryPipelineMethod = CloudDeployGrpc.getDeleteDeliveryPipelineMethod) + == null) { + CloudDeployGrpc.getDeleteDeliveryPipelineMethod = + getDeleteDeliveryPipelineMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteDeliveryPipeline")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("DeleteDeliveryPipeline")) + .build(); + } + } + } + return getDeleteDeliveryPipelineMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListTargetsRequest, + com.google.cloud.deploy.v1.ListTargetsResponse> + getListTargetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTargets", + requestType = com.google.cloud.deploy.v1.ListTargetsRequest.class, + responseType = com.google.cloud.deploy.v1.ListTargetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListTargetsRequest, + com.google.cloud.deploy.v1.ListTargetsResponse> + getListTargetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListTargetsRequest, + com.google.cloud.deploy.v1.ListTargetsResponse> + getListTargetsMethod; + if ((getListTargetsMethod = CloudDeployGrpc.getListTargetsMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListTargetsMethod = CloudDeployGrpc.getListTargetsMethod) == null) { + CloudDeployGrpc.getListTargetsMethod = + getListTargetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTargets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListTargetsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListTargetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListTargets")) + .build(); + } + } + } + return getListTargetsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.RollbackTargetRequest, + com.google.cloud.deploy.v1.RollbackTargetResponse> + getRollbackTargetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackTarget", + requestType = com.google.cloud.deploy.v1.RollbackTargetRequest.class, + responseType = com.google.cloud.deploy.v1.RollbackTargetResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.RollbackTargetRequest, + com.google.cloud.deploy.v1.RollbackTargetResponse> + getRollbackTargetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.RollbackTargetRequest, + com.google.cloud.deploy.v1.RollbackTargetResponse> + getRollbackTargetMethod; + if ((getRollbackTargetMethod = CloudDeployGrpc.getRollbackTargetMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getRollbackTargetMethod = CloudDeployGrpc.getRollbackTargetMethod) == null) { + CloudDeployGrpc.getRollbackTargetMethod = + getRollbackTargetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackTarget")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.RollbackTargetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.RollbackTargetResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("RollbackTarget")) + .build(); + } + } + } + return getRollbackTargetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetTargetRequest, com.google.cloud.deploy.v1.Target> + getGetTargetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTarget", + requestType = com.google.cloud.deploy.v1.GetTargetRequest.class, + responseType = com.google.cloud.deploy.v1.Target.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetTargetRequest, com.google.cloud.deploy.v1.Target> + getGetTargetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetTargetRequest, com.google.cloud.deploy.v1.Target> + getGetTargetMethod; + if ((getGetTargetMethod = CloudDeployGrpc.getGetTargetMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetTargetMethod = CloudDeployGrpc.getGetTargetMethod) == null) { + CloudDeployGrpc.getGetTargetMethod = + getGetTargetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTarget")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetTargetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.Target.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetTarget")) + .build(); + } + } + } + return getGetTargetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateTargetRequest, com.google.longrunning.Operation> + getCreateTargetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTarget", + requestType = com.google.cloud.deploy.v1.CreateTargetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateTargetRequest, com.google.longrunning.Operation> + getCreateTargetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateTargetRequest, com.google.longrunning.Operation> + getCreateTargetMethod; + if ((getCreateTargetMethod = CloudDeployGrpc.getCreateTargetMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCreateTargetMethod = CloudDeployGrpc.getCreateTargetMethod) == null) { + CloudDeployGrpc.getCreateTargetMethod = + getCreateTargetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTarget")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CreateTargetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateTarget")) + .build(); + } + } + } + return getCreateTargetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateTargetRequest, com.google.longrunning.Operation> + getUpdateTargetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTarget", + requestType = com.google.cloud.deploy.v1.UpdateTargetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateTargetRequest, com.google.longrunning.Operation> + getUpdateTargetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateTargetRequest, com.google.longrunning.Operation> + getUpdateTargetMethod; + if ((getUpdateTargetMethod = CloudDeployGrpc.getUpdateTargetMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getUpdateTargetMethod = CloudDeployGrpc.getUpdateTargetMethod) == null) { + CloudDeployGrpc.getUpdateTargetMethod = + getUpdateTargetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTarget")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.UpdateTargetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("UpdateTarget")) + .build(); + } + } + } + return getUpdateTargetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteTargetRequest, com.google.longrunning.Operation> + getDeleteTargetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTarget", + requestType = com.google.cloud.deploy.v1.DeleteTargetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteTargetRequest, com.google.longrunning.Operation> + getDeleteTargetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteTargetRequest, com.google.longrunning.Operation> + getDeleteTargetMethod; + if ((getDeleteTargetMethod = CloudDeployGrpc.getDeleteTargetMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getDeleteTargetMethod = CloudDeployGrpc.getDeleteTargetMethod) == null) { + CloudDeployGrpc.getDeleteTargetMethod = + getDeleteTargetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTarget")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.DeleteTargetRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("DeleteTarget")) + .build(); + } + } + } + return getDeleteTargetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest, + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse> + getListCustomTargetTypesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomTargetTypes", + requestType = com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.class, + responseType = com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest, + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse> + getListCustomTargetTypesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest, + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse> + getListCustomTargetTypesMethod; + if ((getListCustomTargetTypesMethod = CloudDeployGrpc.getListCustomTargetTypesMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListCustomTargetTypesMethod = CloudDeployGrpc.getListCustomTargetTypesMethod) + == null) { + CloudDeployGrpc.getListCustomTargetTypesMethod = + getListCustomTargetTypesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCustomTargetTypes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("ListCustomTargetTypes")) + .build(); + } + } + } + return getListCustomTargetTypesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest, + com.google.cloud.deploy.v1.CustomTargetType> + getGetCustomTargetTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomTargetType", + requestType = com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.class, + responseType = com.google.cloud.deploy.v1.CustomTargetType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest, + com.google.cloud.deploy.v1.CustomTargetType> + getGetCustomTargetTypeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest, + com.google.cloud.deploy.v1.CustomTargetType> + getGetCustomTargetTypeMethod; + if ((getGetCustomTargetTypeMethod = CloudDeployGrpc.getGetCustomTargetTypeMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetCustomTargetTypeMethod = CloudDeployGrpc.getGetCustomTargetTypeMethod) == null) { + CloudDeployGrpc.getGetCustomTargetTypeMethod = + getGetCustomTargetTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetCustomTargetType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("GetCustomTargetType")) + .build(); + } + } + } + return getGetCustomTargetTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest, + com.google.longrunning.Operation> + getCreateCustomTargetTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomTargetType", + requestType = com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest, + com.google.longrunning.Operation> + getCreateCustomTargetTypeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest, + com.google.longrunning.Operation> + getCreateCustomTargetTypeMethod; + if ((getCreateCustomTargetTypeMethod = CloudDeployGrpc.getCreateCustomTargetTypeMethod) + == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCreateCustomTargetTypeMethod = CloudDeployGrpc.getCreateCustomTargetTypeMethod) + == null) { + CloudDeployGrpc.getCreateCustomTargetTypeMethod = + getCreateCustomTargetTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCustomTargetType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("CreateCustomTargetType")) + .build(); + } + } + } + return getCreateCustomTargetTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest, + com.google.longrunning.Operation> + getUpdateCustomTargetTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomTargetType", + requestType = com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest, + com.google.longrunning.Operation> + getUpdateCustomTargetTypeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest, + com.google.longrunning.Operation> + getUpdateCustomTargetTypeMethod; + if ((getUpdateCustomTargetTypeMethod = CloudDeployGrpc.getUpdateCustomTargetTypeMethod) + == null) { + synchronized (CloudDeployGrpc.class) { + if ((getUpdateCustomTargetTypeMethod = CloudDeployGrpc.getUpdateCustomTargetTypeMethod) + == null) { + CloudDeployGrpc.getUpdateCustomTargetTypeMethod = + getUpdateCustomTargetTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateCustomTargetType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("UpdateCustomTargetType")) + .build(); + } + } + } + return getUpdateCustomTargetTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest, + com.google.longrunning.Operation> + getDeleteCustomTargetTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCustomTargetType", + requestType = com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest, + com.google.longrunning.Operation> + getDeleteCustomTargetTypeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest, + com.google.longrunning.Operation> + getDeleteCustomTargetTypeMethod; + if ((getDeleteCustomTargetTypeMethod = CloudDeployGrpc.getDeleteCustomTargetTypeMethod) + == null) { + synchronized (CloudDeployGrpc.class) { + if ((getDeleteCustomTargetTypeMethod = CloudDeployGrpc.getDeleteCustomTargetTypeMethod) + == null) { + CloudDeployGrpc.getDeleteCustomTargetTypeMethod = + getDeleteCustomTargetTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteCustomTargetType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("DeleteCustomTargetType")) + .build(); + } + } + } + return getDeleteCustomTargetTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListReleasesRequest, + com.google.cloud.deploy.v1.ListReleasesResponse> + getListReleasesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListReleases", + requestType = com.google.cloud.deploy.v1.ListReleasesRequest.class, + responseType = com.google.cloud.deploy.v1.ListReleasesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListReleasesRequest, + com.google.cloud.deploy.v1.ListReleasesResponse> + getListReleasesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListReleasesRequest, + com.google.cloud.deploy.v1.ListReleasesResponse> + getListReleasesMethod; + if ((getListReleasesMethod = CloudDeployGrpc.getListReleasesMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListReleasesMethod = CloudDeployGrpc.getListReleasesMethod) == null) { + CloudDeployGrpc.getListReleasesMethod = + getListReleasesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReleases")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListReleasesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListReleasesResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListReleases")) + .build(); + } + } + } + return getListReleasesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetReleaseRequest, com.google.cloud.deploy.v1.Release> + getGetReleaseMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRelease", + requestType = com.google.cloud.deploy.v1.GetReleaseRequest.class, + responseType = com.google.cloud.deploy.v1.Release.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetReleaseRequest, com.google.cloud.deploy.v1.Release> + getGetReleaseMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetReleaseRequest, com.google.cloud.deploy.v1.Release> + getGetReleaseMethod; + if ((getGetReleaseMethod = CloudDeployGrpc.getGetReleaseMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetReleaseMethod = CloudDeployGrpc.getGetReleaseMethod) == null) { + CloudDeployGrpc.getGetReleaseMethod = + getGetReleaseMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRelease")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetReleaseRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.Release.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetRelease")) + .build(); + } + } + } + return getGetReleaseMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateReleaseRequest, com.google.longrunning.Operation> + getCreateReleaseMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRelease", + requestType = com.google.cloud.deploy.v1.CreateReleaseRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateReleaseRequest, com.google.longrunning.Operation> + getCreateReleaseMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateReleaseRequest, com.google.longrunning.Operation> + getCreateReleaseMethod; + if ((getCreateReleaseMethod = CloudDeployGrpc.getCreateReleaseMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCreateReleaseMethod = CloudDeployGrpc.getCreateReleaseMethod) == null) { + CloudDeployGrpc.getCreateReleaseMethod = + getCreateReleaseMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRelease")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CreateReleaseRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateRelease")) + .build(); + } + } + } + return getCreateReleaseMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.AbandonReleaseRequest, + com.google.cloud.deploy.v1.AbandonReleaseResponse> + getAbandonReleaseMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AbandonRelease", + requestType = com.google.cloud.deploy.v1.AbandonReleaseRequest.class, + responseType = com.google.cloud.deploy.v1.AbandonReleaseResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.AbandonReleaseRequest, + com.google.cloud.deploy.v1.AbandonReleaseResponse> + getAbandonReleaseMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.AbandonReleaseRequest, + com.google.cloud.deploy.v1.AbandonReleaseResponse> + getAbandonReleaseMethod; + if ((getAbandonReleaseMethod = CloudDeployGrpc.getAbandonReleaseMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getAbandonReleaseMethod = CloudDeployGrpc.getAbandonReleaseMethod) == null) { + CloudDeployGrpc.getAbandonReleaseMethod = + getAbandonReleaseMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AbandonRelease")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.AbandonReleaseRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.AbandonReleaseResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("AbandonRelease")) + .build(); + } + } + } + return getAbandonReleaseMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ApproveRolloutRequest, + com.google.cloud.deploy.v1.ApproveRolloutResponse> + getApproveRolloutMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ApproveRollout", + requestType = com.google.cloud.deploy.v1.ApproveRolloutRequest.class, + responseType = com.google.cloud.deploy.v1.ApproveRolloutResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ApproveRolloutRequest, + com.google.cloud.deploy.v1.ApproveRolloutResponse> + getApproveRolloutMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ApproveRolloutRequest, + com.google.cloud.deploy.v1.ApproveRolloutResponse> + getApproveRolloutMethod; + if ((getApproveRolloutMethod = CloudDeployGrpc.getApproveRolloutMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getApproveRolloutMethod = CloudDeployGrpc.getApproveRolloutMethod) == null) { + CloudDeployGrpc.getApproveRolloutMethod = + getApproveRolloutMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ApproveRollout")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ApproveRolloutRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ApproveRolloutResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("ApproveRollout")) + .build(); + } + } + } + return getApproveRolloutMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.AdvanceRolloutRequest, + com.google.cloud.deploy.v1.AdvanceRolloutResponse> + getAdvanceRolloutMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AdvanceRollout", + requestType = com.google.cloud.deploy.v1.AdvanceRolloutRequest.class, + responseType = com.google.cloud.deploy.v1.AdvanceRolloutResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.AdvanceRolloutRequest, + com.google.cloud.deploy.v1.AdvanceRolloutResponse> + getAdvanceRolloutMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.AdvanceRolloutRequest, + com.google.cloud.deploy.v1.AdvanceRolloutResponse> + getAdvanceRolloutMethod; + if ((getAdvanceRolloutMethod = CloudDeployGrpc.getAdvanceRolloutMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getAdvanceRolloutMethod = CloudDeployGrpc.getAdvanceRolloutMethod) == null) { + CloudDeployGrpc.getAdvanceRolloutMethod = + getAdvanceRolloutMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AdvanceRollout")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.AdvanceRolloutRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.AdvanceRolloutResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("AdvanceRollout")) + .build(); + } + } + } + return getAdvanceRolloutMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CancelRolloutRequest, + com.google.cloud.deploy.v1.CancelRolloutResponse> + getCancelRolloutMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelRollout", + requestType = com.google.cloud.deploy.v1.CancelRolloutRequest.class, + responseType = com.google.cloud.deploy.v1.CancelRolloutResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CancelRolloutRequest, + com.google.cloud.deploy.v1.CancelRolloutResponse> + getCancelRolloutMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CancelRolloutRequest, + com.google.cloud.deploy.v1.CancelRolloutResponse> + getCancelRolloutMethod; + if ((getCancelRolloutMethod = CloudDeployGrpc.getCancelRolloutMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCancelRolloutMethod = CloudDeployGrpc.getCancelRolloutMethod) == null) { + CloudDeployGrpc.getCancelRolloutMethod = + getCancelRolloutMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelRollout")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CancelRolloutRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CancelRolloutResponse + .getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CancelRollout")) + .build(); + } + } + } + return getCancelRolloutMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListRolloutsRequest, + com.google.cloud.deploy.v1.ListRolloutsResponse> + getListRolloutsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRollouts", + requestType = com.google.cloud.deploy.v1.ListRolloutsRequest.class, + responseType = com.google.cloud.deploy.v1.ListRolloutsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListRolloutsRequest, + com.google.cloud.deploy.v1.ListRolloutsResponse> + getListRolloutsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListRolloutsRequest, + com.google.cloud.deploy.v1.ListRolloutsResponse> + getListRolloutsMethod; + if ((getListRolloutsMethod = CloudDeployGrpc.getListRolloutsMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListRolloutsMethod = CloudDeployGrpc.getListRolloutsMethod) == null) { + CloudDeployGrpc.getListRolloutsMethod = + getListRolloutsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRollouts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListRolloutsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListRolloutsResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListRollouts")) + .build(); + } + } + } + return getListRolloutsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetRolloutRequest, com.google.cloud.deploy.v1.Rollout> + getGetRolloutMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRollout", + requestType = com.google.cloud.deploy.v1.GetRolloutRequest.class, + responseType = com.google.cloud.deploy.v1.Rollout.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetRolloutRequest, com.google.cloud.deploy.v1.Rollout> + getGetRolloutMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetRolloutRequest, com.google.cloud.deploy.v1.Rollout> + getGetRolloutMethod; + if ((getGetRolloutMethod = CloudDeployGrpc.getGetRolloutMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetRolloutMethod = CloudDeployGrpc.getGetRolloutMethod) == null) { + CloudDeployGrpc.getGetRolloutMethod = + getGetRolloutMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRollout")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetRolloutRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.Rollout.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetRollout")) + .build(); + } + } + } + return getGetRolloutMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateRolloutRequest, com.google.longrunning.Operation> + getCreateRolloutMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRollout", + requestType = com.google.cloud.deploy.v1.CreateRolloutRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateRolloutRequest, com.google.longrunning.Operation> + getCreateRolloutMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateRolloutRequest, com.google.longrunning.Operation> + getCreateRolloutMethod; + if ((getCreateRolloutMethod = CloudDeployGrpc.getCreateRolloutMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCreateRolloutMethod = CloudDeployGrpc.getCreateRolloutMethod) == null) { + CloudDeployGrpc.getCreateRolloutMethod = + getCreateRolloutMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRollout")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CreateRolloutRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateRollout")) + .build(); + } + } + } + return getCreateRolloutMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.IgnoreJobRequest, com.google.cloud.deploy.v1.IgnoreJobResponse> + getIgnoreJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "IgnoreJob", + requestType = com.google.cloud.deploy.v1.IgnoreJobRequest.class, + responseType = com.google.cloud.deploy.v1.IgnoreJobResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.IgnoreJobRequest, com.google.cloud.deploy.v1.IgnoreJobResponse> + getIgnoreJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.IgnoreJobRequest, + com.google.cloud.deploy.v1.IgnoreJobResponse> + getIgnoreJobMethod; + if ((getIgnoreJobMethod = CloudDeployGrpc.getIgnoreJobMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getIgnoreJobMethod = CloudDeployGrpc.getIgnoreJobMethod) == null) { + CloudDeployGrpc.getIgnoreJobMethod = + getIgnoreJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "IgnoreJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.IgnoreJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.IgnoreJobResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("IgnoreJob")) + .build(); + } + } + } + return getIgnoreJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.RetryJobRequest, com.google.cloud.deploy.v1.RetryJobResponse> + getRetryJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetryJob", + requestType = com.google.cloud.deploy.v1.RetryJobRequest.class, + responseType = com.google.cloud.deploy.v1.RetryJobResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.RetryJobRequest, com.google.cloud.deploy.v1.RetryJobResponse> + getRetryJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.RetryJobRequest, com.google.cloud.deploy.v1.RetryJobResponse> + getRetryJobMethod; + if ((getRetryJobMethod = CloudDeployGrpc.getRetryJobMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getRetryJobMethod = CloudDeployGrpc.getRetryJobMethod) == null) { + CloudDeployGrpc.getRetryJobMethod = + getRetryJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetryJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.RetryJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.RetryJobResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("RetryJob")) + .build(); + } + } + } + return getRetryJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListJobRunsRequest, + com.google.cloud.deploy.v1.ListJobRunsResponse> + getListJobRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobRuns", + requestType = com.google.cloud.deploy.v1.ListJobRunsRequest.class, + responseType = com.google.cloud.deploy.v1.ListJobRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListJobRunsRequest, + com.google.cloud.deploy.v1.ListJobRunsResponse> + getListJobRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListJobRunsRequest, + com.google.cloud.deploy.v1.ListJobRunsResponse> + getListJobRunsMethod; + if ((getListJobRunsMethod = CloudDeployGrpc.getListJobRunsMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListJobRunsMethod = CloudDeployGrpc.getListJobRunsMethod) == null) { + CloudDeployGrpc.getListJobRunsMethod = + getListJobRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListJobRunsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListJobRunsResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListJobRuns")) + .build(); + } + } + } + return getListJobRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetJobRunRequest, com.google.cloud.deploy.v1.JobRun> + getGetJobRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJobRun", + requestType = com.google.cloud.deploy.v1.GetJobRunRequest.class, + responseType = com.google.cloud.deploy.v1.JobRun.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetJobRunRequest, com.google.cloud.deploy.v1.JobRun> + getGetJobRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetJobRunRequest, com.google.cloud.deploy.v1.JobRun> + getGetJobRunMethod; + if ((getGetJobRunMethod = CloudDeployGrpc.getGetJobRunMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetJobRunMethod = CloudDeployGrpc.getGetJobRunMethod) == null) { + CloudDeployGrpc.getGetJobRunMethod = + getGetJobRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetJobRunRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.JobRun.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetJobRun")) + .build(); + } + } + } + return getGetJobRunMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.TerminateJobRunRequest, + com.google.cloud.deploy.v1.TerminateJobRunResponse> + getTerminateJobRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TerminateJobRun", + requestType = com.google.cloud.deploy.v1.TerminateJobRunRequest.class, + responseType = com.google.cloud.deploy.v1.TerminateJobRunResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.TerminateJobRunRequest, + com.google.cloud.deploy.v1.TerminateJobRunResponse> + getTerminateJobRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.TerminateJobRunRequest, + com.google.cloud.deploy.v1.TerminateJobRunResponse> + getTerminateJobRunMethod; + if ((getTerminateJobRunMethod = CloudDeployGrpc.getTerminateJobRunMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getTerminateJobRunMethod = CloudDeployGrpc.getTerminateJobRunMethod) == null) { + CloudDeployGrpc.getTerminateJobRunMethod = + getTerminateJobRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TerminateJobRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.TerminateJobRunRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.TerminateJobRunResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("TerminateJobRun")) + .build(); + } + } + } + return getTerminateJobRunMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetConfigRequest, com.google.cloud.deploy.v1.Config> + getGetConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConfig", + requestType = com.google.cloud.deploy.v1.GetConfigRequest.class, + responseType = com.google.cloud.deploy.v1.Config.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetConfigRequest, com.google.cloud.deploy.v1.Config> + getGetConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetConfigRequest, com.google.cloud.deploy.v1.Config> + getGetConfigMethod; + if ((getGetConfigMethod = CloudDeployGrpc.getGetConfigMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetConfigMethod = CloudDeployGrpc.getGetConfigMethod) == null) { + CloudDeployGrpc.getGetConfigMethod = + getGetConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetConfigRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.Config.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetConfig")) + .build(); + } + } + } + return getGetConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateAutomationRequest, com.google.longrunning.Operation> + getCreateAutomationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAutomation", + requestType = com.google.cloud.deploy.v1.CreateAutomationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateAutomationRequest, com.google.longrunning.Operation> + getCreateAutomationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CreateAutomationRequest, com.google.longrunning.Operation> + getCreateAutomationMethod; + if ((getCreateAutomationMethod = CloudDeployGrpc.getCreateAutomationMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCreateAutomationMethod = CloudDeployGrpc.getCreateAutomationMethod) == null) { + CloudDeployGrpc.getCreateAutomationMethod = + getCreateAutomationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAutomation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CreateAutomationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("CreateAutomation")) + .build(); + } + } + } + return getCreateAutomationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateAutomationRequest, com.google.longrunning.Operation> + getUpdateAutomationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAutomation", + requestType = com.google.cloud.deploy.v1.UpdateAutomationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateAutomationRequest, com.google.longrunning.Operation> + getUpdateAutomationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.UpdateAutomationRequest, com.google.longrunning.Operation> + getUpdateAutomationMethod; + if ((getUpdateAutomationMethod = CloudDeployGrpc.getUpdateAutomationMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getUpdateAutomationMethod = CloudDeployGrpc.getUpdateAutomationMethod) == null) { + CloudDeployGrpc.getUpdateAutomationMethod = + getUpdateAutomationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAutomation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.UpdateAutomationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("UpdateAutomation")) + .build(); + } + } + } + return getUpdateAutomationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteAutomationRequest, com.google.longrunning.Operation> + getDeleteAutomationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAutomation", + requestType = com.google.cloud.deploy.v1.DeleteAutomationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteAutomationRequest, com.google.longrunning.Operation> + getDeleteAutomationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.DeleteAutomationRequest, com.google.longrunning.Operation> + getDeleteAutomationMethod; + if ((getDeleteAutomationMethod = CloudDeployGrpc.getDeleteAutomationMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getDeleteAutomationMethod = CloudDeployGrpc.getDeleteAutomationMethod) == null) { + CloudDeployGrpc.getDeleteAutomationMethod = + getDeleteAutomationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAutomation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.DeleteAutomationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("DeleteAutomation")) + .build(); + } + } + } + return getDeleteAutomationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetAutomationRequest, com.google.cloud.deploy.v1.Automation> + getGetAutomationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAutomation", + requestType = com.google.cloud.deploy.v1.GetAutomationRequest.class, + responseType = com.google.cloud.deploy.v1.Automation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetAutomationRequest, com.google.cloud.deploy.v1.Automation> + getGetAutomationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetAutomationRequest, com.google.cloud.deploy.v1.Automation> + getGetAutomationMethod; + if ((getGetAutomationMethod = CloudDeployGrpc.getGetAutomationMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetAutomationMethod = CloudDeployGrpc.getGetAutomationMethod) == null) { + CloudDeployGrpc.getGetAutomationMethod = + getGetAutomationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAutomation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetAutomationRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.Automation.getDefaultInstance())) + .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetAutomation")) + .build(); + } + } + } + return getGetAutomationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListAutomationsRequest, + com.google.cloud.deploy.v1.ListAutomationsResponse> + getListAutomationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAutomations", + requestType = com.google.cloud.deploy.v1.ListAutomationsRequest.class, + responseType = com.google.cloud.deploy.v1.ListAutomationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListAutomationsRequest, + com.google.cloud.deploy.v1.ListAutomationsResponse> + getListAutomationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListAutomationsRequest, + com.google.cloud.deploy.v1.ListAutomationsResponse> + getListAutomationsMethod; + if ((getListAutomationsMethod = CloudDeployGrpc.getListAutomationsMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListAutomationsMethod = CloudDeployGrpc.getListAutomationsMethod) == null) { + CloudDeployGrpc.getListAutomationsMethod = + getListAutomationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAutomations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListAutomationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListAutomationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("ListAutomations")) + .build(); + } + } + } + return getListAutomationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetAutomationRunRequest, + com.google.cloud.deploy.v1.AutomationRun> + getGetAutomationRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAutomationRun", + requestType = com.google.cloud.deploy.v1.GetAutomationRunRequest.class, + responseType = com.google.cloud.deploy.v1.AutomationRun.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetAutomationRunRequest, + com.google.cloud.deploy.v1.AutomationRun> + getGetAutomationRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.GetAutomationRunRequest, + com.google.cloud.deploy.v1.AutomationRun> + getGetAutomationRunMethod; + if ((getGetAutomationRunMethod = CloudDeployGrpc.getGetAutomationRunMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getGetAutomationRunMethod = CloudDeployGrpc.getGetAutomationRunMethod) == null) { + CloudDeployGrpc.getGetAutomationRunMethod = + getGetAutomationRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAutomationRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.GetAutomationRunRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.AutomationRun.getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("GetAutomationRun")) + .build(); + } + } + } + return getGetAutomationRunMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListAutomationRunsRequest, + com.google.cloud.deploy.v1.ListAutomationRunsResponse> + getListAutomationRunsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAutomationRuns", + requestType = com.google.cloud.deploy.v1.ListAutomationRunsRequest.class, + responseType = com.google.cloud.deploy.v1.ListAutomationRunsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListAutomationRunsRequest, + com.google.cloud.deploy.v1.ListAutomationRunsResponse> + getListAutomationRunsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.ListAutomationRunsRequest, + com.google.cloud.deploy.v1.ListAutomationRunsResponse> + getListAutomationRunsMethod; + if ((getListAutomationRunsMethod = CloudDeployGrpc.getListAutomationRunsMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getListAutomationRunsMethod = CloudDeployGrpc.getListAutomationRunsMethod) == null) { + CloudDeployGrpc.getListAutomationRunsMethod = + getListAutomationRunsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAutomationRuns")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListAutomationRunsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.ListAutomationRunsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("ListAutomationRuns")) + .build(); + } + } + } + return getListAutomationRunsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CancelAutomationRunRequest, + com.google.cloud.deploy.v1.CancelAutomationRunResponse> + getCancelAutomationRunMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelAutomationRun", + requestType = com.google.cloud.deploy.v1.CancelAutomationRunRequest.class, + responseType = com.google.cloud.deploy.v1.CancelAutomationRunResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CancelAutomationRunRequest, + com.google.cloud.deploy.v1.CancelAutomationRunResponse> + getCancelAutomationRunMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.deploy.v1.CancelAutomationRunRequest, + com.google.cloud.deploy.v1.CancelAutomationRunResponse> + getCancelAutomationRunMethod; + if ((getCancelAutomationRunMethod = CloudDeployGrpc.getCancelAutomationRunMethod) == null) { + synchronized (CloudDeployGrpc.class) { + if ((getCancelAutomationRunMethod = CloudDeployGrpc.getCancelAutomationRunMethod) == null) { + CloudDeployGrpc.getCancelAutomationRunMethod = + getCancelAutomationRunMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CancelAutomationRun")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CancelAutomationRunRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.deploy.v1.CancelAutomationRunResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CloudDeployMethodDescriptorSupplier("CancelAutomationRun")) + .build(); + } + } + } + return getCancelAutomationRunMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CloudDeployStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CloudDeployStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudDeployStub(channel, callOptions); + } + }; + return CloudDeployStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CloudDeployBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CloudDeployBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudDeployBlockingStub(channel, callOptions); + } + }; + return CloudDeployBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CloudDeployFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CloudDeployFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudDeployFutureStub(channel, callOptions); + } + }; + return CloudDeployFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * CloudDeploy service creates and manages Continuous Delivery operations
+   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Lists DeliveryPipelines in a given project and location.
+     * 
+ */ + default void listDeliveryPipelines( + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDeliveryPipelinesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single DeliveryPipeline.
+     * 
+ */ + default void getDeliveryPipeline( + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDeliveryPipelineMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new DeliveryPipeline in a given project and location.
+     * 
+ */ + default void createDeliveryPipeline( + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDeliveryPipelineMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single DeliveryPipeline.
+     * 
+ */ + default void updateDeliveryPipeline( + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDeliveryPipelineMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single DeliveryPipeline.
+     * 
+ */ + default void deleteDeliveryPipeline( + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDeliveryPipelineMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Targets in a given project and location.
+     * 
+ */ + default void listTargets( + com.google.cloud.deploy.v1.ListTargetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTargetsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a `Rollout` to roll back the specified target.
+     * 
+ */ + default void rollbackTarget( + com.google.cloud.deploy.v1.RollbackTargetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRollbackTargetMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Target.
+     * 
+ */ + default void getTarget( + com.google.cloud.deploy.v1.GetTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTargetMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Target in a given project and location.
+     * 
+ */ + default void createTarget( + com.google.cloud.deploy.v1.CreateTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTargetMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Target.
+     * 
+ */ + default void updateTarget( + com.google.cloud.deploy.v1.UpdateTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTargetMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Target.
+     * 
+ */ + default void deleteTarget( + com.google.cloud.deploy.v1.DeleteTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTargetMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CustomTargetTypes in a given project and location.
+     * 
+ */ + default void listCustomTargetTypes( + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomTargetTypesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CustomTargetType.
+     * 
+ */ + default void getCustomTargetType( + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomTargetTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new CustomTargetType in a given project and location.
+     * 
+ */ + default void createCustomTargetType( + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomTargetTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a single CustomTargetType.
+     * 
+ */ + default void updateCustomTargetType( + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomTargetTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single CustomTargetType.
+     * 
+ */ + default void deleteCustomTargetType( + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCustomTargetTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Releases in a given project and location.
+     * 
+ */ + default void listReleases( + com.google.cloud.deploy.v1.ListReleasesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListReleasesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Release.
+     * 
+ */ + default void getRelease( + com.google.cloud.deploy.v1.GetReleaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReleaseMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Release in a given project and location.
+     * 
+ */ + default void createRelease( + com.google.cloud.deploy.v1.CreateReleaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateReleaseMethod(), responseObserver); + } + + /** + * + * + *
+     * Abandons a Release in the Delivery Pipeline.
+     * 
+ */ + default void abandonRelease( + com.google.cloud.deploy.v1.AbandonReleaseRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAbandonReleaseMethod(), responseObserver); + } + + /** + * + * + *
+     * Approves a Rollout.
+     * 
+ */ + default void approveRollout( + com.google.cloud.deploy.v1.ApproveRolloutRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getApproveRolloutMethod(), responseObserver); + } + + /** + * + * + *
+     * Advances a Rollout in a given project and location.
+     * 
+ */ + default void advanceRollout( + com.google.cloud.deploy.v1.AdvanceRolloutRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAdvanceRolloutMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels a Rollout in a given project and location.
+     * 
+ */ + default void cancelRollout( + com.google.cloud.deploy.v1.CancelRolloutRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelRolloutMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Rollouts in a given project and location.
+     * 
+ */ + default void listRollouts( + com.google.cloud.deploy.v1.ListRolloutsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRolloutsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Rollout.
+     * 
+ */ + default void getRollout( + com.google.cloud.deploy.v1.GetRolloutRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRolloutMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Rollout in a given project and location.
+     * 
+ */ + default void createRollout( + com.google.cloud.deploy.v1.CreateRolloutRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRolloutMethod(), responseObserver); + } + + /** + * + * + *
+     * Ignores the specified Job in a Rollout.
+     * 
+ */ + default void ignoreJob( + com.google.cloud.deploy.v1.IgnoreJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getIgnoreJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Retries the specified Job in a Rollout.
+     * 
+ */ + default void retryJob( + com.google.cloud.deploy.v1.RetryJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetryJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists JobRuns in a given project and location.
+     * 
+ */ + default void listJobRuns( + com.google.cloud.deploy.v1.ListJobRunsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListJobRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single JobRun.
+     * 
+ */ + default void getJobRun( + com.google.cloud.deploy.v1.GetJobRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobRunMethod(), responseObserver); + } + + /** + * + * + *
+     * Terminates a Job Run in a given project and location.
+     * 
+ */ + default void terminateJobRun( + com.google.cloud.deploy.v1.TerminateJobRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTerminateJobRunMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the configuration for a location.
+     * 
+ */ + default void getConfig( + com.google.cloud.deploy.v1.GetConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Automation in a given project and location.
+     * 
+ */ + default void createAutomation( + com.google.cloud.deploy.v1.CreateAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAutomationMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Automation resource.
+     * 
+ */ + default void updateAutomation( + com.google.cloud.deploy.v1.UpdateAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAutomationMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Automation resource.
+     * 
+ */ + default void deleteAutomation( + com.google.cloud.deploy.v1.DeleteAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAutomationMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Automation.
+     * 
+ */ + default void getAutomation( + com.google.cloud.deploy.v1.GetAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAutomationMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Automations in a given project and location.
+     * 
+ */ + default void listAutomations( + com.google.cloud.deploy.v1.ListAutomationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAutomationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single AutomationRun.
+     * 
+ */ + default void getAutomationRun( + com.google.cloud.deploy.v1.GetAutomationRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAutomationRunMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists AutomationRuns in a given project and location.
+     * 
+ */ + default void listAutomationRuns( + com.google.cloud.deploy.v1.ListAutomationRunsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAutomationRunsMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
+     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
+     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
+     * in a different state returns an `FAILED_PRECONDITION` error.
+     * 
+ */ + default void cancelAutomationRun( + com.google.cloud.deploy.v1.CancelAutomationRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelAutomationRunMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service CloudDeploy. + * + *
+   * CloudDeploy service creates and manages Continuous Delivery operations
+   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+   * 
+ */ + public abstract static class CloudDeployImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return CloudDeployGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service CloudDeploy. + * + *
+   * CloudDeploy service creates and manages Continuous Delivery operations
+   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+   * 
+ */ + public static final class CloudDeployStub + extends io.grpc.stub.AbstractAsyncStub { + private CloudDeployStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CloudDeployStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudDeployStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists DeliveryPipelines in a given project and location.
+     * 
+ */ + public void listDeliveryPipelines( + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDeliveryPipelinesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single DeliveryPipeline.
+     * 
+ */ + public void getDeliveryPipeline( + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDeliveryPipelineMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new DeliveryPipeline in a given project and location.
+     * 
+ */ + public void createDeliveryPipeline( + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDeliveryPipelineMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single DeliveryPipeline.
+     * 
+ */ + public void updateDeliveryPipeline( + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDeliveryPipelineMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single DeliveryPipeline.
+     * 
+ */ + public void deleteDeliveryPipeline( + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDeliveryPipelineMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Targets in a given project and location.
+     * 
+ */ + public void listTargets( + com.google.cloud.deploy.v1.ListTargetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTargetsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a `Rollout` to roll back the specified target.
+     * 
+ */ + public void rollbackTarget( + com.google.cloud.deploy.v1.RollbackTargetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackTargetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Target.
+     * 
+ */ + public void getTarget( + com.google.cloud.deploy.v1.GetTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTargetMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Target in a given project and location.
+     * 
+ */ + public void createTarget( + com.google.cloud.deploy.v1.CreateTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTargetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Target.
+     * 
+ */ + public void updateTarget( + com.google.cloud.deploy.v1.UpdateTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTargetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Target.
+     * 
+ */ + public void deleteTarget( + com.google.cloud.deploy.v1.DeleteTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTargetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CustomTargetTypes in a given project and location.
+     * 
+ */ + public void listCustomTargetTypes( + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomTargetTypesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CustomTargetType.
+     * 
+ */ + public void getCustomTargetType( + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomTargetTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new CustomTargetType in a given project and location.
+     * 
+ */ + public void createCustomTargetType( + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomTargetTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a single CustomTargetType.
+     * 
+ */ + public void updateCustomTargetType( + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomTargetTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single CustomTargetType.
+     * 
+ */ + public void deleteCustomTargetType( + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCustomTargetTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Releases in a given project and location.
+     * 
+ */ + public void listReleases( + com.google.cloud.deploy.v1.ListReleasesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListReleasesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Release.
+     * 
+ */ + public void getRelease( + com.google.cloud.deploy.v1.GetReleaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetReleaseMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Release in a given project and location.
+     * 
+ */ + public void createRelease( + com.google.cloud.deploy.v1.CreateReleaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateReleaseMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Abandons a Release in the Delivery Pipeline.
+     * 
+ */ + public void abandonRelease( + com.google.cloud.deploy.v1.AbandonReleaseRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAbandonReleaseMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Approves a Rollout.
+     * 
+ */ + public void approveRollout( + com.google.cloud.deploy.v1.ApproveRolloutRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getApproveRolloutMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Advances a Rollout in a given project and location.
+     * 
+ */ + public void advanceRollout( + com.google.cloud.deploy.v1.AdvanceRolloutRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAdvanceRolloutMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels a Rollout in a given project and location.
+     * 
+ */ + public void cancelRollout( + com.google.cloud.deploy.v1.CancelRolloutRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelRolloutMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Rollouts in a given project and location.
+     * 
+ */ + public void listRollouts( + com.google.cloud.deploy.v1.ListRolloutsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRolloutsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Rollout.
+     * 
+ */ + public void getRollout( + com.google.cloud.deploy.v1.GetRolloutRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRolloutMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Rollout in a given project and location.
+     * 
+ */ + public void createRollout( + com.google.cloud.deploy.v1.CreateRolloutRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRolloutMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Ignores the specified Job in a Rollout.
+     * 
+ */ + public void ignoreJob( + com.google.cloud.deploy.v1.IgnoreJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getIgnoreJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Retries the specified Job in a Rollout.
+     * 
+ */ + public void retryJob( + com.google.cloud.deploy.v1.RetryJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetryJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists JobRuns in a given project and location.
+     * 
+ */ + public void listJobRuns( + com.google.cloud.deploy.v1.ListJobRunsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single JobRun.
+     * 
+ */ + public void getJobRun( + com.google.cloud.deploy.v1.GetJobRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobRunMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Terminates a Job Run in a given project and location.
+     * 
+ */ + public void terminateJobRun( + com.google.cloud.deploy.v1.TerminateJobRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTerminateJobRunMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the configuration for a location.
+     * 
+ */ + public void getConfig( + com.google.cloud.deploy.v1.GetConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Automation in a given project and location.
+     * 
+ */ + public void createAutomation( + com.google.cloud.deploy.v1.CreateAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAutomationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Automation resource.
+     * 
+ */ + public void updateAutomation( + com.google.cloud.deploy.v1.UpdateAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAutomationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Automation resource.
+     * 
+ */ + public void deleteAutomation( + com.google.cloud.deploy.v1.DeleteAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAutomationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Automation.
+     * 
+ */ + public void getAutomation( + com.google.cloud.deploy.v1.GetAutomationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAutomationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Automations in a given project and location.
+     * 
+ */ + public void listAutomations( + com.google.cloud.deploy.v1.ListAutomationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAutomationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single AutomationRun.
+     * 
+ */ + public void getAutomationRun( + com.google.cloud.deploy.v1.GetAutomationRunRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAutomationRunMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists AutomationRuns in a given project and location.
+     * 
+ */ + public void listAutomationRuns( + com.google.cloud.deploy.v1.ListAutomationRunsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAutomationRunsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
+     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
+     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
+     * in a different state returns an `FAILED_PRECONDITION` error.
+     * 
+ */ + public void cancelAutomationRun( + com.google.cloud.deploy.v1.CancelAutomationRunRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelAutomationRunMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service CloudDeploy. + * + *
+   * CloudDeploy service creates and manages Continuous Delivery operations
+   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+   * 
+ */ + public static final class CloudDeployBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudDeployBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CloudDeployBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudDeployBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists DeliveryPipelines in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse listDeliveryPipelines( + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDeliveryPipelinesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single DeliveryPipeline.
+     * 
+ */ + public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline( + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDeliveryPipelineMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new DeliveryPipeline in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createDeliveryPipeline( + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDeliveryPipelineMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single DeliveryPipeline.
+     * 
+ */ + public com.google.longrunning.Operation updateDeliveryPipeline( + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDeliveryPipelineMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single DeliveryPipeline.
+     * 
+ */ + public com.google.longrunning.Operation deleteDeliveryPipeline( + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDeliveryPipelineMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Targets in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListTargetsResponse listTargets( + com.google.cloud.deploy.v1.ListTargetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTargetsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a `Rollout` to roll back the specified target.
+     * 
+ */ + public com.google.cloud.deploy.v1.RollbackTargetResponse rollbackTarget( + com.google.cloud.deploy.v1.RollbackTargetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackTargetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Target.
+     * 
+ */ + public com.google.cloud.deploy.v1.Target getTarget( + com.google.cloud.deploy.v1.GetTargetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTargetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Target in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createTarget( + com.google.cloud.deploy.v1.CreateTargetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTargetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Target.
+     * 
+ */ + public com.google.longrunning.Operation updateTarget( + com.google.cloud.deploy.v1.UpdateTargetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTargetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Target.
+     * 
+ */ + public com.google.longrunning.Operation deleteTarget( + com.google.cloud.deploy.v1.DeleteTargetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTargetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CustomTargetTypes in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListCustomTargetTypesResponse listCustomTargetTypes( + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomTargetTypesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single CustomTargetType.
+     * 
+ */ + public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType( + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomTargetTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new CustomTargetType in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCustomTargetType( + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomTargetTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a single CustomTargetType.
+     * 
+ */ + public com.google.longrunning.Operation updateCustomTargetType( + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomTargetTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single CustomTargetType.
+     * 
+ */ + public com.google.longrunning.Operation deleteCustomTargetType( + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCustomTargetTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Releases in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListReleasesResponse listReleases( + com.google.cloud.deploy.v1.ListReleasesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListReleasesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Release.
+     * 
+ */ + public com.google.cloud.deploy.v1.Release getRelease( + com.google.cloud.deploy.v1.GetReleaseRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetReleaseMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Release in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createRelease( + com.google.cloud.deploy.v1.CreateReleaseRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateReleaseMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Abandons a Release in the Delivery Pipeline.
+     * 
+ */ + public com.google.cloud.deploy.v1.AbandonReleaseResponse abandonRelease( + com.google.cloud.deploy.v1.AbandonReleaseRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAbandonReleaseMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Approves a Rollout.
+     * 
+ */ + public com.google.cloud.deploy.v1.ApproveRolloutResponse approveRollout( + com.google.cloud.deploy.v1.ApproveRolloutRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getApproveRolloutMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Advances a Rollout in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.AdvanceRolloutResponse advanceRollout( + com.google.cloud.deploy.v1.AdvanceRolloutRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAdvanceRolloutMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels a Rollout in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.CancelRolloutResponse cancelRollout( + com.google.cloud.deploy.v1.CancelRolloutRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelRolloutMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Rollouts in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListRolloutsResponse listRollouts( + com.google.cloud.deploy.v1.ListRolloutsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRolloutsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Rollout.
+     * 
+ */ + public com.google.cloud.deploy.v1.Rollout getRollout( + com.google.cloud.deploy.v1.GetRolloutRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRolloutMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Rollout in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createRollout( + com.google.cloud.deploy.v1.CreateRolloutRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRolloutMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Ignores the specified Job in a Rollout.
+     * 
+ */ + public com.google.cloud.deploy.v1.IgnoreJobResponse ignoreJob( + com.google.cloud.deploy.v1.IgnoreJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getIgnoreJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retries the specified Job in a Rollout.
+     * 
+ */ + public com.google.cloud.deploy.v1.RetryJobResponse retryJob( + com.google.cloud.deploy.v1.RetryJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetryJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists JobRuns in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListJobRunsResponse listJobRuns( + com.google.cloud.deploy.v1.ListJobRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single JobRun.
+     * 
+ */ + public com.google.cloud.deploy.v1.JobRun getJobRun( + com.google.cloud.deploy.v1.GetJobRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobRunMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Terminates a Job Run in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.TerminateJobRunResponse terminateJobRun( + com.google.cloud.deploy.v1.TerminateJobRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTerminateJobRunMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the configuration for a location.
+     * 
+ */ + public com.google.cloud.deploy.v1.Config getConfig( + com.google.cloud.deploy.v1.GetConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Automation in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createAutomation( + com.google.cloud.deploy.v1.CreateAutomationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAutomationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Automation resource.
+     * 
+ */ + public com.google.longrunning.Operation updateAutomation( + com.google.cloud.deploy.v1.UpdateAutomationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAutomationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Automation resource.
+     * 
+ */ + public com.google.longrunning.Operation deleteAutomation( + com.google.cloud.deploy.v1.DeleteAutomationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAutomationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Automation.
+     * 
+ */ + public com.google.cloud.deploy.v1.Automation getAutomation( + com.google.cloud.deploy.v1.GetAutomationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAutomationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Automations in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListAutomationsResponse listAutomations( + com.google.cloud.deploy.v1.ListAutomationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAutomationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single AutomationRun.
+     * 
+ */ + public com.google.cloud.deploy.v1.AutomationRun getAutomationRun( + com.google.cloud.deploy.v1.GetAutomationRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAutomationRunMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists AutomationRuns in a given project and location.
+     * 
+ */ + public com.google.cloud.deploy.v1.ListAutomationRunsResponse listAutomationRuns( + com.google.cloud.deploy.v1.ListAutomationRunsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAutomationRunsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
+     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
+     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
+     * in a different state returns an `FAILED_PRECONDITION` error.
+     * 
+ */ + public com.google.cloud.deploy.v1.CancelAutomationRunResponse cancelAutomationRun( + com.google.cloud.deploy.v1.CancelAutomationRunRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelAutomationRunMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service CloudDeploy. + * + *
+   * CloudDeploy service creates and manages Continuous Delivery operations
+   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+   * 
+ */ + public static final class CloudDeployFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudDeployFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CloudDeployFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudDeployFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists DeliveryPipelines in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> + listDeliveryPipelines(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDeliveryPipelinesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single DeliveryPipeline.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.DeliveryPipeline> + getDeliveryPipeline(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDeliveryPipelineMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new DeliveryPipeline in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDeliveryPipeline(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDeliveryPipelineMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single DeliveryPipeline.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDeliveryPipeline(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDeliveryPipelineMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single DeliveryPipeline.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDeliveryPipeline(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDeliveryPipelineMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Targets in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListTargetsResponse> + listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTargetsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a `Rollout` to roll back the specified target.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.RollbackTargetResponse> + rollbackTarget(com.google.cloud.deploy.v1.RollbackTargetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackTargetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Target.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getTarget(com.google.cloud.deploy.v1.GetTargetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTargetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Target in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createTarget(com.google.cloud.deploy.v1.CreateTargetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTargetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Target.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateTarget(com.google.cloud.deploy.v1.UpdateTargetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTargetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Target.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTarget(com.google.cloud.deploy.v1.DeleteTargetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTargetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CustomTargetTypes in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse> + listCustomTargetTypes(com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomTargetTypesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single CustomTargetType.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.CustomTargetType> + getCustomTargetType(com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomTargetTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new CustomTargetType in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCustomTargetType(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomTargetTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a single CustomTargetType.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCustomTargetType(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomTargetTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single CustomTargetType.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCustomTargetType(com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCustomTargetTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Releases in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListReleasesResponse> + listReleases(com.google.cloud.deploy.v1.ListReleasesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListReleasesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Release.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getRelease(com.google.cloud.deploy.v1.GetReleaseRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetReleaseMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Release in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRelease(com.google.cloud.deploy.v1.CreateReleaseRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateReleaseMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Abandons a Release in the Delivery Pipeline.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.AbandonReleaseResponse> + abandonRelease(com.google.cloud.deploy.v1.AbandonReleaseRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAbandonReleaseMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Approves a Rollout.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ApproveRolloutResponse> + approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getApproveRolloutMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Advances a Rollout in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.AdvanceRolloutResponse> + advanceRollout(com.google.cloud.deploy.v1.AdvanceRolloutRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAdvanceRolloutMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels a Rollout in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.CancelRolloutResponse> + cancelRollout(com.google.cloud.deploy.v1.CancelRolloutRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelRolloutMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Rollouts in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListRolloutsResponse> + listRollouts(com.google.cloud.deploy.v1.ListRolloutsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRolloutsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Rollout.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getRollout(com.google.cloud.deploy.v1.GetRolloutRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRolloutMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Rollout in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRollout(com.google.cloud.deploy.v1.CreateRolloutRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRolloutMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Ignores the specified Job in a Rollout.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.IgnoreJobResponse> + ignoreJob(com.google.cloud.deploy.v1.IgnoreJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getIgnoreJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retries the specified Job in a Rollout.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.RetryJobResponse> + retryJob(com.google.cloud.deploy.v1.RetryJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetryJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists JobRuns in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListJobRunsResponse> + listJobRuns(com.google.cloud.deploy.v1.ListJobRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single JobRun.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getJobRun(com.google.cloud.deploy.v1.GetJobRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobRunMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Terminates a Job Run in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.TerminateJobRunResponse> + terminateJobRun(com.google.cloud.deploy.v1.TerminateJobRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTerminateJobRunMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the configuration for a location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getConfig(com.google.cloud.deploy.v1.GetConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Automation in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAutomation(com.google.cloud.deploy.v1.CreateAutomationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAutomationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Automation resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAutomation(com.google.cloud.deploy.v1.UpdateAutomationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAutomationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Automation resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAutomation(com.google.cloud.deploy.v1.DeleteAutomationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAutomationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Automation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getAutomation(com.google.cloud.deploy.v1.GetAutomationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAutomationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Automations in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListAutomationsResponse> + listAutomations(com.google.cloud.deploy.v1.ListAutomationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAutomationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single AutomationRun.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.AutomationRun> + getAutomationRun(com.google.cloud.deploy.v1.GetAutomationRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAutomationRunMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists AutomationRuns in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.ListAutomationRunsResponse> + listAutomationRuns(com.google.cloud.deploy.v1.ListAutomationRunsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAutomationRunsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
+     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
+     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
+     * in a different state returns an `FAILED_PRECONDITION` error.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.deploy.v1.CancelAutomationRunResponse> + cancelAutomationRun(com.google.cloud.deploy.v1.CancelAutomationRunRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelAutomationRunMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DELIVERY_PIPELINES = 0; + private static final int METHODID_GET_DELIVERY_PIPELINE = 1; + private static final int METHODID_CREATE_DELIVERY_PIPELINE = 2; + private static final int METHODID_UPDATE_DELIVERY_PIPELINE = 3; + private static final int METHODID_DELETE_DELIVERY_PIPELINE = 4; + private static final int METHODID_LIST_TARGETS = 5; + private static final int METHODID_ROLLBACK_TARGET = 6; + private static final int METHODID_GET_TARGET = 7; + private static final int METHODID_CREATE_TARGET = 8; + private static final int METHODID_UPDATE_TARGET = 9; + private static final int METHODID_DELETE_TARGET = 10; + private static final int METHODID_LIST_CUSTOM_TARGET_TYPES = 11; + private static final int METHODID_GET_CUSTOM_TARGET_TYPE = 12; + private static final int METHODID_CREATE_CUSTOM_TARGET_TYPE = 13; + private static final int METHODID_UPDATE_CUSTOM_TARGET_TYPE = 14; + private static final int METHODID_DELETE_CUSTOM_TARGET_TYPE = 15; + private static final int METHODID_LIST_RELEASES = 16; + private static final int METHODID_GET_RELEASE = 17; + private static final int METHODID_CREATE_RELEASE = 18; + private static final int METHODID_ABANDON_RELEASE = 19; + private static final int METHODID_APPROVE_ROLLOUT = 20; + private static final int METHODID_ADVANCE_ROLLOUT = 21; + private static final int METHODID_CANCEL_ROLLOUT = 22; + private static final int METHODID_LIST_ROLLOUTS = 23; + private static final int METHODID_GET_ROLLOUT = 24; + private static final int METHODID_CREATE_ROLLOUT = 25; + private static final int METHODID_IGNORE_JOB = 26; + private static final int METHODID_RETRY_JOB = 27; + private static final int METHODID_LIST_JOB_RUNS = 28; + private static final int METHODID_GET_JOB_RUN = 29; + private static final int METHODID_TERMINATE_JOB_RUN = 30; + private static final int METHODID_GET_CONFIG = 31; + private static final int METHODID_CREATE_AUTOMATION = 32; + private static final int METHODID_UPDATE_AUTOMATION = 33; + private static final int METHODID_DELETE_AUTOMATION = 34; + private static final int METHODID_GET_AUTOMATION = 35; + private static final int METHODID_LIST_AUTOMATIONS = 36; + private static final int METHODID_GET_AUTOMATION_RUN = 37; + private static final int METHODID_LIST_AUTOMATION_RUNS = 38; + private static final int METHODID_CANCEL_AUTOMATION_RUN = 39; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_LIST_DELIVERY_PIPELINES: + serviceImpl.listDeliveryPipelines( + (com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse>) + responseObserver); + break; + case METHODID_GET_DELIVERY_PIPELINE: + serviceImpl.getDeliveryPipeline( + (com.google.cloud.deploy.v1.GetDeliveryPipelineRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DELIVERY_PIPELINE: + serviceImpl.createDeliveryPipeline( + (com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DELIVERY_PIPELINE: + serviceImpl.updateDeliveryPipeline( + (com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DELIVERY_PIPELINE: + serviceImpl.deleteDeliveryPipeline( + (com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TARGETS: + serviceImpl.listTargets( + (com.google.cloud.deploy.v1.ListTargetsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ROLLBACK_TARGET: + serviceImpl.rollbackTarget( + (com.google.cloud.deploy.v1.RollbackTargetRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_TARGET: + serviceImpl.getTarget( + (com.google.cloud.deploy.v1.GetTargetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TARGET: + serviceImpl.createTarget( + (com.google.cloud.deploy.v1.CreateTargetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TARGET: + serviceImpl.updateTarget( + (com.google.cloud.deploy.v1.UpdateTargetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TARGET: + serviceImpl.deleteTarget( + (com.google.cloud.deploy.v1.DeleteTargetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUSTOM_TARGET_TYPES: + serviceImpl.listCustomTargetTypes( + (com.google.cloud.deploy.v1.ListCustomTargetTypesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse>) + responseObserver); + break; + case METHODID_GET_CUSTOM_TARGET_TYPE: + serviceImpl.getCustomTargetType( + (com.google.cloud.deploy.v1.GetCustomTargetTypeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CUSTOM_TARGET_TYPE: + serviceImpl.createCustomTargetType( + (com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CUSTOM_TARGET_TYPE: + serviceImpl.updateCustomTargetType( + (com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CUSTOM_TARGET_TYPE: + serviceImpl.deleteCustomTargetType( + (com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_RELEASES: + serviceImpl.listReleases( + (com.google.cloud.deploy.v1.ListReleasesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_RELEASE: + serviceImpl.getRelease( + (com.google.cloud.deploy.v1.GetReleaseRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_RELEASE: + serviceImpl.createRelease( + (com.google.cloud.deploy.v1.CreateReleaseRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ABANDON_RELEASE: + serviceImpl.abandonRelease( + (com.google.cloud.deploy.v1.AbandonReleaseRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_APPROVE_ROLLOUT: + serviceImpl.approveRollout( + (com.google.cloud.deploy.v1.ApproveRolloutRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ADVANCE_ROLLOUT: + serviceImpl.advanceRollout( + (com.google.cloud.deploy.v1.AdvanceRolloutRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CANCEL_ROLLOUT: + serviceImpl.cancelRollout( + (com.google.cloud.deploy.v1.CancelRolloutRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ROLLOUTS: + serviceImpl.listRollouts( + (com.google.cloud.deploy.v1.ListRolloutsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ROLLOUT: + serviceImpl.getRollout( + (com.google.cloud.deploy.v1.GetRolloutRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ROLLOUT: + serviceImpl.createRollout( + (com.google.cloud.deploy.v1.CreateRolloutRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IGNORE_JOB: + serviceImpl.ignoreJob( + (com.google.cloud.deploy.v1.IgnoreJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RETRY_JOB: + serviceImpl.retryJob( + (com.google.cloud.deploy.v1.RetryJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_JOB_RUNS: + serviceImpl.listJobRuns( + (com.google.cloud.deploy.v1.ListJobRunsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_JOB_RUN: + serviceImpl.getJobRun( + (com.google.cloud.deploy.v1.GetJobRunRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TERMINATE_JOB_RUN: + serviceImpl.terminateJobRun( + (com.google.cloud.deploy.v1.TerminateJobRunRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CONFIG: + serviceImpl.getConfig( + (com.google.cloud.deploy.v1.GetConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AUTOMATION: + serviceImpl.createAutomation( + (com.google.cloud.deploy.v1.CreateAutomationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AUTOMATION: + serviceImpl.updateAutomation( + (com.google.cloud.deploy.v1.UpdateAutomationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_AUTOMATION: + serviceImpl.deleteAutomation( + (com.google.cloud.deploy.v1.DeleteAutomationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AUTOMATION: + serviceImpl.getAutomation( + (com.google.cloud.deploy.v1.GetAutomationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AUTOMATIONS: + serviceImpl.listAutomations( + (com.google.cloud.deploy.v1.ListAutomationsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_AUTOMATION_RUN: + serviceImpl.getAutomationRun( + (com.google.cloud.deploy.v1.GetAutomationRunRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AUTOMATION_RUNS: + serviceImpl.listAutomationRuns( + (com.google.cloud.deploy.v1.ListAutomationRunsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CANCEL_AUTOMATION_RUN: + serviceImpl.cancelAutomationRun( + (com.google.cloud.deploy.v1.CancelAutomationRunRequest) 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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDeliveryPipelinesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse>( + service, METHODID_LIST_DELIVERY_PIPELINES))) + .addMethod( + getGetDeliveryPipelineMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest, + com.google.cloud.deploy.v1.DeliveryPipeline>( + service, METHODID_GET_DELIVERY_PIPELINE))) + .addMethod( + getCreateDeliveryPipelineMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_DELIVERY_PIPELINE))) + .addMethod( + getUpdateDeliveryPipelineMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DELIVERY_PIPELINE))) + .addMethod( + getDeleteDeliveryPipelineMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_DELIVERY_PIPELINE))) + .addMethod( + getListTargetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListTargetsRequest, + com.google.cloud.deploy.v1.ListTargetsResponse>( + service, METHODID_LIST_TARGETS))) + .addMethod( + getRollbackTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.RollbackTargetRequest, + com.google.cloud.deploy.v1.RollbackTargetResponse>( + service, METHODID_ROLLBACK_TARGET))) + .addMethod( + getGetTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetTargetRequest, com.google.cloud.deploy.v1.Target>( + service, METHODID_GET_TARGET))) + .addMethod( + getCreateTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateTargetRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_TARGET))) + .addMethod( + getUpdateTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.UpdateTargetRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_TARGET))) + .addMethod( + getDeleteTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.DeleteTargetRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_TARGET))) + .addMethod( + getListCustomTargetTypesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest, + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse>( + service, METHODID_LIST_CUSTOM_TARGET_TYPES))) + .addMethod( + getGetCustomTargetTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest, + com.google.cloud.deploy.v1.CustomTargetType>( + service, METHODID_GET_CUSTOM_TARGET_TYPE))) + .addMethod( + getCreateCustomTargetTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_CUSTOM_TARGET_TYPE))) + .addMethod( + getUpdateCustomTargetTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_CUSTOM_TARGET_TYPE))) + .addMethod( + getDeleteCustomTargetTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_CUSTOM_TARGET_TYPE))) + .addMethod( + getListReleasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListReleasesRequest, + com.google.cloud.deploy.v1.ListReleasesResponse>( + service, METHODID_LIST_RELEASES))) + .addMethod( + getGetReleaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetReleaseRequest, + com.google.cloud.deploy.v1.Release>(service, METHODID_GET_RELEASE))) + .addMethod( + getCreateReleaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateReleaseRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_RELEASE))) + .addMethod( + getAbandonReleaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.AbandonReleaseRequest, + com.google.cloud.deploy.v1.AbandonReleaseResponse>( + service, METHODID_ABANDON_RELEASE))) + .addMethod( + getApproveRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ApproveRolloutRequest, + com.google.cloud.deploy.v1.ApproveRolloutResponse>( + service, METHODID_APPROVE_ROLLOUT))) + .addMethod( + getAdvanceRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.AdvanceRolloutRequest, + com.google.cloud.deploy.v1.AdvanceRolloutResponse>( + service, METHODID_ADVANCE_ROLLOUT))) + .addMethod( + getCancelRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CancelRolloutRequest, + com.google.cloud.deploy.v1.CancelRolloutResponse>( + service, METHODID_CANCEL_ROLLOUT))) + .addMethod( + getListRolloutsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListRolloutsRequest, + com.google.cloud.deploy.v1.ListRolloutsResponse>( + service, METHODID_LIST_ROLLOUTS))) + .addMethod( + getGetRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetRolloutRequest, + com.google.cloud.deploy.v1.Rollout>(service, METHODID_GET_ROLLOUT))) + .addMethod( + getCreateRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateRolloutRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_ROLLOUT))) + .addMethod( + getIgnoreJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.IgnoreJobRequest, + com.google.cloud.deploy.v1.IgnoreJobResponse>(service, METHODID_IGNORE_JOB))) + .addMethod( + getRetryJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.RetryJobRequest, + com.google.cloud.deploy.v1.RetryJobResponse>(service, METHODID_RETRY_JOB))) + .addMethod( + getListJobRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListJobRunsRequest, + com.google.cloud.deploy.v1.ListJobRunsResponse>( + service, METHODID_LIST_JOB_RUNS))) + .addMethod( + getGetJobRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetJobRunRequest, com.google.cloud.deploy.v1.JobRun>( + service, METHODID_GET_JOB_RUN))) + .addMethod( + getTerminateJobRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.TerminateJobRunRequest, + com.google.cloud.deploy.v1.TerminateJobRunResponse>( + service, METHODID_TERMINATE_JOB_RUN))) + .addMethod( + getGetConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetConfigRequest, com.google.cloud.deploy.v1.Config>( + service, METHODID_GET_CONFIG))) + .addMethod( + getCreateAutomationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateAutomationRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_AUTOMATION))) + .addMethod( + getUpdateAutomationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.UpdateAutomationRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_AUTOMATION))) + .addMethod( + getDeleteAutomationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.DeleteAutomationRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_AUTOMATION))) + .addMethod( + getGetAutomationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetAutomationRequest, + com.google.cloud.deploy.v1.Automation>(service, METHODID_GET_AUTOMATION))) + .addMethod( + getListAutomationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListAutomationsRequest, + com.google.cloud.deploy.v1.ListAutomationsResponse>( + service, METHODID_LIST_AUTOMATIONS))) + .addMethod( + getGetAutomationRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetAutomationRunRequest, + com.google.cloud.deploy.v1.AutomationRun>( + service, METHODID_GET_AUTOMATION_RUN))) + .addMethod( + getListAutomationRunsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListAutomationRunsRequest, + com.google.cloud.deploy.v1.ListAutomationRunsResponse>( + service, METHODID_LIST_AUTOMATION_RUNS))) + .addMethod( + getCancelAutomationRunMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CancelAutomationRunRequest, + com.google.cloud.deploy.v1.CancelAutomationRunResponse>( + service, METHODID_CANCEL_AUTOMATION_RUN))) + .build(); + } + + private abstract static class CloudDeployBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CloudDeployBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CloudDeploy"); + } + } + + private static final class CloudDeployFileDescriptorSupplier + extends CloudDeployBaseDescriptorSupplier { + CloudDeployFileDescriptorSupplier() {} + } + + private static final class CloudDeployMethodDescriptorSupplier + extends CloudDeployBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + CloudDeployMethodDescriptorSupplier(java.lang.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 (CloudDeployGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudDeployFileDescriptorSupplier()) + .addMethod(getListDeliveryPipelinesMethod()) + .addMethod(getGetDeliveryPipelineMethod()) + .addMethod(getCreateDeliveryPipelineMethod()) + .addMethod(getUpdateDeliveryPipelineMethod()) + .addMethod(getDeleteDeliveryPipelineMethod()) + .addMethod(getListTargetsMethod()) + .addMethod(getRollbackTargetMethod()) + .addMethod(getGetTargetMethod()) + .addMethod(getCreateTargetMethod()) + .addMethod(getUpdateTargetMethod()) + .addMethod(getDeleteTargetMethod()) + .addMethod(getListCustomTargetTypesMethod()) + .addMethod(getGetCustomTargetTypeMethod()) + .addMethod(getCreateCustomTargetTypeMethod()) + .addMethod(getUpdateCustomTargetTypeMethod()) + .addMethod(getDeleteCustomTargetTypeMethod()) + .addMethod(getListReleasesMethod()) + .addMethod(getGetReleaseMethod()) + .addMethod(getCreateReleaseMethod()) + .addMethod(getAbandonReleaseMethod()) + .addMethod(getApproveRolloutMethod()) + .addMethod(getAdvanceRolloutMethod()) + .addMethod(getCancelRolloutMethod()) + .addMethod(getListRolloutsMethod()) + .addMethod(getGetRolloutMethod()) + .addMethod(getCreateRolloutMethod()) + .addMethod(getIgnoreJobMethod()) + .addMethod(getRetryJobMethod()) + .addMethod(getListJobRunsMethod()) + .addMethod(getGetJobRunMethod()) + .addMethod(getTerminateJobRunMethod()) + .addMethod(getGetConfigMethod()) + .addMethod(getCreateAutomationMethod()) + .addMethod(getUpdateAutomationMethod()) + .addMethod(getDeleteAutomationMethod()) + .addMethod(getGetAutomationMethod()) + .addMethod(getListAutomationsMethod()) + .addMethod(getGetAutomationRunMethod()) + .addMethod(getListAutomationRunsMethod()) + .addMethod(getCancelAutomationRunMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequest.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequest.java index e52b55825d31..84a95e13c818 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object used by `AbandonRelease`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AbandonReleaseRequest} */ -public final class AbandonReleaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AbandonReleaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AbandonReleaseRequest) AbandonReleaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AbandonReleaseRequest.newBuilder() to construct. private AbandonReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AbandonReleaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AbandonReleaseRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AbandonReleaseRequest.class, com.google.cloud.deploy.v1.AbandonReleaseRequest.Builder.class); + com.google.cloud.deploy.v1.AbandonReleaseRequest.class, + com.google.cloud.deploy.v1.AbandonReleaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the Release. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the Release. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.AbandonReleaseRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AbandonReleaseRequest other = (com.google.cloud.deploy.v1.AbandonReleaseRequest) obj; + com.google.cloud.deploy.v1.AbandonReleaseRequest other = + (com.google.cloud.deploy.v1.AbandonReleaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AbandonReleaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AbandonReleaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object used by `AbandonRelease`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AbandonReleaseRequest} */ - 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.cloud.deploy.v1.AbandonReleaseRequest) com.google.cloud.deploy.v1.AbandonReleaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AbandonReleaseRequest.class, com.google.cloud.deploy.v1.AbandonReleaseRequest.Builder.class); + com.google.cloud.deploy.v1.AbandonReleaseRequest.class, + com.google.cloud.deploy.v1.AbandonReleaseRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.AbandonReleaseRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.AbandonReleaseRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.AbandonReleaseRequest buildPartial() { - com.google.cloud.deploy.v1.AbandonReleaseRequest result = new com.google.cloud.deploy.v1.AbandonReleaseRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.AbandonReleaseRequest result = + new com.google.cloud.deploy.v1.AbandonReleaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AbandonReleaseRequest resu 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) { + 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) { + 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.cloud.deploy.v1.AbandonReleaseRequest) { - return mergeFrom((com.google.cloud.deploy.v1.AbandonReleaseRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.AbandonReleaseRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.AbandonReleaseRequest other) { - if (other == com.google.cloud.deploy.v1.AbandonReleaseRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.AbandonReleaseRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the Release. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Release. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Release. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the Release. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the Release. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AbandonReleaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AbandonReleaseRequest) private static final com.google.cloud.deploy.v1.AbandonReleaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AbandonReleaseRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.deploy.v1.AbandonReleaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AbandonReleaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AbandonReleaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AbandonReleaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequestOrBuilder.java new file mode 100644 index 000000000000..ae72b6697e73 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface AbandonReleaseRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AbandonReleaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the Release. Format is
+   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the Release. Format is
+   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponse.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponse.java index 191bd2e3655d..839609dcab0d 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object for `AbandonRelease`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AbandonReleaseResponse} */ -public final class AbandonReleaseResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AbandonReleaseResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AbandonReleaseResponse) AbandonReleaseResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AbandonReleaseResponse.newBuilder() to construct. private AbandonReleaseResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AbandonReleaseResponse() { - } + + private AbandonReleaseResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AbandonReleaseResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AbandonReleaseResponse.class, com.google.cloud.deploy.v1.AbandonReleaseResponse.Builder.class); + com.google.cloud.deploy.v1.AbandonReleaseResponse.class, + com.google.cloud.deploy.v1.AbandonReleaseResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.AbandonReleaseResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AbandonReleaseResponse other = (com.google.cloud.deploy.v1.AbandonReleaseResponse) obj; + com.google.cloud.deploy.v1.AbandonReleaseResponse other = + (com.google.cloud.deploy.v1.AbandonReleaseResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +116,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AbandonReleaseResponse 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.cloud.deploy.v1.AbandonReleaseResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AbandonReleaseResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AbandonReleaseResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object for `AbandonRelease`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AbandonReleaseResponse} */ - 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.cloud.deploy.v1.AbandonReleaseResponse) com.google.cloud.deploy.v1.AbandonReleaseResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AbandonReleaseResponse.class, com.google.cloud.deploy.v1.AbandonReleaseResponse.Builder.class); + com.google.cloud.deploy.v1.AbandonReleaseResponse.class, + com.google.cloud.deploy.v1.AbandonReleaseResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.AbandonReleaseResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.AbandonReleaseResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.AbandonReleaseResponse buildPartial() { - com.google.cloud.deploy.v1.AbandonReleaseResponse result = new com.google.cloud.deploy.v1.AbandonReleaseResponse(this); + com.google.cloud.deploy.v1.AbandonReleaseResponse result = + new com.google.cloud.deploy.v1.AbandonReleaseResponse(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.AbandonReleaseResponse 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) { + 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) { + 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.cloud.deploy.v1.AbandonReleaseResponse) { - return mergeFrom((com.google.cloud.deploy.v1.AbandonReleaseResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.AbandonReleaseResponse) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.AbandonReleaseResponse other) { - if (other == com.google.cloud.deploy.v1.AbandonReleaseResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.AbandonReleaseResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AbandonReleaseResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AbandonReleaseResponse) private static final com.google.cloud.deploy.v1.AbandonReleaseResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AbandonReleaseResponse(); } @@ -366,27 +393,27 @@ public static com.google.cloud.deploy.v1.AbandonReleaseResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AbandonReleaseResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AbandonReleaseResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AbandonReleaseResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponseOrBuilder.java new file mode 100644 index 000000000000..4dcb5914829e --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface AbandonReleaseResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AbandonReleaseResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJob.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJob.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJob.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJob.java index a85a0a9d8b70..d2c29522ecbf 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJob.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJob.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * An advanceChildRollout Job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceChildRolloutJob} */ -public final class AdvanceChildRolloutJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdvanceChildRolloutJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AdvanceChildRolloutJob) AdvanceChildRolloutJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdvanceChildRolloutJob.newBuilder() to construct. private AdvanceChildRolloutJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AdvanceChildRolloutJob() { - } + + private AdvanceChildRolloutJob() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdvanceChildRolloutJob(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceChildRolloutJob.class, com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder.class); + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.class, + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.AdvanceChildRolloutJob)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AdvanceChildRolloutJob other = (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) obj; + com.google.cloud.deploy.v1.AdvanceChildRolloutJob other = + (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +116,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob 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.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AdvanceChildRolloutJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An advanceChildRollout Job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceChildRolloutJob} */ - 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.cloud.deploy.v1.AdvanceChildRolloutJob) com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceChildRolloutJob.class, com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder.class); + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.class, + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder.class); } // Construct using com.google.cloud.deploy.v1.AdvanceChildRolloutJob.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJob build() { @java.lang.Override public com.google.cloud.deploy.v1.AdvanceChildRolloutJob buildPartial() { - com.google.cloud.deploy.v1.AdvanceChildRolloutJob result = new com.google.cloud.deploy.v1.AdvanceChildRolloutJob(this); + com.google.cloud.deploy.v1.AdvanceChildRolloutJob result = + new com.google.cloud.deploy.v1.AdvanceChildRolloutJob(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJob 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) { + 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) { + 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.cloud.deploy.v1.AdvanceChildRolloutJob) { - return mergeFrom((com.google.cloud.deploy.v1.AdvanceChildRolloutJob)other); + return mergeFrom((com.google.cloud.deploy.v1.AdvanceChildRolloutJob) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.AdvanceChildRolloutJob other) { - if (other == com.google.cloud.deploy.v1.AdvanceChildRolloutJob.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.AdvanceChildRolloutJob.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AdvanceChildRolloutJob) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AdvanceChildRolloutJob) private static final com.google.cloud.deploy.v1.AdvanceChildRolloutJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AdvanceChildRolloutJob(); } @@ -366,27 +393,27 @@ public static com.google.cloud.deploy.v1.AdvanceChildRolloutJob getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvanceChildRolloutJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvanceChildRolloutJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AdvanceChildRolloutJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobOrBuilder.java new file mode 100644 index 000000000000..e4edd939c0da --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface AdvanceChildRolloutJobOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceChildRolloutJob) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRun.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRun.java index 3d91789117ae..15402eee6977 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRun.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * AdvanceChildRolloutJobRun contains information specific to a
  * advanceChildRollout `JobRun`.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AdvanceChildRolloutJobRun}
  */
-public final class AdvanceChildRolloutJobRun extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AdvanceChildRolloutJobRun extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AdvanceChildRolloutJobRun)
     AdvanceChildRolloutJobRunOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AdvanceChildRolloutJobRun.newBuilder() to construct.
   private AdvanceChildRolloutJobRun(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AdvanceChildRolloutJobRun() {
     rollout_ = "";
     rolloutPhaseId_ = "";
@@ -27,34 +45,39 @@ private AdvanceChildRolloutJobRun() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AdvanceChildRolloutJobRun();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.class, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder.class);
+            com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.class,
+            com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder.class);
   }
 
   public static final int ROLLOUT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object rollout_ = "";
   /**
+   *
+   *
    * 
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ @java.lang.Override @@ -63,30 +86,30 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -95,14 +118,18 @@ public java.lang.String getRollout() { } public static final int ROLLOUT_PHASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutPhaseId_ = ""; /** + * + * *
    * Output only. the ID of the ChildRollout's Phase.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutPhaseId. */ @java.lang.Override @@ -111,29 +138,29 @@ public java.lang.String getRolloutPhaseId() { 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(); rolloutPhaseId_ = s; return s; } } /** + * + * *
    * Output only. the ID of the ChildRollout's Phase.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutPhaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutPhaseIdBytes() { + public com.google.protobuf.ByteString getRolloutPhaseIdBytes() { java.lang.Object ref = rolloutPhaseId_; 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); rolloutPhaseId_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getRolloutPhaseId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,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(rollout_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rollout_); } @@ -184,17 +211,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.cloud.deploy.v1.AdvanceChildRolloutJobRun)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun other = (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) obj; + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun other = + (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) obj; - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getRolloutPhaseId() - .equals(other.getRolloutPhaseId())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getRolloutPhaseId().equals(other.getRolloutPhaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,98 +242,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun 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.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AdvanceChildRolloutJobRun contains information specific to a
    * advanceChildRollout `JobRun`.
@@ -315,33 +346,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AdvanceChildRolloutJobRun}
    */
-  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.cloud.deploy.v1.AdvanceChildRolloutJobRun)
       com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.class, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder.class);
+              com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.class,
+              com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,9 +382,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor;
     }
 
     @java.lang.Override
@@ -373,8 +403,11 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun buildPartial() {
-      com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun result = new com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun result =
+          new com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -393,38 +426,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun
     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) {
+        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) {
+        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.cloud.deploy.v1.AdvanceChildRolloutJobRun) {
-        return mergeFrom((com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +466,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun other) {
-      if (other == com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.getDefaultInstance())
+        return this;
       if (!other.getRollout().isEmpty()) {
         rollout_ = other.rollout_;
         bitField0_ |= 0x00000001;
@@ -469,22 +504,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              rollout_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              rolloutPhaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                rollout_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                rolloutPhaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -494,23 +532,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object rollout_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -519,21 +560,22 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -541,30 +583,37 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -574,18 +623,22 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000001; @@ -595,18 +648,20 @@ public Builder setRolloutBytes( private java.lang.Object rolloutPhaseId_ = ""; /** + * + * *
      * Output only. the ID of the ChildRollout's Phase.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutPhaseId. */ public java.lang.String getRolloutPhaseId() { java.lang.Object ref = rolloutPhaseId_; 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(); rolloutPhaseId_ = s; return s; @@ -615,20 +670,21 @@ public java.lang.String getRolloutPhaseId() { } } /** + * + * *
      * Output only. the ID of the ChildRollout's Phase.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutPhaseId. */ - public com.google.protobuf.ByteString - getRolloutPhaseIdBytes() { + public com.google.protobuf.ByteString getRolloutPhaseIdBytes() { java.lang.Object ref = rolloutPhaseId_; 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); rolloutPhaseId_ = b; return b; } else { @@ -636,28 +692,35 @@ public java.lang.String getRolloutPhaseId() { } } /** + * + * *
      * Output only. the ID of the ChildRollout's Phase.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rolloutPhaseId to set. * @return This builder for chaining. */ - public Builder setRolloutPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutPhaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. the ID of the ChildRollout's Phase.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRolloutPhaseId() { @@ -667,26 +730,30 @@ public Builder clearRolloutPhaseId() { return this; } /** + * + * *
      * Output only. the ID of the ChildRollout's Phase.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rolloutPhaseId to set. * @return This builder for chaining. */ - public Builder setRolloutPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutPhaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -696,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AdvanceChildRolloutJobRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AdvanceChildRolloutJobRun) private static final com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun(); } @@ -710,27 +777,27 @@ public static com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvanceChildRolloutJobRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvanceChildRolloutJobRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,6 +812,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRunOrBuilder.java similarity index 64% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRunOrBuilder.java index 750a561d28ca..d2aa27599b35 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobRunOrBuilder.java @@ -1,51 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AdvanceChildRolloutJobRunOrBuilder extends +public interface AdvanceChildRolloutJobRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceChildRolloutJobRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * Output only. the ID of the ChildRollout's Phase.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutPhaseId. */ java.lang.String getRolloutPhaseId(); /** + * + * *
    * Output only. the ID of the ChildRollout's Phase.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutPhaseId. */ - com.google.protobuf.ByteString - getRolloutPhaseIdBytes(); + com.google.protobuf.ByteString getRolloutPhaseIdBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperation.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperation.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperation.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperation.java index 05b52be5f321..0a5f1aee7127 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperation.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperation.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Contains the information of an automated advance-rollout operation.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutOperation} */ -public final class AdvanceRolloutOperation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdvanceRolloutOperation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AdvanceRolloutOperation) AdvanceRolloutOperationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdvanceRolloutOperation.newBuilder() to construct. private AdvanceRolloutOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AdvanceRolloutOperation() { sourcePhase_ = ""; rollout_ = ""; @@ -27,33 +45,38 @@ private AdvanceRolloutOperation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdvanceRolloutOperation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceRolloutOperation.class, com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder.class); + com.google.cloud.deploy.v1.AdvanceRolloutOperation.class, + com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder.class); } public static final int SOURCE_PHASE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object sourcePhase_ = ""; /** + * + * *
    * Output only. The phase of a deployment that initiated the operation.
    * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sourcePhase. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getSourcePhase() { 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(); sourcePhase_ = s; return s; } } /** + * + * *
    * Output only. The phase of a deployment that initiated the operation.
    * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sourcePhase. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourcePhaseBytes() { + public com.google.protobuf.ByteString getSourcePhaseBytes() { java.lang.Object ref = sourcePhase_; 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); sourcePhase_ = b; return b; } else { @@ -95,11 +118,14 @@ public java.lang.String getSourcePhase() { public static final int WAIT_FIELD_NUMBER = 2; private com.google.protobuf.Duration wait_; /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ @java.lang.Override @@ -107,11 +133,14 @@ public boolean hasWait() { return wait_ != null; } /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ @java.lang.Override @@ -119,6 +148,8 @@ public com.google.protobuf.Duration getWait() { return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } /** + * + * *
    * Output only. How long the operation will be paused.
    * 
@@ -131,14 +162,18 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { } public static final int ROLLOUT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ @java.lang.Override @@ -147,29 +182,29 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -178,14 +213,18 @@ public java.lang.String getRollout() { } public static final int DESTINATION_PHASE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object destinationPhase_ = ""; /** + * + * *
    * Output only. The phase the rollout will be advanced to.
    * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationPhase. */ @java.lang.Override @@ -194,29 +233,29 @@ public java.lang.String getDestinationPhase() { 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(); destinationPhase_ = s; return s; } } /** + * + * *
    * Output only. The phase the rollout will be advanced to.
    * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationPhase. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -225,6 +264,7 @@ public java.lang.String getDestinationPhase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +276,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 (wait_ != null) { output.writeMessage(2, getWait()); } @@ -260,8 +299,7 @@ public int getSerializedSize() { size = 0; if (wait_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWait()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWait()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rollout_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, rollout_); @@ -280,24 +318,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.cloud.deploy.v1.AdvanceRolloutOperation)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AdvanceRolloutOperation other = (com.google.cloud.deploy.v1.AdvanceRolloutOperation) obj; + com.google.cloud.deploy.v1.AdvanceRolloutOperation other = + (com.google.cloud.deploy.v1.AdvanceRolloutOperation) obj; - if (!getSourcePhase() - .equals(other.getSourcePhase())) return false; + if (!getSourcePhase().equals(other.getSourcePhase())) return false; if (hasWait() != other.hasWait()) return false; if (hasWait()) { - if (!getWait() - .equals(other.getWait())) return false; + if (!getWait().equals(other.getWait())) return false; } - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getDestinationPhase() - .equals(other.getDestinationPhase())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getDestinationPhase().equals(other.getDestinationPhase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,131 +360,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AdvanceRolloutOperation 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.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutOperation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AdvanceRolloutOperation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains the information of an automated advance-rollout operation.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutOperation} */ - 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.cloud.deploy.v1.AdvanceRolloutOperation) com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceRolloutOperation.class, com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder.class); + com.google.cloud.deploy.v1.AdvanceRolloutOperation.class, + com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder.class); } // Construct using com.google.cloud.deploy.v1.AdvanceRolloutOperation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +505,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; } @java.lang.Override @@ -487,8 +526,11 @@ public com.google.cloud.deploy.v1.AdvanceRolloutOperation build() { @java.lang.Override public com.google.cloud.deploy.v1.AdvanceRolloutOperation buildPartial() { - com.google.cloud.deploy.v1.AdvanceRolloutOperation result = new com.google.cloud.deploy.v1.AdvanceRolloutOperation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.AdvanceRolloutOperation result = + new com.google.cloud.deploy.v1.AdvanceRolloutOperation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -499,9 +541,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.AdvanceRolloutOperation re result.sourcePhase_ = sourcePhase_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.wait_ = waitBuilder_ == null - ? wait_ - : waitBuilder_.build(); + result.wait_ = waitBuilder_ == null ? wait_ : waitBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.rollout_ = rollout_; @@ -515,38 +555,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AdvanceRolloutOperation re 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) { + 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) { + 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.cloud.deploy.v1.AdvanceRolloutOperation) { - return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutOperation)other); + return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutOperation) other); } else { super.mergeFrom(other); return this; @@ -554,7 +595,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.AdvanceRolloutOperation other) { - if (other == com.google.cloud.deploy.v1.AdvanceRolloutOperation.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.AdvanceRolloutOperation.getDefaultInstance()) + return this; if (!other.getSourcePhase().isEmpty()) { sourcePhase_ = other.sourcePhase_; bitField0_ |= 0x00000001; @@ -599,34 +641,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getWaitFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - rollout_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - destinationPhase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - sourcePhase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getWaitFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + rollout_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + destinationPhase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + sourcePhase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -636,22 +681,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object sourcePhase_ = ""; /** + * + * *
      * Output only. The phase of a deployment that initiated the operation.
      * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sourcePhase. */ public java.lang.String getSourcePhase() { java.lang.Object ref = sourcePhase_; 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(); sourcePhase_ = s; return s; @@ -660,20 +708,21 @@ public java.lang.String getSourcePhase() { } } /** + * + * *
      * Output only. The phase of a deployment that initiated the operation.
      * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sourcePhase. */ - public com.google.protobuf.ByteString - getSourcePhaseBytes() { + public com.google.protobuf.ByteString getSourcePhaseBytes() { java.lang.Object ref = sourcePhase_; 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); sourcePhase_ = b; return b; } else { @@ -681,28 +730,35 @@ public java.lang.String getSourcePhase() { } } /** + * + * *
      * Output only. The phase of a deployment that initiated the operation.
      * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sourcePhase to set. * @return This builder for chaining. */ - public Builder setSourcePhase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourcePhase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourcePhase_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The phase of a deployment that initiated the operation.
      * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSourcePhase() { @@ -712,17 +768,21 @@ public Builder clearSourcePhase() { return this; } /** + * + * *
      * Output only. The phase of a deployment that initiated the operation.
      * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for sourcePhase to set. * @return This builder for chaining. */ - public Builder setSourcePhaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourcePhaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourcePhase_ = value; bitField0_ |= 0x00000001; @@ -732,24 +792,33 @@ public Builder setSourcePhaseBytes( private com.google.protobuf.Duration wait_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> waitBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + waitBuilder_; /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ public boolean hasWait() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ public com.google.protobuf.Duration getWait() { @@ -760,6 +829,8 @@ public com.google.protobuf.Duration getWait() { } } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -780,14 +851,15 @@ public Builder setWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setWait( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setWait(com.google.protobuf.Duration.Builder builderForValue) { if (waitBuilder_ == null) { wait_ = builderForValue.build(); } else { @@ -798,6 +870,8 @@ public Builder setWait( return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -806,9 +880,9 @@ public Builder setWait( */ public Builder mergeWait(com.google.protobuf.Duration value) { if (waitBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - wait_ != null && - wait_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && wait_ != null + && wait_ != com.google.protobuf.Duration.getDefaultInstance()) { getWaitBuilder().mergeFrom(value); } else { wait_ = value; @@ -821,6 +895,8 @@ public Builder mergeWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -838,6 +914,8 @@ public Builder clearWait() { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -850,6 +928,8 @@ public com.google.protobuf.Duration.Builder getWaitBuilder() { return getWaitFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -860,11 +940,12 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { if (waitBuilder_ != null) { return waitBuilder_.getMessageOrBuilder(); } else { - return wait_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : wait_; + return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -872,14 +953,17 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getWaitFieldBuilder() { if (waitBuilder_ == null) { - waitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getWait(), - getParentForChildren(), - isClean()); + waitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getWait(), getParentForChildren(), isClean()); wait_ = null; } return waitBuilder_; @@ -887,18 +971,20 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { private java.lang.Object rollout_ = ""; /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -907,20 +993,21 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -928,28 +1015,35 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -959,17 +1053,21 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000004; @@ -979,18 +1077,20 @@ public Builder setRolloutBytes( private java.lang.Object destinationPhase_ = ""; /** + * + * *
      * Output only. The phase the rollout will be advanced to.
      * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationPhase. */ public java.lang.String getDestinationPhase() { java.lang.Object ref = destinationPhase_; 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(); destinationPhase_ = s; return s; @@ -999,20 +1099,21 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Output only. The phase the rollout will be advanced to.
      * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationPhase. */ - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -1020,28 +1121,35 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Output only. The phase the rollout will be advanced to.
      * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationPhase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The phase the rollout will be advanced to.
      * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDestinationPhase() { @@ -1051,26 +1159,30 @@ public Builder clearDestinationPhase() { return this; } /** + * + * *
      * Output only. The phase the rollout will be advanced to.
      * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationPhase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +1192,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AdvanceRolloutOperation) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AdvanceRolloutOperation) private static final com.google.cloud.deploy.v1.AdvanceRolloutOperation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AdvanceRolloutOperation(); } @@ -1094,27 +1206,27 @@ public static com.google.cloud.deploy.v1.AdvanceRolloutOperation getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvanceRolloutOperation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvanceRolloutOperation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,6 +1241,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AdvanceRolloutOperation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperationOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperationOrBuilder.java similarity index 73% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperationOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperationOrBuilder.java index 1209d6dfb72a..8b1d54a38146 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperationOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutOperationOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AdvanceRolloutOperationOrBuilder extends +public interface AdvanceRolloutOperationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceRolloutOperation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The phase of a deployment that initiated the operation.
    * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sourcePhase. */ java.lang.String getSourcePhase(); /** + * + * *
    * Output only. The phase of a deployment that initiated the operation.
    * 
* * string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sourcePhase. */ - com.google.protobuf.ByteString - getSourcePhaseBytes(); + com.google.protobuf.ByteString getSourcePhaseBytes(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ boolean hasWait(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ com.google.protobuf.Duration getWait(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
@@ -55,42 +84,52 @@ public interface AdvanceRolloutOperationOrBuilder extends com.google.protobuf.DurationOrBuilder getWaitOrBuilder(); /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * Output only. The phase the rollout will be advanced to.
    * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationPhase. */ java.lang.String getDestinationPhase(); /** + * + * *
    * Output only. The phase the rollout will be advanced to.
    * 
* * string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationPhase. */ - com.google.protobuf.ByteString - getDestinationPhaseBytes(); + com.google.protobuf.ByteString getDestinationPhaseBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequest.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequest.java index f63d8f98a1d2..80178a66cc9c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object used by `AdvanceRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutRequest} */ -public final class AdvanceRolloutRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdvanceRolloutRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AdvanceRolloutRequest) AdvanceRolloutRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdvanceRolloutRequest.newBuilder() to construct. private AdvanceRolloutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AdvanceRolloutRequest() { name_ = ""; phaseId_ = ""; @@ -26,34 +44,41 @@ private AdvanceRolloutRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdvanceRolloutRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceRolloutRequest.class, com.google.cloud.deploy.v1.AdvanceRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.AdvanceRolloutRequest.class, + com.google.cloud.deploy.v1.AdvanceRolloutRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,32 @@ 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. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -94,14 +121,18 @@ public java.lang.String getName() { } public static final int PHASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object phaseId_ = ""; /** + * + * *
    * Required. The phase ID to advance the `Rollout` to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ @java.lang.Override @@ -110,29 +141,29 @@ public java.lang.String getPhaseId() { 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(); phaseId_ = s; return s; } } /** + * + * *
    * Required. The phase ID to advance the `Rollout` to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -141,6 +172,7 @@ public java.lang.String getPhaseId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +184,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_); } @@ -183,17 +214,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.cloud.deploy.v1.AdvanceRolloutRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AdvanceRolloutRequest other = (com.google.cloud.deploy.v1.AdvanceRolloutRequest) obj; + com.google.cloud.deploy.v1.AdvanceRolloutRequest other = + (com.google.cloud.deploy.v1.AdvanceRolloutRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPhaseId() - .equals(other.getPhaseId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPhaseId().equals(other.getPhaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -214,132 +244,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AdvanceRolloutRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object used by `AdvanceRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutRequest} */ - 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.cloud.deploy.v1.AdvanceRolloutRequest) com.google.cloud.deploy.v1.AdvanceRolloutRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceRolloutRequest.class, com.google.cloud.deploy.v1.AdvanceRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.AdvanceRolloutRequest.class, + com.google.cloud.deploy.v1.AdvanceRolloutRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.AdvanceRolloutRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; } @java.lang.Override @@ -371,8 +405,11 @@ public com.google.cloud.deploy.v1.AdvanceRolloutRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.AdvanceRolloutRequest buildPartial() { - com.google.cloud.deploy.v1.AdvanceRolloutRequest result = new com.google.cloud.deploy.v1.AdvanceRolloutRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.AdvanceRolloutRequest result = + new com.google.cloud.deploy.v1.AdvanceRolloutRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -391,38 +428,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AdvanceRolloutRequest resu 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) { + 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) { + 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.cloud.deploy.v1.AdvanceRolloutRequest) { - return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutRequest) other); } else { super.mergeFrom(other); return this; @@ -430,7 +468,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.AdvanceRolloutRequest other) { - if (other == com.google.cloud.deploy.v1.AdvanceRolloutRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.AdvanceRolloutRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -467,22 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - phaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + phaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -492,23 +534,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -517,21 +564,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -539,30 +589,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -572,18 +633,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -593,18 +660,20 @@ public Builder setNameBytes( private java.lang.Object phaseId_ = ""; /** + * + * *
      * Required. The phase ID to advance the `Rollout` to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ public java.lang.String getPhaseId() { java.lang.Object ref = phaseId_; 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(); phaseId_ = s; return s; @@ -613,20 +682,21 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Required. The phase ID to advance the `Rollout` to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -634,28 +704,35 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Required. The phase ID to advance the `Rollout` to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The phase ID to advance the `Rollout` to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPhaseId() { @@ -665,26 +742,30 @@ public Builder clearPhaseId() { return this; } /** + * + * *
      * Required. The phase ID to advance the `Rollout` to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -694,12 +775,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AdvanceRolloutRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AdvanceRolloutRequest) private static final com.google.cloud.deploy.v1.AdvanceRolloutRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AdvanceRolloutRequest(); } @@ -708,27 +789,27 @@ public static com.google.cloud.deploy.v1.AdvanceRolloutRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvanceRolloutRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvanceRolloutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -743,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AdvanceRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequestOrBuilder.java index 919df5d68b6a..fa7fef674074 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AdvanceRolloutRequestOrBuilder extends +public interface AdvanceRolloutRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceRolloutRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The phase ID to advance the `Rollout` to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ java.lang.String getPhaseId(); /** + * + * *
    * Required. The phase ID to advance the `Rollout` to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + com.google.protobuf.ByteString getPhaseIdBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponse.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponse.java index abf8bd4c0a83..0cad8a5634b0 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `AdvanceRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutResponse} */ -public final class AdvanceRolloutResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdvanceRolloutResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AdvanceRolloutResponse) AdvanceRolloutResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdvanceRolloutResponse.newBuilder() to construct. private AdvanceRolloutResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AdvanceRolloutResponse() { - } + + private AdvanceRolloutResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdvanceRolloutResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceRolloutResponse.class, com.google.cloud.deploy.v1.AdvanceRolloutResponse.Builder.class); + com.google.cloud.deploy.v1.AdvanceRolloutResponse.class, + com.google.cloud.deploy.v1.AdvanceRolloutResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.AdvanceRolloutResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AdvanceRolloutResponse other = (com.google.cloud.deploy.v1.AdvanceRolloutResponse) obj; + com.google.cloud.deploy.v1.AdvanceRolloutResponse other = + (com.google.cloud.deploy.v1.AdvanceRolloutResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +116,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AdvanceRolloutResponse 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.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AdvanceRolloutResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `AdvanceRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutResponse} */ - 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.cloud.deploy.v1.AdvanceRolloutResponse) com.google.cloud.deploy.v1.AdvanceRolloutResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AdvanceRolloutResponse.class, com.google.cloud.deploy.v1.AdvanceRolloutResponse.Builder.class); + com.google.cloud.deploy.v1.AdvanceRolloutResponse.class, + com.google.cloud.deploy.v1.AdvanceRolloutResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.AdvanceRolloutResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.AdvanceRolloutResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.AdvanceRolloutResponse buildPartial() { - com.google.cloud.deploy.v1.AdvanceRolloutResponse result = new com.google.cloud.deploy.v1.AdvanceRolloutResponse(this); + com.google.cloud.deploy.v1.AdvanceRolloutResponse result = + new com.google.cloud.deploy.v1.AdvanceRolloutResponse(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.AdvanceRolloutResponse 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) { + 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) { + 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.cloud.deploy.v1.AdvanceRolloutResponse) { - return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutResponse) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.AdvanceRolloutResponse other) { - if (other == com.google.cloud.deploy.v1.AdvanceRolloutResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.AdvanceRolloutResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AdvanceRolloutResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AdvanceRolloutResponse) private static final com.google.cloud.deploy.v1.AdvanceRolloutResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AdvanceRolloutResponse(); } @@ -366,27 +393,27 @@ public static com.google.cloud.deploy.v1.AdvanceRolloutResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvanceRolloutResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvanceRolloutResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AdvanceRolloutResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponseOrBuilder.java new file mode 100644 index 000000000000..6f9d88a5e602 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface AdvanceRolloutResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceRolloutResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRule.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRule.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRule.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRule.java index 9717a7d1341d..12aa311aca18 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRule.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRule.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The `AdvanceRollout` automation rule will automatically advance a successful
  * Rollout to the next phase.
@@ -11,51 +28,56 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutRule}
  */
-public final class AdvanceRolloutRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AdvanceRolloutRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AdvanceRolloutRule)
     AdvanceRolloutRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AdvanceRolloutRule.newBuilder() to construct.
   private AdvanceRolloutRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AdvanceRolloutRule() {
     id_ = "";
-    sourcePhases_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AdvanceRolloutRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AdvanceRolloutRule.class, com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder.class);
+            com.google.cloud.deploy.v1.AdvanceRolloutRule.class,
+            com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
+   *
+   *
    * 
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -64,30 +86,30 @@ public java.lang.String getId() { 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(); id_ = s; return s; } } /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -96,10 +118,13 @@ public java.lang.String getId() { } public static final int SOURCE_PHASES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -109,13 +134,15 @@ public java.lang.String getId() {
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourcePhases. */ - public com.google.protobuf.ProtocolStringList - getSourcePhasesList() { + public com.google.protobuf.ProtocolStringList getSourcePhasesList() { return sourcePhases_; } /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -125,12 +152,15 @@ public java.lang.String getId() {
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourcePhases. */ public int getSourcePhasesCount() { return sourcePhases_.size(); } /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -140,6 +170,7 @@ public int getSourcePhasesCount() {
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourcePhases at the given index. */ @@ -147,6 +178,8 @@ public java.lang.String getSourcePhases(int index) { return sourcePhases_.get(index); } /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -156,22 +189,25 @@ public java.lang.String getSourcePhases(int index) {
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourcePhases at the given index. */ - public com.google.protobuf.ByteString - getSourcePhasesBytes(int index) { + public com.google.protobuf.ByteString getSourcePhasesBytes(int index) { return sourcePhases_.getByteString(index); } public static final int WAIT_FIELD_NUMBER = 3; private com.google.protobuf.Duration wait_; /** + * + * *
    * Optional. How long to wait after a rollout is finished.
    * 
* * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ @java.lang.Override @@ -179,11 +215,14 @@ public boolean hasWait() { return wait_ != null; } /** + * + * *
    * Optional. How long to wait after a rollout is finished.
    * 
* * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ @java.lang.Override @@ -191,6 +230,8 @@ public com.google.protobuf.Duration getWait() { return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } /** + * + * *
    * Optional. How long to wait after a rollout is finished.
    * 
@@ -205,11 +246,16 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { public static final int CONDITION_FIELD_NUMBER = 5; private com.google.cloud.deploy.v1.AutomationRuleCondition condition_; /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ @java.lang.Override @@ -217,30 +263,44 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRuleCondition getCondition() { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder() { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +312,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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -279,12 +338,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (wait_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getWait()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWait()); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCondition()); } { int dataSize = 0; @@ -302,26 +359,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.cloud.deploy.v1.AdvanceRolloutRule)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AdvanceRolloutRule other = (com.google.cloud.deploy.v1.AdvanceRolloutRule) obj; + com.google.cloud.deploy.v1.AdvanceRolloutRule other = + (com.google.cloud.deploy.v1.AdvanceRolloutRule) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getSourcePhasesList() - .equals(other.getSourcePhasesList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getSourcePhasesList().equals(other.getSourcePhasesList())) return false; if (hasWait() != other.hasWait()) return false; if (hasWait()) { - if (!getWait() - .equals(other.getWait())) return false; + if (!getWait().equals(other.getWait())) return false; } if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -353,99 +407,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AdvanceRolloutRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AdvanceRolloutRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The `AdvanceRollout` automation rule will automatically advance a successful
    * Rollout to the next phase.
@@ -453,40 +512,38 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AdvanceRolloutRule}
    */
-  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.cloud.deploy.v1.AdvanceRolloutRule)
       com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AdvanceRolloutRule.class, com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder.class);
+              com.google.cloud.deploy.v1.AdvanceRolloutRule.class,
+              com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AdvanceRolloutRule.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       id_ = "";
-      sourcePhases_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList();
       wait_ = null;
       if (waitBuilder_ != null) {
         waitBuilder_.dispose();
@@ -501,9 +558,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor;
     }
 
     @java.lang.Override
@@ -522,8 +579,11 @@ public com.google.cloud.deploy.v1.AdvanceRolloutRule build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AdvanceRolloutRule buildPartial() {
-      com.google.cloud.deploy.v1.AdvanceRolloutRule result = new com.google.cloud.deploy.v1.AdvanceRolloutRule(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.AdvanceRolloutRule result =
+          new com.google.cloud.deploy.v1.AdvanceRolloutRule(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -538,14 +598,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.AdvanceRolloutRule result)
         result.sourcePhases_ = sourcePhases_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.wait_ = waitBuilder_ == null
-            ? wait_
-            : waitBuilder_.build();
+        result.wait_ = waitBuilder_ == null ? wait_ : waitBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.condition_ = conditionBuilder_ == null
-            ? condition_
-            : conditionBuilder_.build();
+        result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
       }
     }
 
@@ -553,38 +609,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AdvanceRolloutRule result)
     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) {
+        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) {
+        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.cloud.deploy.v1.AdvanceRolloutRule) {
-        return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutRule)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AdvanceRolloutRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -640,37 +697,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              input.readMessage(
-                  getWaitFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 42: {
-              input.readMessage(
-                  getConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureSourcePhasesIsMutable();
-              sourcePhases_.add(s);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                input.readMessage(getWaitFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 42:
+              {
+                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureSourcePhasesIsMutable();
+                sourcePhases_.add(s);
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -680,23 +738,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
+     *
+     *
      * 
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; @@ -705,21 +766,22 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -727,30 +789,37 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { @@ -760,18 +829,22 @@ public Builder clearId() { return this; } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -781,6 +854,7 @@ public Builder setIdBytes( private com.google.protobuf.LazyStringArrayList sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSourcePhasesIsMutable() { if (!sourcePhases_.isModifiable()) { sourcePhases_ = new com.google.protobuf.LazyStringArrayList(sourcePhases_); @@ -788,6 +862,8 @@ private void ensureSourcePhasesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -797,14 +873,16 @@ private void ensureSourcePhasesIsMutable() {
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourcePhases. */ - public com.google.protobuf.ProtocolStringList - getSourcePhasesList() { + public com.google.protobuf.ProtocolStringList getSourcePhasesList() { sourcePhases_.makeImmutable(); return sourcePhases_; } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -814,12 +892,15 @@ private void ensureSourcePhasesIsMutable() {
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourcePhases. */ public int getSourcePhasesCount() { return sourcePhases_.size(); } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -829,6 +910,7 @@ public int getSourcePhasesCount() {
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourcePhases at the given index. */ @@ -836,6 +918,8 @@ public java.lang.String getSourcePhases(int index) { return sourcePhases_.get(index); } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -845,14 +929,16 @@ public java.lang.String getSourcePhases(int index) {
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourcePhases at the given index. */ - public com.google.protobuf.ByteString - getSourcePhasesBytes(int index) { + public com.google.protobuf.ByteString getSourcePhasesBytes(int index) { return sourcePhases_.getByteString(index); } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -862,13 +948,15 @@ public java.lang.String getSourcePhases(int index) {
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The sourcePhases to set. * @return This builder for chaining. */ - public Builder setSourcePhases( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourcePhases(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSourcePhasesIsMutable(); sourcePhases_.set(index, value); bitField0_ |= 0x00000002; @@ -876,6 +964,8 @@ public Builder setSourcePhases( return this; } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -885,12 +975,14 @@ public Builder setSourcePhases(
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sourcePhases to add. * @return This builder for chaining. */ - public Builder addSourcePhases( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSourcePhases(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSourcePhasesIsMutable(); sourcePhases_.add(value); bitField0_ |= 0x00000002; @@ -898,6 +990,8 @@ public Builder addSourcePhases( return this; } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -907,19 +1001,20 @@ public Builder addSourcePhases(
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The sourcePhases to add. * @return This builder for chaining. */ - public Builder addAllSourcePhases( - java.lang.Iterable values) { + public Builder addAllSourcePhases(java.lang.Iterable values) { ensureSourcePhasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sourcePhases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sourcePhases_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -929,16 +1024,19 @@ public Builder addAllSourcePhases(
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSourcePhases() { - sourcePhases_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Optional. Proceeds only after phase name matched any one in the list.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -948,12 +1046,14 @@ public Builder clearSourcePhases() {
      * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the sourcePhases to add. * @return This builder for chaining. */ - public Builder addSourcePhasesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSourcePhasesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSourcePhasesIsMutable(); sourcePhases_.add(value); @@ -964,24 +1064,33 @@ public Builder addSourcePhasesBytes( private com.google.protobuf.Duration wait_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> waitBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + waitBuilder_; /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
* * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ public boolean hasWait() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
* * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ public com.google.protobuf.Duration getWait() { @@ -992,6 +1101,8 @@ public com.google.protobuf.Duration getWait() { } } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
@@ -1012,14 +1123,15 @@ public Builder setWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
* * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setWait( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setWait(com.google.protobuf.Duration.Builder builderForValue) { if (waitBuilder_ == null) { wait_ = builderForValue.build(); } else { @@ -1030,6 +1142,8 @@ public Builder setWait( return this; } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
@@ -1038,9 +1152,9 @@ public Builder setWait( */ public Builder mergeWait(com.google.protobuf.Duration value) { if (waitBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - wait_ != null && - wait_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && wait_ != null + && wait_ != com.google.protobuf.Duration.getDefaultInstance()) { getWaitBuilder().mergeFrom(value); } else { wait_ = value; @@ -1053,6 +1167,8 @@ public Builder mergeWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
@@ -1070,6 +1186,8 @@ public Builder clearWait() { return this; } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
@@ -1082,6 +1200,8 @@ public com.google.protobuf.Duration.Builder getWaitBuilder() { return getWaitFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
@@ -1092,11 +1212,12 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { if (waitBuilder_ != null) { return waitBuilder_.getMessageOrBuilder(); } else { - return wait_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : wait_; + return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } } /** + * + * *
      * Optional. How long to wait after a rollout is finished.
      * 
@@ -1104,14 +1225,17 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; */ 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> getWaitFieldBuilder() { if (waitBuilder_ == null) { - waitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getWait(), - getParentForChildren(), - isClean()); + waitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getWait(), getParentForChildren(), isClean()); wait_ = null; } return waitBuilder_; @@ -1119,39 +1243,58 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { private com.google.cloud.deploy.v1.AutomationRuleCondition condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> conditionBuilder_; + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> + conditionBuilder_; /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ public boolean hasCondition() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ public com.google.cloud.deploy.v1.AutomationRuleCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } else { return conditionBuilder_.getMessage(); } } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition(com.google.cloud.deploy.v1.AutomationRuleCondition value) { if (conditionBuilder_ == null) { @@ -1167,11 +1310,15 @@ public Builder setCondition(com.google.cloud.deploy.v1.AutomationRuleCondition v return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition( com.google.cloud.deploy.v1.AutomationRuleCondition.Builder builderForValue) { @@ -1185,17 +1332,22 @@ public Builder setCondition( return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCondition(com.google.cloud.deploy.v1.AutomationRuleCondition value) { if (conditionBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - condition_ != null && - condition_ != com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && condition_ != null + && condition_ + != com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance()) { getConditionBuilder().mergeFrom(value); } else { condition_ = value; @@ -1208,11 +1360,15 @@ public Builder mergeCondition(com.google.cloud.deploy.v1.AutomationRuleCondition return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCondition() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1225,11 +1381,15 @@ public Builder clearCondition() { return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRuleCondition.Builder getConditionBuilder() { bitField0_ |= 0x00000008; @@ -1237,43 +1397,55 @@ public com.google.cloud.deploy.v1.AutomationRuleCondition.Builder getConditionBu return getConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { - return condition_ == null ? - com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { - conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder>( - getCondition(), - getParentForChildren(), - isClean()); + conditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder>( + getCondition(), getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1283,12 +1455,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AdvanceRolloutRule) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AdvanceRolloutRule) private static final com.google.cloud.deploy.v1.AdvanceRolloutRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AdvanceRolloutRule(); } @@ -1297,27 +1469,27 @@ public static com.google.cloud.deploy.v1.AdvanceRolloutRule getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvanceRolloutRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvanceRolloutRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,6 +1504,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AdvanceRolloutRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRuleOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRuleOrBuilder.java similarity index 76% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRuleOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRuleOrBuilder.java index 5a8f9d555db0..61b447682177 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRuleOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutRuleOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AdvanceRolloutRuleOrBuilder extends +public interface AdvanceRolloutRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceRolloutRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -39,11 +62,13 @@ public interface AdvanceRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourcePhases. */ - java.util.List - getSourcePhasesList(); + java.util.List getSourcePhasesList(); /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -53,10 +78,13 @@ public interface AdvanceRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourcePhases. */ int getSourcePhasesCount(); /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -66,11 +94,14 @@ public interface AdvanceRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourcePhases at the given index. */ java.lang.String getSourcePhases(int index); /** + * + * *
    * Optional. Proceeds only after phase name matched any one in the list.
    * This value must consist of lower-case letters, numbers, and hyphens,
@@ -80,31 +111,39 @@ public interface AdvanceRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourcePhases at the given index. */ - com.google.protobuf.ByteString - getSourcePhasesBytes(int index); + com.google.protobuf.ByteString getSourcePhasesBytes(int index); /** + * + * *
    * Optional. How long to wait after a rollout is finished.
    * 
* * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ boolean hasWait(); /** + * + * *
    * Optional. How long to wait after a rollout is finished.
    * 
* * .google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ com.google.protobuf.Duration getWait(); /** + * + * *
    * Optional. How long to wait after a rollout is finished.
    * 
@@ -114,29 +153,43 @@ public interface AdvanceRolloutRuleOrBuilder extends com.google.protobuf.DurationOrBuilder getWaitOrBuilder(); /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ com.google.cloud.deploy.v1.AutomationRuleCondition getCondition(); /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosCluster.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosCluster.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosCluster.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosCluster.java index 538a7ab653e0..b54ce283c288 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosCluster.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosCluster.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Information specifying an Anthos Cluster.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AnthosCluster} */ -public final class AnthosCluster extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnthosCluster extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AnthosCluster) AnthosClusterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnthosCluster.newBuilder() to construct. private AnthosCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnthosCluster() { membership_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnthosCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AnthosCluster.class, com.google.cloud.deploy.v1.AnthosCluster.Builder.class); + com.google.cloud.deploy.v1.AnthosCluster.class, + com.google.cloud.deploy.v1.AnthosCluster.Builder.class); } public static final int MEMBERSHIP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object membership_ = ""; /** + * + * *
    * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
    * configuration. Format is
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @return The membership. */ @java.lang.Override @@ -62,14 +85,15 @@ public java.lang.String getMembership() { 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(); membership_ = s; return s; } } /** + * + * *
    * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
    * configuration. Format is
@@ -77,16 +101,15 @@ public java.lang.String getMembership() {
    * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for membership. */ @java.lang.Override - public com.google.protobuf.ByteString - getMembershipBytes() { + public com.google.protobuf.ByteString getMembershipBytes() { java.lang.Object ref = membership_; 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); membership_ = b; return b; } else { @@ -95,6 +118,7 @@ public java.lang.String getMembership() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +130,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(membership_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, membership_); } @@ -131,15 +154,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.cloud.deploy.v1.AnthosCluster)) { return super.equals(obj); } com.google.cloud.deploy.v1.AnthosCluster other = (com.google.cloud.deploy.v1.AnthosCluster) obj; - if (!getMembership() - .equals(other.getMembership())) return false; + if (!getMembership().equals(other.getMembership())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,132 +180,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AnthosCluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AnthosCluster parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AnthosCluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AnthosCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AnthosCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information specifying an Anthos Cluster.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AnthosCluster} */ - 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.cloud.deploy.v1.AnthosCluster) com.google.cloud.deploy.v1.AnthosClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AnthosCluster.class, com.google.cloud.deploy.v1.AnthosCluster.Builder.class); + com.google.cloud.deploy.v1.AnthosCluster.class, + com.google.cloud.deploy.v1.AnthosCluster.Builder.class); } // Construct using com.google.cloud.deploy.v1.AnthosCluster.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; } @java.lang.Override @@ -314,8 +340,11 @@ public com.google.cloud.deploy.v1.AnthosCluster build() { @java.lang.Override public com.google.cloud.deploy.v1.AnthosCluster buildPartial() { - com.google.cloud.deploy.v1.AnthosCluster result = new com.google.cloud.deploy.v1.AnthosCluster(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.AnthosCluster result = + new com.google.cloud.deploy.v1.AnthosCluster(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,38 +360,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AnthosCluster result) { 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) { + 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) { + 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.cloud.deploy.v1.AnthosCluster) { - return mergeFrom((com.google.cloud.deploy.v1.AnthosCluster)other); + return mergeFrom((com.google.cloud.deploy.v1.AnthosCluster) other); } else { super.mergeFrom(other); return this; @@ -402,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - membership_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + membership_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,10 +454,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object membership_ = ""; /** + * + * *
      * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
      * configuration. Format is
@@ -433,13 +468,13 @@ public Builder mergeFrom(
      * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @return The membership. */ public java.lang.String getMembership() { java.lang.Object ref = membership_; 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(); membership_ = s; return s; @@ -448,6 +483,8 @@ public java.lang.String getMembership() { } } /** + * + * *
      * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
      * configuration. Format is
@@ -455,15 +492,14 @@ public java.lang.String getMembership() {
      * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for membership. */ - public com.google.protobuf.ByteString - getMembershipBytes() { + public com.google.protobuf.ByteString getMembershipBytes() { java.lang.Object ref = membership_; 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); membership_ = b; return b; } else { @@ -471,6 +507,8 @@ public java.lang.String getMembership() { } } /** + * + * *
      * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
      * configuration. Format is
@@ -478,18 +516,22 @@ public java.lang.String getMembership() {
      * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @param value The membership to set. * @return This builder for chaining. */ - public Builder setMembership( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMembership(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } membership_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
      * configuration. Format is
@@ -497,6 +539,7 @@ public Builder setMembership(
      * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearMembership() { @@ -506,6 +549,8 @@ public Builder clearMembership() { return this; } /** + * + * *
      * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
      * configuration. Format is
@@ -513,21 +558,23 @@ public Builder clearMembership() {
      * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for membership to set. * @return This builder for chaining. */ - public Builder setMembershipBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMembershipBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); membership_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,12 +584,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AnthosCluster) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AnthosCluster) private static final com.google.cloud.deploy.v1.AnthosCluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AnthosCluster(); } @@ -551,27 +598,27 @@ public static com.google.cloud.deploy.v1.AnthosCluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnthosCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnthosCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AnthosCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosClusterOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosClusterOrBuilder.java similarity index 58% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosClusterOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosClusterOrBuilder.java index 1cc4fa0f9c7e..77d8b94dc1e5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosClusterOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AnthosClusterOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AnthosClusterOrBuilder extends +public interface AnthosClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AnthosCluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
    * configuration. Format is
@@ -15,10 +33,13 @@ public interface AnthosClusterOrBuilder extends
    * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @return The membership. */ java.lang.String getMembership(); /** + * + * *
    * Membership of the GKE Hub-registered cluster to which to apply the Skaffold
    * configuration. Format is
@@ -26,8 +47,8 @@ public interface AnthosClusterOrBuilder extends
    * 
* * string membership = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for membership. */ - com.google.protobuf.ByteString - getMembershipBytes(); + com.google.protobuf.ByteString getMembershipBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java similarity index 64% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java index dd3e530f3e2b..eecbc44b3c05 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object used by `ApproveRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ApproveRolloutRequest} */ -public final class ApproveRolloutRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ApproveRolloutRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ApproveRolloutRequest) ApproveRolloutRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApproveRolloutRequest.newBuilder() to construct. private ApproveRolloutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ApproveRolloutRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApproveRolloutRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ApproveRolloutRequest.class, com.google.cloud.deploy.v1.ApproveRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.ApproveRolloutRequest.class, + com.google.cloud.deploy.v1.ApproveRolloutRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -95,11 +122,14 @@ public java.lang.String getName() { public static final int APPROVED_FIELD_NUMBER = 2; private boolean approved_ = false; /** + * + * *
    * Required. True = approve; false = reject
    * 
* * bool approved = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The approved. */ @java.lang.Override @@ -108,6 +138,7 @@ public boolean getApproved() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +150,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_); } @@ -140,8 +170,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (approved_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, approved_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, approved_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +180,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.cloud.deploy.v1.ApproveRolloutRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ApproveRolloutRequest other = (com.google.cloud.deploy.v1.ApproveRolloutRequest) obj; + com.google.cloud.deploy.v1.ApproveRolloutRequest other = + (com.google.cloud.deploy.v1.ApproveRolloutRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getApproved() - != other.getApproved()) return false; + if (!getName().equals(other.getName())) return false; + if (getApproved() != other.getApproved()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,139 +204,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + APPROVED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getApproved()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getApproved()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ApproveRolloutRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ApproveRolloutRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object used by `ApproveRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ApproveRolloutRequest} */ - 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.cloud.deploy.v1.ApproveRolloutRequest) com.google.cloud.deploy.v1.ApproveRolloutRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ApproveRolloutRequest.class, com.google.cloud.deploy.v1.ApproveRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.ApproveRolloutRequest.class, + com.google.cloud.deploy.v1.ApproveRolloutRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ApproveRolloutRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; } @java.lang.Override @@ -340,8 +371,11 @@ public com.google.cloud.deploy.v1.ApproveRolloutRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ApproveRolloutRequest buildPartial() { - com.google.cloud.deploy.v1.ApproveRolloutRequest result = new com.google.cloud.deploy.v1.ApproveRolloutRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ApproveRolloutRequest result = + new com.google.cloud.deploy.v1.ApproveRolloutRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -360,38 +394,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ApproveRolloutRequest resu 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) { + 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) { + 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.cloud.deploy.v1.ApproveRolloutRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ApproveRolloutRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ApproveRolloutRequest) other); } else { super.mergeFrom(other); return this; @@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ApproveRolloutRequest other) { - if (other == com.google.cloud.deploy.v1.ApproveRolloutRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ApproveRolloutRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -434,22 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - approved_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + approved_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,23 +498,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -484,21 +528,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -506,30 +553,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -539,18 +597,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -558,13 +622,16 @@ public Builder setNameBytes( return this; } - private boolean approved_ ; + private boolean approved_; /** + * + * *
      * Required. True = approve; false = reject
      * 
* * bool approved = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The approved. */ @java.lang.Override @@ -572,11 +639,14 @@ public boolean getApproved() { return approved_; } /** + * + * *
      * Required. True = approve; false = reject
      * 
* * bool approved = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The approved to set. * @return This builder for chaining. */ @@ -588,11 +658,14 @@ public Builder setApproved(boolean value) { return this; } /** + * + * *
      * Required. True = approve; false = reject
      * 
* * bool approved = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearApproved() { @@ -601,9 +674,9 @@ public Builder clearApproved() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +686,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ApproveRolloutRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ApproveRolloutRequest) private static final com.google.cloud.deploy.v1.ApproveRolloutRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ApproveRolloutRequest(); } @@ -627,27 +700,27 @@ public static com.google.cloud.deploy.v1.ApproveRolloutRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApproveRolloutRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApproveRolloutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,6 +735,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ApproveRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java index 81ccf4a529cb..548fa5226a92 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java @@ -1,40 +1,68 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ApproveRolloutRequestOrBuilder extends +public interface ApproveRolloutRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ApproveRolloutRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. True = approve; false = reject
    * 
* * bool approved = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The approved. */ boolean getApproved(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java index fd81e778102e..4acb67a995eb 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `ApproveRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ApproveRolloutResponse} */ -public final class ApproveRolloutResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ApproveRolloutResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ApproveRolloutResponse) ApproveRolloutResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApproveRolloutResponse.newBuilder() to construct. private ApproveRolloutResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ApproveRolloutResponse() { - } + + private ApproveRolloutResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApproveRolloutResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ApproveRolloutResponse.class, com.google.cloud.deploy.v1.ApproveRolloutResponse.Builder.class); + com.google.cloud.deploy.v1.ApproveRolloutResponse.class, + com.google.cloud.deploy.v1.ApproveRolloutResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.ApproveRolloutResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ApproveRolloutResponse other = (com.google.cloud.deploy.v1.ApproveRolloutResponse) obj; + com.google.cloud.deploy.v1.ApproveRolloutResponse other = + (com.google.cloud.deploy.v1.ApproveRolloutResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +116,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ApproveRolloutResponse 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.cloud.deploy.v1.ApproveRolloutResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ApproveRolloutResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ApproveRolloutResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `ApproveRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ApproveRolloutResponse} */ - 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.cloud.deploy.v1.ApproveRolloutResponse) com.google.cloud.deploy.v1.ApproveRolloutResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ApproveRolloutResponse.class, com.google.cloud.deploy.v1.ApproveRolloutResponse.Builder.class); + com.google.cloud.deploy.v1.ApproveRolloutResponse.class, + com.google.cloud.deploy.v1.ApproveRolloutResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ApproveRolloutResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.ApproveRolloutResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ApproveRolloutResponse buildPartial() { - com.google.cloud.deploy.v1.ApproveRolloutResponse result = new com.google.cloud.deploy.v1.ApproveRolloutResponse(this); + com.google.cloud.deploy.v1.ApproveRolloutResponse result = + new com.google.cloud.deploy.v1.ApproveRolloutResponse(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.ApproveRolloutResponse 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) { + 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) { + 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.cloud.deploy.v1.ApproveRolloutResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ApproveRolloutResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ApproveRolloutResponse) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ApproveRolloutResponse other) { - if (other == com.google.cloud.deploy.v1.ApproveRolloutResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ApproveRolloutResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ApproveRolloutResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ApproveRolloutResponse) private static final com.google.cloud.deploy.v1.ApproveRolloutResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ApproveRolloutResponse(); } @@ -366,27 +393,27 @@ public static com.google.cloud.deploy.v1.ApproveRolloutResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApproveRolloutResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApproveRolloutResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ApproveRolloutResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java new file mode 100644 index 000000000000..9c4f30ad3653 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface ApproveRolloutResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ApproveRolloutResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Automation.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Automation.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Automation.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Automation.java index 4b7b0dbd88a9..fba31ed432e8 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Automation.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Automation.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * An `Automation` resource in the Cloud Deploy API.
  *
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.Automation}
  */
-public final class Automation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Automation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Automation)
     AutomationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Automation.newBuilder() to construct.
   private Automation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Automation() {
     name_ = "";
     uid_ = "";
@@ -36,48 +54,52 @@ private Automation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Automation();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Automation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Automation_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 6:
         return internalGetAnnotations();
       case 7:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.Automation.class, com.google.cloud.deploy.v1.Automation.Builder.class);
+            com.google.cloud.deploy.v1.Automation.class,
+            com.google.cloud.deploy.v1.Automation.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Name of the `Automation`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -86,30 +108,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; } } /** + * + * *
    * Output only. Name of the `Automation`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -118,14 +140,18 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. Unique identifier of the `Automation`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -134,29 +160,29 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier of the `Automation`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -165,14 +191,18 @@ public java.lang.String getUid() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the `Automation`. Max length is 255 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -181,29 +211,29 @@ 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; } } /** + * + * *
    * Optional. Description of the `Automation`. Max length is 255 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -214,11 +244,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time at which the automation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -226,11 +260,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the automation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -238,11 +276,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the automation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -252,11 +293,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Time at which the automation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -264,11 +309,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time at which the automation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -276,11 +325,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time at which the automation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -288,32 +340,35 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ANNOTATIONS_FIELD_NUMBER = 6; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -334,23 +389,25 @@ public int getAnnotationsCount() {
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -371,13 +428,16 @@ public java.util.Map getAnnotations() {
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -398,20 +458,23 @@ public java.util.Map getAnnotationsMap() {
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -432,14 +495,15 @@ java.lang.String getAnnotationsOrDefault(
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -447,32 +511,34 @@ public java.lang.String getAnnotationsOrThrow( } public static final int LABELS_FIELD_NUMBER = 7; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -490,20 +556,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -525,6 +592,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -542,17 +611,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -570,11 +641,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -582,9 +653,12 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ETAG_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object etag_ = "";
   /**
+   *
+   *
    * 
    * Optional. The weak etag of the `Automation` resource.
    * This checksum is computed by the server based on the value of other
@@ -593,6 +667,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -601,14 +676,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Optional. The weak etag of the `Automation` resource.
    * This checksum is computed by the server based on the value of other
@@ -617,16 +693,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -637,11 +712,14 @@ public java.lang.String getEtag() { public static final int SUSPENDED_FIELD_NUMBER = 9; private boolean suspended_ = false; /** + * + * *
    * Optional. When Suspended, automation is deactivated from execution.
    * 
* * bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The suspended. */ @java.lang.Override @@ -650,15 +728,19 @@ public boolean getSuspended() { } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Required. Email address of the user-managed IAM service account that
    * creates Cloud Deploy release and rollout resources.
    * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ @java.lang.Override @@ -667,30 +749,30 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * Required. Email address of the user-managed IAM service account that
    * creates Cloud Deploy release and rollout resources.
    * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -701,11 +783,16 @@ public java.lang.String getServiceAccount() { public static final int SELECTOR_FIELD_NUMBER = 11; private com.google.cloud.deploy.v1.AutomationResourceSelector selector_; /** + * + * *
    * Required. Selected resources to which the automation will be applied.
    * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the selector field is set. */ @java.lang.Override @@ -713,33 +800,49 @@ public boolean hasSelector() { return selector_ != null; } /** + * + * *
    * Required. Selected resources to which the automation will be applied.
    * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The selector. */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationResourceSelector getSelector() { - return selector_ == null ? com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() : selector_; + return selector_ == null + ? com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() + : selector_; } /** + * + * *
    * Required. Selected resources to which the automation will be applied.
    * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder getSelectorOrBuilder() { - return selector_ == null ? com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() : selector_; + return selector_ == null + ? com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() + : selector_; } public static final int RULES_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -747,13 +850,17 @@ public com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder getSelecto
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -761,14 +868,18 @@ public java.util.List getRulesList()
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -776,13 +887,17 @@ public java.util.List getRulesList()
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -790,13 +905,17 @@ public int getRulesCount() {
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRule getRules(int index) { return rules_.get(index); } /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -804,15 +923,17 @@ public com.google.cloud.deploy.v1.AutomationRule getRules(int index) {
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder(int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -824,8 +945,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_); } @@ -841,18 +961,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 6); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, etag_); } @@ -887,50 +999,45 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, annotations__); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, annotations__); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, suspended_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, suspended_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, serviceAccount_); } if (selector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getSelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSelector()); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, rules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -940,46 +1047,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.Automation)) { return super.equals(obj); } com.google.cloud.deploy.v1.Automation other = (com.google.cloud.deploy.v1.Automation) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getSuspended() - != other.getSuspended()) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getSuspended() != other.getSuspended()) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasSelector() != other.hasSelector()) return false; if (hasSelector()) { - if (!getSelector() - .equals(other.getSelector())) return false; + if (!getSelector().equals(other.getSelector())) return false; } - if (!getRulesList() - .equals(other.getRulesList())) return false; + if (!getRulesList().equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1016,8 +1111,7 @@ public int hashCode() { hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getServiceAccount().hashCode(); if (hasSelector()) { @@ -1033,99 +1127,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Automation parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Automation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Automation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Automation parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Automation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Automation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Automation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Automation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Automation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Automation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Automation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Automation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Automation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Automation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Automation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An `Automation` resource in the Cloud Deploy API.
    *
@@ -1138,59 +1236,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.Automation}
    */
-  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.cloud.deploy.v1.Automation)
       com.google.cloud.deploy.v1.AutomationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Automation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Automation_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 6:
           return internalGetAnnotations();
         case 7:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 6:
           return internalGetMutableAnnotations();
         case 7:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.Automation.class, com.google.cloud.deploy.v1.Automation.Builder.class);
+              com.google.cloud.deploy.v1.Automation.class,
+              com.google.cloud.deploy.v1.Automation.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.Automation.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1229,9 +1324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Automation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Automation_descriptor;
     }
 
     @java.lang.Override
@@ -1250,9 +1345,12 @@ public com.google.cloud.deploy.v1.Automation build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.Automation buildPartial() {
-      com.google.cloud.deploy.v1.Automation result = new com.google.cloud.deploy.v1.Automation(this);
+      com.google.cloud.deploy.v1.Automation result =
+          new com.google.cloud.deploy.v1.Automation(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1281,14 +1379,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.Automation result) {
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.annotations_ = internalGetAnnotations();
@@ -1308,9 +1402,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.Automation result) {
         result.serviceAccount_ = serviceAccount_;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.selector_ = selectorBuilder_ == null
-            ? selector_
-            : selectorBuilder_.build();
+        result.selector_ = selectorBuilder_ == null ? selector_ : selectorBuilder_.build();
       }
     }
 
@@ -1318,38 +1410,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Automation result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.Automation) {
-        return mergeFrom((com.google.cloud.deploy.v1.Automation)other);
+        return mergeFrom((com.google.cloud.deploy.v1.Automation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1379,11 +1472,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Automation other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00000020;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
@@ -1419,9 +1510,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Automation other) {
             rulesBuilder_ = null;
             rules_ = other.rules_;
             bitField0_ = (bitField0_ & ~0x00000800);
-            rulesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRulesFieldBuilder() : null;
+            rulesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRulesFieldBuilder()
+                    : null;
           } else {
             rulesBuilder_.addAllMessages(other.rules_);
           }
@@ -1453,94 +1545,104 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 72: {
-              suspended_ = input.readBool();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              serviceAccount_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getSelectorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 90
-            case 114: {
-              com.google.cloud.deploy.v1.AutomationRule m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.AutomationRule.parser(),
-                      extensionRegistry);
-              if (rulesBuilder_ == null) {
-                ensureRulesIsMutable();
-                rules_.add(m);
-              } else {
-                rulesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 114
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 72:
+              {
+                suspended_ = input.readBool();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getSelectorFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 90
+            case 114:
+              {
+                com.google.cloud.deploy.v1.AutomationRule m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.AutomationRule.parser(), extensionRegistry);
+                if (rulesBuilder_ == null) {
+                  ensureRulesIsMutable();
+                  rules_.add(m);
+                } else {
+                  rulesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 114
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1550,23 +1652,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the `Automation`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -1575,21 +1680,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Automation`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -1597,30 +1703,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Automation`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Automation`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1630,18 +1743,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the `Automation`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1651,18 +1768,20 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Unique identifier of the `Automation`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -1671,20 +1790,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Automation`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -1692,28 +1812,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Automation`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier of the `Automation`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1723,17 +1850,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. Unique identifier of the `Automation`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1743,18 +1874,20 @@ public Builder setUidBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the `Automation`. Max length is 255 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1763,20 +1896,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the `Automation`. Max length is 255 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1784,28 +1918,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the `Automation`. Max length is 255 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Description of the `Automation`. Max length is 255 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1815,17 +1956,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the `Automation`. Max length is 255 characters.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1835,39 +1980,58 @@ public Builder setDescriptionBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1883,14 +2047,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1901,17 +2068,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1924,11 +2095,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1941,11 +2116,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1953,36 +2132,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the automation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1990,39 +2181,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2038,14 +2248,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2056,17 +2269,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2079,11 +2296,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2096,11 +2317,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -2108,43 +2333,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Time at which the automation was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -2153,11 +2390,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -2166,10 +2404,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -2190,23 +2431,25 @@ public int getAnnotationsCount() {
      * for more details.
      * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -2227,13 +2470,16 @@ public java.util.Map getAnnotations() {
      * for more details.
      * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -2254,20 +2500,23 @@ public java.util.Map getAnnotationsMap() {
      * for more details.
      * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -2288,26 +2537,29 @@ java.lang.String getAnnotationsOrDefault(
      * for more details.
      * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -2328,25 +2580,25 @@ public Builder clearAnnotations() {
      * for more details.
      * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00000020; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -2367,19 +2619,23 @@ public Builder removeAnnotations(
      * for more details.
      * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -2400,31 +2656,28 @@ public Builder putAnnotations(
      * for more details.
      * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2433,10 +2686,13 @@ public Builder putAllAnnotations( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2454,20 +2710,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2489,6 +2746,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2506,17 +2765,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2534,23 +2795,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000040);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2567,23 +2830,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2600,17 +2862,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000040;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2627,16 +2892,16 @@ public Builder putLabels(
      *
      * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000040;
       return this;
     }
 
     private java.lang.Object etag_ = "";
     /**
+     *
+     *
      * 
      * Optional. The weak etag of the `Automation` resource.
      * This checksum is computed by the server based on the value of other
@@ -2645,13 +2910,13 @@ public Builder putAllLabels(
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -2660,6 +2925,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The weak etag of the `Automation` resource.
      * This checksum is computed by the server based on the value of other
@@ -2668,15 +2935,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -2684,6 +2950,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The weak etag of the `Automation` resource.
      * This checksum is computed by the server based on the value of other
@@ -2692,18 +2960,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional. The weak etag of the `Automation` resource.
      * This checksum is computed by the server based on the value of other
@@ -2712,6 +2984,7 @@ public Builder setEtag(
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2721,6 +2994,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The weak etag of the `Automation` resource.
      * This checksum is computed by the server based on the value of other
@@ -2729,12 +3004,14 @@ public Builder clearEtag() {
      * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000080; @@ -2742,13 +3019,16 @@ public Builder setEtagBytes( return this; } - private boolean suspended_ ; + private boolean suspended_; /** + * + * *
      * Optional. When Suspended, automation is deactivated from execution.
      * 
* * bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The suspended. */ @java.lang.Override @@ -2756,11 +3036,14 @@ public boolean getSuspended() { return suspended_; } /** + * + * *
      * Optional. When Suspended, automation is deactivated from execution.
      * 
* * bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The suspended to set. * @return This builder for chaining. */ @@ -2772,11 +3055,14 @@ public Builder setSuspended(boolean value) { return this; } /** + * + * *
      * Optional. When Suspended, automation is deactivated from execution.
      * 
* * bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSuspended() { @@ -2788,19 +3074,21 @@ public Builder clearSuspended() { private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Required. Email address of the user-managed IAM service account that
      * creates Cloud Deploy release and rollout resources.
      * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2809,21 +3097,22 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Required. Email address of the user-managed IAM service account that
      * creates Cloud Deploy release and rollout resources.
      * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2831,30 +3120,37 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Required. Email address of the user-managed IAM service account that
      * creates Cloud Deploy release and rollout resources.
      * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Required. Email address of the user-managed IAM service account that
      * creates Cloud Deploy release and rollout resources.
      * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -2864,18 +3160,22 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Required. Email address of the user-managed IAM service account that
      * creates Cloud Deploy release and rollout resources.
      * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000200; @@ -2885,39 +3185,58 @@ public Builder setServiceAccountBytes( private com.google.cloud.deploy.v1.AutomationResourceSelector selector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationResourceSelector, com.google.cloud.deploy.v1.AutomationResourceSelector.Builder, com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder> selectorBuilder_; + com.google.cloud.deploy.v1.AutomationResourceSelector, + com.google.cloud.deploy.v1.AutomationResourceSelector.Builder, + com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder> + selectorBuilder_; /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the selector field is set. */ public boolean hasSelector() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The selector. */ public com.google.cloud.deploy.v1.AutomationResourceSelector getSelector() { if (selectorBuilder_ == null) { - return selector_ == null ? com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() : selector_; + return selector_ == null + ? com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() + : selector_; } else { return selectorBuilder_.getMessage(); } } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSelector(com.google.cloud.deploy.v1.AutomationResourceSelector value) { if (selectorBuilder_ == null) { @@ -2933,11 +3252,15 @@ public Builder setSelector(com.google.cloud.deploy.v1.AutomationResourceSelector return this; } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSelector( com.google.cloud.deploy.v1.AutomationResourceSelector.Builder builderForValue) { @@ -2951,17 +3274,22 @@ public Builder setSelector( return this; } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSelector(com.google.cloud.deploy.v1.AutomationResourceSelector value) { if (selectorBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - selector_ != null && - selector_ != com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && selector_ != null + && selector_ + != com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance()) { getSelectorBuilder().mergeFrom(value); } else { selector_ = value; @@ -2974,11 +3302,15 @@ public Builder mergeSelector(com.google.cloud.deploy.v1.AutomationResourceSelect return this; } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSelector() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2991,11 +3323,15 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.AutomationResourceSelector.Builder getSelectorBuilder() { bitField0_ |= 0x00000400; @@ -3003,54 +3339,72 @@ public com.google.cloud.deploy.v1.AutomationResourceSelector.Builder getSelector return getSelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder getSelectorOrBuilder() { if (selectorBuilder_ != null) { return selectorBuilder_.getMessageOrBuilder(); } else { - return selector_ == null ? - com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() : selector_; + return selector_ == null + ? com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance() + : selector_; } } /** + * + * *
      * Required. Selected resources to which the automation will be applied.
      * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationResourceSelector, com.google.cloud.deploy.v1.AutomationResourceSelector.Builder, com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder> + com.google.cloud.deploy.v1.AutomationResourceSelector, + com.google.cloud.deploy.v1.AutomationResourceSelector.Builder, + com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder> getSelectorFieldBuilder() { if (selectorBuilder_ == null) { - selectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationResourceSelector, com.google.cloud.deploy.v1.AutomationResourceSelector.Builder, com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder>( - getSelector(), - getParentForChildren(), - isClean()); + selectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AutomationResourceSelector, + com.google.cloud.deploy.v1.AutomationResourceSelector.Builder, + com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder>( + getSelector(), getParentForChildren(), isClean()); selector_ = null; } return selectorBuilder_; } private java.util.List rules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRule, com.google.cloud.deploy.v1.AutomationRule.Builder, com.google.cloud.deploy.v1.AutomationRuleOrBuilder> rulesBuilder_; + com.google.cloud.deploy.v1.AutomationRule, + com.google.cloud.deploy.v1.AutomationRule.Builder, + com.google.cloud.deploy.v1.AutomationRuleOrBuilder> + rulesBuilder_; /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3058,7 +3412,9 @@ private void ensureRulesIsMutable() {
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -3068,6 +3424,8 @@ public java.util.List getRulesList() } } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3075,7 +3433,9 @@ public java.util.List getRulesList()
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -3085,6 +3445,8 @@ public int getRulesCount() { } } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3092,7 +3454,9 @@ public int getRulesCount() {
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.AutomationRule getRules(int index) { if (rulesBuilder_ == null) { @@ -3102,6 +3466,8 @@ public com.google.cloud.deploy.v1.AutomationRule getRules(int index) { } } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3109,10 +3475,11 @@ public com.google.cloud.deploy.v1.AutomationRule getRules(int index) {
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRules( - int index, com.google.cloud.deploy.v1.AutomationRule value) { + public Builder setRules(int index, com.google.cloud.deploy.v1.AutomationRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3126,6 +3493,8 @@ public Builder setRules( return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3133,7 +3502,9 @@ public Builder setRules(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRules( int index, com.google.cloud.deploy.v1.AutomationRule.Builder builderForValue) { @@ -3147,6 +3518,8 @@ public Builder setRules( return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3154,7 +3527,9 @@ public Builder setRules(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRules(com.google.cloud.deploy.v1.AutomationRule value) { if (rulesBuilder_ == null) { @@ -3170,6 +3545,8 @@ public Builder addRules(com.google.cloud.deploy.v1.AutomationRule value) { return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3177,10 +3554,11 @@ public Builder addRules(com.google.cloud.deploy.v1.AutomationRule value) {
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRules( - int index, com.google.cloud.deploy.v1.AutomationRule value) { + public Builder addRules(int index, com.google.cloud.deploy.v1.AutomationRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3194,6 +3572,8 @@ public Builder addRules( return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3201,10 +3581,11 @@ public Builder addRules(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRules( - com.google.cloud.deploy.v1.AutomationRule.Builder builderForValue) { + public Builder addRules(com.google.cloud.deploy.v1.AutomationRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -3215,6 +3596,8 @@ public Builder addRules( return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3222,7 +3605,9 @@ public Builder addRules(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRules( int index, com.google.cloud.deploy.v1.AutomationRule.Builder builderForValue) { @@ -3236,6 +3621,8 @@ public Builder addRules( return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3243,14 +3630,15 @@ public Builder addRules(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -3258,6 +3646,8 @@ public Builder addAllRules( return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3265,7 +3655,9 @@ public Builder addAllRules(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -3278,6 +3670,8 @@ public Builder clearRules() { return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3285,7 +3679,9 @@ public Builder clearRules() {
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -3298,6 +3694,8 @@ public Builder removeRules(int index) { return this; } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3305,13 +3703,16 @@ public Builder removeRules(int index) {
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.AutomationRule.Builder getRulesBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationRule.Builder getRulesBuilder(int index) { return getRulesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3319,16 +3720,20 @@ public com.google.cloud.deploy.v1.AutomationRule.Builder getRulesBuilder(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder(int index) { if (rulesBuilder_ == null) { - return rules_.get(index); } else { + return rules_.get(index); + } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3336,10 +3741,12 @@ public com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -3347,6 +3754,8 @@ public com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3354,13 +3763,17 @@ public com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.AutomationRule.Builder addRulesBuilder() { - return getRulesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.AutomationRule.getDefaultInstance()); + return getRulesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.AutomationRule.getDefaultInstance()); } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3368,14 +3781,17 @@ public com.google.cloud.deploy.v1.AutomationRule.Builder addRulesBuilder() {
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.AutomationRule.Builder addRulesBuilder( - int index) { - return getRulesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.AutomationRule.getDefaultInstance()); + public com.google.cloud.deploy.v1.AutomationRule.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.AutomationRule.getDefaultInstance()); } /** + * + * *
      * Required. List of Automation rules associated with the Automation resource.
      * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -3383,29 +3799,33 @@ public com.google.cloud.deploy.v1.AutomationRule.Builder addRulesBuilder(
      * execution.
      * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRulesBuilderList() { + public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRule, com.google.cloud.deploy.v1.AutomationRule.Builder, com.google.cloud.deploy.v1.AutomationRuleOrBuilder> + com.google.cloud.deploy.v1.AutomationRule, + com.google.cloud.deploy.v1.AutomationRule.Builder, + com.google.cloud.deploy.v1.AutomationRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRule, com.google.cloud.deploy.v1.AutomationRule.Builder, com.google.cloud.deploy.v1.AutomationRuleOrBuilder>( - rules_, - ((bitField0_ & 0x00000800) != 0), - getParentForChildren(), - isClean()); + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.AutomationRule, + com.google.cloud.deploy.v1.AutomationRule.Builder, + com.google.cloud.deploy.v1.AutomationRuleOrBuilder>( + rules_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3415,12 +3835,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Automation) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Automation) private static final com.google.cloud.deploy.v1.Automation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Automation(); } @@ -3429,27 +3849,27 @@ public static com.google.cloud.deploy.v1.Automation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Automation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Automation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3464,6 +3884,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Automation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEvent.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEvent.java index b84fc180dc4c..ed7dc3fd2e04 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/automation_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/automation"
  * Platform Log event that describes the Automation related events.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AutomationEvent}
  */
-public final class AutomationEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomationEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AutomationEvent)
     AutomationEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomationEvent.newBuilder() to construct.
   private AutomationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomationEvent() {
     message_ = "";
     automation_ = "";
@@ -29,34 +47,39 @@ private AutomationEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomationEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.AutomationPayloadProto.internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.AutomationPayloadProto
+        .internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.AutomationPayloadProto.internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.AutomationPayloadProto
+        .internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AutomationEvent.class, com.google.cloud.deploy.v1.AutomationEvent.Builder.class);
+            com.google.cloud.deploy.v1.AutomationEvent.class,
+            com.google.cloud.deploy.v1.AutomationEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -65,30 +88,30 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -97,14 +120,18 @@ public java.lang.String getMessage() { } public static final int AUTOMATION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object automation_ = ""; /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation = 2; + * * @return The automation. */ @java.lang.Override @@ -113,29 +140,29 @@ public java.lang.String getAutomation() { 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(); automation_ = s; return s; } } /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation = 2; + * * @return The bytes for automation. */ @java.lang.Override - public com.google.protobuf.ByteString - getAutomationBytes() { + public com.google.protobuf.ByteString getAutomationBytes() { java.lang.Object ref = automation_; 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); automation_ = b; return b; } else { @@ -144,14 +171,18 @@ public java.lang.String getAutomation() { } public static final int PIPELINE_UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ @java.lang.Override @@ -160,29 +191,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -193,30 +224,39 @@ public java.lang.String getPipelineUid() { public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +268,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -261,8 +300,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pipelineUid_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -272,19 +310,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.cloud.deploy.v1.AutomationEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AutomationEvent other = (com.google.cloud.deploy.v1.AutomationEvent) obj; - - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getAutomation() - .equals(other.getAutomation())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; + com.google.cloud.deploy.v1.AutomationEvent other = + (com.google.cloud.deploy.v1.AutomationEvent) obj; + + if (!getMessage().equals(other.getMessage())) return false; + if (!getAutomation().equals(other.getAutomation())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -310,99 +346,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AutomationEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AutomationEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AutomationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/automation"
    * Platform Log event that describes the Automation related events.
@@ -410,33 +451,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AutomationEvent}
    */
-  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.cloud.deploy.v1.AutomationEvent)
       com.google.cloud.deploy.v1.AutomationEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.AutomationPayloadProto.internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.AutomationPayloadProto
+          .internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.AutomationPayloadProto.internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.AutomationPayloadProto
+          .internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AutomationEvent.class, com.google.cloud.deploy.v1.AutomationEvent.Builder.class);
+              com.google.cloud.deploy.v1.AutomationEvent.class,
+              com.google.cloud.deploy.v1.AutomationEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AutomationEvent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -449,9 +489,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.AutomationPayloadProto.internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.AutomationPayloadProto
+          .internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor;
     }
 
     @java.lang.Override
@@ -470,8 +510,11 @@ public com.google.cloud.deploy.v1.AutomationEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AutomationEvent buildPartial() {
-      com.google.cloud.deploy.v1.AutomationEvent result = new com.google.cloud.deploy.v1.AutomationEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.AutomationEvent result =
+          new com.google.cloud.deploy.v1.AutomationEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -496,38 +539,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationEvent result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.AutomationEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.AutomationEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AutomationEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -580,32 +624,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              automation_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                automation_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -615,23 +664,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -640,21 +692,22 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -662,30 +715,37 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -695,18 +755,22 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -716,18 +780,20 @@ public Builder setMessageBytes( private java.lang.Object automation_ = ""; /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation = 2; + * * @return The automation. */ public java.lang.String getAutomation() { java.lang.Object ref = automation_; 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(); automation_ = s; return s; @@ -736,20 +802,21 @@ public java.lang.String getAutomation() { } } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation = 2; + * * @return The bytes for automation. */ - public com.google.protobuf.ByteString - getAutomationBytes() { + public com.google.protobuf.ByteString getAutomationBytes() { java.lang.Object ref = automation_; 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); automation_ = b; return b; } else { @@ -757,28 +824,35 @@ public java.lang.String getAutomation() { } } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation = 2; + * * @param value The automation to set. * @return This builder for chaining. */ - public Builder setAutomation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } automation_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation = 2; + * * @return This builder for chaining. */ public Builder clearAutomation() { @@ -788,17 +862,21 @@ public Builder clearAutomation() { return this; } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation = 2; + * * @param value The bytes for automation to set. * @return This builder for chaining. */ - public Builder setAutomationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); automation_ = value; bitField0_ |= 0x00000002; @@ -808,18 +886,20 @@ public Builder setAutomationBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -828,20 +908,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -849,28 +930,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -880,17 +968,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000004; @@ -900,22 +992,29 @@ public Builder setPipelineUidBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -926,11 +1025,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @return The type. */ @java.lang.Override @@ -939,11 +1041,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @param value The type to set. * @return This builder for chaining. */ @@ -957,11 +1062,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @return This builder for chaining. */ public Builder clearType() { @@ -970,9 +1078,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -982,12 +1090,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AutomationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AutomationEvent) private static final com.google.cloud.deploy.v1.AutomationEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AutomationEvent(); } @@ -996,27 +1104,27 @@ public static com.google.cloud.deploy.v1.AutomationEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1031,6 +1139,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AutomationEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEventOrBuilder.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEventOrBuilder.java index 45c7d70a28cc..9efa418b611b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationEventOrBuilder.java @@ -1,89 +1,126 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/automation_payload.proto package com.google.cloud.deploy.v1; -public interface AutomationEventOrBuilder extends +public interface AutomationEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation = 2; + * * @return The automation. */ java.lang.String getAutomation(); /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation = 2; + * * @return The bytes for automation. */ - com.google.protobuf.ByteString - getAutomationBytes(); + com.google.protobuf.ByteString getAutomationBytes(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 4; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationOrBuilder.java similarity index 81% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationOrBuilder.java index df5ef5e1f99c..e75ec2edf9c4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationOrBuilder.java @@ -1,129 +1,184 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AutomationOrBuilder extends +public interface AutomationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Automation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the `Automation`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the `Automation`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Unique identifier of the `Automation`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Unique identifier of the `Automation`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Optional. Description of the `Automation`. Max length is 255 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the `Automation`. Max length is 255 characters.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Time at which the automation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the automation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the automation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the automation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time at which the automation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time at which the automation was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -144,10 +199,13 @@ public interface AutomationOrBuilder extends
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -168,17 +226,16 @@ public interface AutomationOrBuilder extends
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -199,11 +256,13 @@ boolean containsAnnotations(
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -224,14 +283,17 @@ boolean containsAnnotations(
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. Annotations must meet the following
@@ -252,12 +314,14 @@ java.lang.String getAnnotationsOrDefault(
    * for more details.
    * 
* - * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -276,6 +340,8 @@ java.lang.String getAnnotationsOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -292,15 +358,13 @@ java.lang.String getAnnotationsOrThrow(
    *
    * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -317,9 +381,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -337,11 +402,13 @@ boolean containsLabels(
    * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -358,10 +425,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Optional. The weak etag of the `Automation` resource.
    * This checksum is computed by the server based on the value of other
@@ -370,10 +438,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The weak etag of the `Automation` resource.
    * This checksum is computed by the server based on the value of other
@@ -382,71 +453,95 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. When Suspended, automation is deactivated from execution.
    * 
* * bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The suspended. */ boolean getSuspended(); /** + * + * *
    * Required. Email address of the user-managed IAM service account that
    * creates Cloud Deploy release and rollout resources.
    * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Required. Email address of the user-managed IAM service account that
    * creates Cloud Deploy release and rollout resources.
    * 
* * string service_account = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Required. Selected resources to which the automation will be applied.
    * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the selector field is set. */ boolean hasSelector(); /** + * + * *
    * Required. Selected resources to which the automation will be applied.
    * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The selector. */ com.google.cloud.deploy.v1.AutomationResourceSelector getSelector(); /** + * + * *
    * Required. Selected resources to which the automation will be applied.
    * 
* - * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder getSelectorOrBuilder(); /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -454,11 +549,14 @@ java.lang.String getLabelsOrThrow(
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRulesList(); + java.util.List getRulesList(); /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -466,10 +564,14 @@ java.lang.String getLabelsOrThrow(
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.AutomationRule getRules(int index); /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -477,10 +579,14 @@ java.lang.String getLabelsOrThrow(
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRulesCount(); /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -488,11 +594,15 @@ java.lang.String getLabelsOrThrow(
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRulesOrBuilderList(); /** + * + * *
    * Required. List of Automation rules associated with the Automation resource.
    * Must have at least one rule and limited to 250 rules per Delivery Pipeline.
@@ -500,8 +610,9 @@ java.lang.String getLabelsOrThrow(
    * execution.
    * 
* - * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder( - int index); + com.google.cloud.deploy.v1.AutomationRuleOrBuilder getRulesOrBuilder(int index); } diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationPayloadProto.java new file mode 100644 index 000000000000..124e445991de --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationPayloadProto.java @@ -0,0 +1,71 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/automation_payload.proto + +package com.google.cloud.deploy.v1; + +public final class AutomationPayloadProto { + private AutomationPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/deploy/v1/automation_payl" + + "oad.proto\022\026google.cloud.deploy.v1\032&googl" + + "e/cloud/deploy/v1/log_enums.proto\"x\n\017Aut" + + "omationEvent\022\017\n\007message\030\001 \001(\t\022\022\n\nautomat" + + "ion\030\002 \001(\t\022\024\n\014pipeline_uid\030\003 \001(\t\022*\n\004type\030" + + "\004 \001(\0162\034.google.cloud.deploy.v1.TypeBj\n\032c" + + "om.google.cloud.deploy.v1B\026AutomationPay" + + "loadProtoP\001Z2cloud.google.com/go/deploy/" + + "apiv1/deploypb;deploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor, + new java.lang.String[] { + "Message", "Automation", "PipelineUid", "Type", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java index e85f8b5d4503..2f5789d5dcb7 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * AutomationResourceSelector contains the information to select the resources
  * to which an Automation is going to be applied.
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AutomationResourceSelector}
  */
-public final class AutomationResourceSelector extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomationResourceSelector extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AutomationResourceSelector)
     AutomationResourceSelectorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomationResourceSelector.newBuilder() to construct.
   private AutomationResourceSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomationResourceSelector() {
     targets_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomationResourceSelector();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AutomationResourceSelector.class, com.google.cloud.deploy.v1.AutomationResourceSelector.Builder.class);
+            com.google.cloud.deploy.v1.AutomationResourceSelector.class,
+            com.google.cloud.deploy.v1.AutomationResourceSelector.Builder.class);
   }
 
   public static final int TARGETS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List targets_;
   /**
+   *
+   *
    * 
    * Contains attributes about a target.
    * 
@@ -59,6 +81,8 @@ public java.util.List getTargetsList return targets_; } /** + * + * *
    * Contains attributes about a target.
    * 
@@ -66,11 +90,13 @@ public java.util.List getTargetsList * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTargetsOrBuilderList() { return targets_; } /** + * + * *
    * Contains attributes about a target.
    * 
@@ -82,6 +108,8 @@ public int getTargetsCount() { return targets_.size(); } /** + * + * *
    * Contains attributes about a target.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.deploy.v1.TargetAttribute getTargets(int index) { return targets_.get(index); } /** + * + * *
    * Contains attributes about a target.
    * 
@@ -100,12 +130,12 @@ public com.google.cloud.deploy.v1.TargetAttribute getTargets(int index) { * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(int index) { return targets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +147,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 < targets_.size(); i++) { output.writeMessage(1, targets_.get(i)); } @@ -132,8 +161,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < targets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, targets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, targets_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +171,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.cloud.deploy.v1.AutomationResourceSelector)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AutomationResourceSelector other = (com.google.cloud.deploy.v1.AutomationResourceSelector) obj; + com.google.cloud.deploy.v1.AutomationResourceSelector other = + (com.google.cloud.deploy.v1.AutomationResourceSelector) obj; - if (!getTargetsList() - .equals(other.getTargetsList())) return false; + if (!getTargetsList().equals(other.getTargetsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,98 +201,104 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AutomationResourceSelector 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.cloud.deploy.v1.AutomationResourceSelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationResourceSelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AutomationResourceSelector parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationResourceSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.AutomationResourceSelector prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.AutomationResourceSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AutomationResourceSelector contains the information to select the resources
    * to which an Automation is going to be applied.
@@ -272,33 +306,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AutomationResourceSelector}
    */
-  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.cloud.deploy.v1.AutomationResourceSelector)
       com.google.cloud.deploy.v1.AutomationResourceSelectorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AutomationResourceSelector.class, com.google.cloud.deploy.v1.AutomationResourceSelector.Builder.class);
+              com.google.cloud.deploy.v1.AutomationResourceSelector.class,
+              com.google.cloud.deploy.v1.AutomationResourceSelector.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AutomationResourceSelector.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -314,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor;
     }
 
     @java.lang.Override
@@ -335,14 +368,18 @@ public com.google.cloud.deploy.v1.AutomationResourceSelector build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AutomationResourceSelector buildPartial() {
-      com.google.cloud.deploy.v1.AutomationResourceSelector result = new com.google.cloud.deploy.v1.AutomationResourceSelector(this);
+      com.google.cloud.deploy.v1.AutomationResourceSelector result =
+          new com.google.cloud.deploy.v1.AutomationResourceSelector(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.AutomationResourceSelector result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.deploy.v1.AutomationResourceSelector result) {
       if (targetsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           targets_ = java.util.Collections.unmodifiableList(targets_);
@@ -362,38 +399,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationResourceSelector
     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) {
+        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) {
+        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.cloud.deploy.v1.AutomationResourceSelector) {
-        return mergeFrom((com.google.cloud.deploy.v1.AutomationResourceSelector)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AutomationResourceSelector) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +439,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.AutomationResourceSelector other) {
-      if (other == com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.AutomationResourceSelector.getDefaultInstance())
+        return this;
       if (targetsBuilder_ == null) {
         if (!other.targets_.isEmpty()) {
           if (targets_.isEmpty()) {
@@ -420,9 +459,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.AutomationResourceSelector o
             targetsBuilder_ = null;
             targets_ = other.targets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            targetsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTargetsFieldBuilder() : null;
+            targetsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTargetsFieldBuilder()
+                    : null;
           } else {
             targetsBuilder_.addAllMessages(other.targets_);
           }
@@ -454,25 +494,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.deploy.v1.TargetAttribute m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.TargetAttribute.parser(),
-                      extensionRegistry);
-              if (targetsBuilder_ == null) {
-                ensureTargetsIsMutable();
-                targets_.add(m);
-              } else {
-                targetsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.deploy.v1.TargetAttribute m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.TargetAttribute.parser(), extensionRegistry);
+                if (targetsBuilder_ == null) {
+                  ensureTargetsIsMutable();
+                  targets_.add(m);
+                } else {
+                  targetsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -482,21 +523,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List targets_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTargetsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         targets_ = new java.util.ArrayList(targets_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.deploy.v1.TargetAttribute, com.google.cloud.deploy.v1.TargetAttribute.Builder, com.google.cloud.deploy.v1.TargetAttributeOrBuilder> targetsBuilder_;
+            com.google.cloud.deploy.v1.TargetAttribute,
+            com.google.cloud.deploy.v1.TargetAttribute.Builder,
+            com.google.cloud.deploy.v1.TargetAttributeOrBuilder>
+        targetsBuilder_;
 
     /**
+     *
+     *
      * 
      * Contains attributes about a target.
      * 
@@ -511,6 +559,8 @@ public java.util.List getTargetsList } } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -525,6 +575,8 @@ public int getTargetsCount() { } } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -539,14 +591,15 @@ public com.google.cloud.deploy.v1.TargetAttribute getTargets(int index) { } } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public Builder setTargets( - int index, com.google.cloud.deploy.v1.TargetAttribute value) { + public Builder setTargets(int index, com.google.cloud.deploy.v1.TargetAttribute value) { if (targetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -560,6 +613,8 @@ public Builder setTargets( return this; } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -578,6 +633,8 @@ public Builder setTargets( return this; } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -598,14 +655,15 @@ public Builder addTargets(com.google.cloud.deploy.v1.TargetAttribute value) { return this; } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public Builder addTargets( - int index, com.google.cloud.deploy.v1.TargetAttribute value) { + public Builder addTargets(int index, com.google.cloud.deploy.v1.TargetAttribute value) { if (targetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -619,14 +677,15 @@ public Builder addTargets( return this; } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public Builder addTargets( - com.google.cloud.deploy.v1.TargetAttribute.Builder builderForValue) { + public Builder addTargets(com.google.cloud.deploy.v1.TargetAttribute.Builder builderForValue) { if (targetsBuilder_ == null) { ensureTargetsIsMutable(); targets_.add(builderForValue.build()); @@ -637,6 +696,8 @@ public Builder addTargets( return this; } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -655,6 +716,8 @@ public Builder addTargets( return this; } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -665,8 +728,7 @@ public Builder addAllTargets( java.lang.Iterable values) { if (targetsBuilder_ == null) { ensureTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targets_); onChanged(); } else { targetsBuilder_.addAllMessages(values); @@ -674,6 +736,8 @@ public Builder addAllTargets( return this; } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -691,6 +755,8 @@ public Builder clearTargets() { return this; } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -708,39 +774,44 @@ public Builder removeTargets(int index) { return this; } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public com.google.cloud.deploy.v1.TargetAttribute.Builder getTargetsBuilder( - int index) { + public com.google.cloud.deploy.v1.TargetAttribute.Builder getTargetsBuilder(int index) { return getTargetsFieldBuilder().getBuilder(index); } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(int index) { if (targetsBuilder_ == null) { - return targets_.get(index); } else { + return targets_.get(index); + } else { return targetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public java.util.List - getTargetsOrBuilderList() { + public java.util.List + getTargetsOrBuilderList() { if (targetsBuilder_ != null) { return targetsBuilder_.getMessageOrBuilderList(); } else { @@ -748,6 +819,8 @@ public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder( } } /** + * + * *
      * Contains attributes about a target.
      * 
@@ -755,49 +828,55 @@ public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder( * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ public com.google.cloud.deploy.v1.TargetAttribute.Builder addTargetsBuilder() { - return getTargetsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.TargetAttribute.getDefaultInstance()); + return getTargetsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.TargetAttribute.getDefaultInstance()); } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public com.google.cloud.deploy.v1.TargetAttribute.Builder addTargetsBuilder( - int index) { - return getTargetsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.TargetAttribute.getDefaultInstance()); + public com.google.cloud.deploy.v1.TargetAttribute.Builder addTargetsBuilder(int index) { + return getTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.TargetAttribute.getDefaultInstance()); } /** + * + * *
      * Contains attributes about a target.
      * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - public java.util.List - getTargetsBuilderList() { + public java.util.List + getTargetsBuilderList() { return getTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.TargetAttribute, com.google.cloud.deploy.v1.TargetAttribute.Builder, com.google.cloud.deploy.v1.TargetAttributeOrBuilder> + com.google.cloud.deploy.v1.TargetAttribute, + com.google.cloud.deploy.v1.TargetAttribute.Builder, + com.google.cloud.deploy.v1.TargetAttributeOrBuilder> getTargetsFieldBuilder() { if (targetsBuilder_ == null) { - targetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.TargetAttribute, com.google.cloud.deploy.v1.TargetAttribute.Builder, com.google.cloud.deploy.v1.TargetAttributeOrBuilder>( - targets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + targetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.TargetAttribute, + com.google.cloud.deploy.v1.TargetAttribute.Builder, + com.google.cloud.deploy.v1.TargetAttributeOrBuilder>( + targets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); targets_ = null; } return targetsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -807,12 +886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AutomationResourceSelector) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AutomationResourceSelector) private static final com.google.cloud.deploy.v1.AutomationResourceSelector DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AutomationResourceSelector(); } @@ -821,27 +900,27 @@ public static com.google.cloud.deploy.v1.AutomationResourceSelector getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomationResourceSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomationResourceSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -856,6 +935,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.AutomationResourceSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java index b6be5121ed79..38da90a87282 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AutomationResourceSelectorOrBuilder extends +public interface AutomationResourceSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationResourceSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Contains attributes about a target.
    * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - java.util.List - getTargetsList(); + java.util.List getTargetsList(); /** + * + * *
    * Contains attributes about a target.
    * 
@@ -25,6 +44,8 @@ public interface AutomationResourceSelectorOrBuilder extends */ com.google.cloud.deploy.v1.TargetAttribute getTargets(int index); /** + * + * *
    * Contains attributes about a target.
    * 
@@ -33,21 +54,24 @@ public interface AutomationResourceSelectorOrBuilder extends */ int getTargetsCount(); /** + * + * *
    * Contains attributes about a target.
    * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - java.util.List + java.util.List getTargetsOrBuilderList(); /** + * + * *
    * Contains attributes about a target.
    * 
* * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; */ - com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder( - int index); + com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadata.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadata.java index dddd50cd5f88..dc21a92d8d81 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * AutomationRolloutMetadata contains Automation-related actions that
  * were performed on a rollout.
@@ -11,53 +28,57 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AutomationRolloutMetadata}
  */
-public final class AutomationRolloutMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomationRolloutMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AutomationRolloutMetadata)
     AutomationRolloutMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomationRolloutMetadata.newBuilder() to construct.
   private AutomationRolloutMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomationRolloutMetadata() {
     promoteAutomationRun_ = "";
-    advanceAutomationRuns_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    repairAutomationRuns_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    advanceAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    repairAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomationRolloutMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AutomationRolloutMetadata.class, com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder.class);
+            com.google.cloud.deploy.v1.AutomationRolloutMetadata.class,
+            com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder.class);
   }
 
   public static final int PROMOTE_AUTOMATION_RUN_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object promoteAutomationRun_ = "";
   /**
+   *
+   *
    * 
    * Output only. The ID of the AutomationRun initiated by a promote release
    * rule.
    * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The promoteAutomationRun. */ @java.lang.Override @@ -66,30 +87,30 @@ public java.lang.String getPromoteAutomationRun() { 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(); promoteAutomationRun_ = s; return s; } } /** + * + * *
    * Output only. The ID of the AutomationRun initiated by a promote release
    * rule.
    * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for promoteAutomationRun. */ @java.lang.Override - public com.google.protobuf.ByteString - getPromoteAutomationRunBytes() { + public com.google.protobuf.ByteString getPromoteAutomationRunBytes() { java.lang.Object ref = promoteAutomationRun_; 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); promoteAutomationRun_ = b; return b; } else { @@ -98,41 +119,53 @@ public java.lang.String getPromoteAutomationRun() { } public static final int ADVANCE_AUTOMATION_RUNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList advanceAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the advanceAutomationRuns. */ - public com.google.protobuf.ProtocolStringList - getAdvanceAutomationRunsList() { + public com.google.protobuf.ProtocolStringList getAdvanceAutomationRunsList() { return advanceAutomationRuns_; } /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of advanceAutomationRuns. */ public int getAdvanceAutomationRunsCount() { return advanceAutomationRuns_.size(); } /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The advanceAutomationRuns at the given index. */ @@ -140,56 +173,71 @@ public java.lang.String getAdvanceAutomationRuns(int index) { return advanceAutomationRuns_.get(index); } /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the advanceAutomationRuns at the given index. */ - public com.google.protobuf.ByteString - getAdvanceAutomationRunsBytes(int index) { + public com.google.protobuf.ByteString getAdvanceAutomationRunsBytes(int index) { return advanceAutomationRuns_.getByteString(index); } public static final int REPAIR_AUTOMATION_RUNS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList repairAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the repairAutomationRuns. */ - public com.google.protobuf.ProtocolStringList - getRepairAutomationRunsList() { + public com.google.protobuf.ProtocolStringList getRepairAutomationRunsList() { return repairAutomationRuns_; } /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of repairAutomationRuns. */ public int getRepairAutomationRunsCount() { return repairAutomationRuns_.size(); } /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The repairAutomationRuns at the given index. */ @@ -197,21 +245,25 @@ public java.lang.String getRepairAutomationRuns(int index) { return repairAutomationRuns_.get(index); } /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the repairAutomationRuns at the given index. */ - public com.google.protobuf.ByteString - getRepairAutomationRunsBytes(int index) { + public com.google.protobuf.ByteString getRepairAutomationRunsBytes(int index) { return repairAutomationRuns_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,16 +275,17 @@ 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(promoteAutomationRun_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, promoteAutomationRun_); } for (int i = 0; i < advanceAutomationRuns_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, advanceAutomationRuns_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, advanceAutomationRuns_.getRaw(i)); } for (int i = 0; i < repairAutomationRuns_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, repairAutomationRuns_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, repairAutomationRuns_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -270,19 +323,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.cloud.deploy.v1.AutomationRolloutMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AutomationRolloutMetadata other = (com.google.cloud.deploy.v1.AutomationRolloutMetadata) obj; - - if (!getPromoteAutomationRun() - .equals(other.getPromoteAutomationRun())) return false; - if (!getAdvanceAutomationRunsList() - .equals(other.getAdvanceAutomationRunsList())) return false; - if (!getRepairAutomationRunsList() - .equals(other.getRepairAutomationRunsList())) return false; + com.google.cloud.deploy.v1.AutomationRolloutMetadata other = + (com.google.cloud.deploy.v1.AutomationRolloutMetadata) obj; + + if (!getPromoteAutomationRun().equals(other.getPromoteAutomationRun())) return false; + if (!getAdvanceAutomationRunsList().equals(other.getAdvanceAutomationRunsList())) return false; + if (!getRepairAutomationRunsList().equals(other.getRepairAutomationRunsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -310,98 +361,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AutomationRolloutMetadata 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.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRolloutMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AutomationRolloutMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AutomationRolloutMetadata contains Automation-related actions that
    * were performed on a rollout.
@@ -409,49 +465,46 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AutomationRolloutMetadata}
    */
-  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.cloud.deploy.v1.AutomationRolloutMetadata)
       com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AutomationRolloutMetadata.class, com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder.class);
+              com.google.cloud.deploy.v1.AutomationRolloutMetadata.class,
+              com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AutomationRolloutMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       promoteAutomationRun_ = "";
-      advanceAutomationRuns_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      repairAutomationRuns_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      advanceAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      repairAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -470,8 +523,11 @@ public com.google.cloud.deploy.v1.AutomationRolloutMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AutomationRolloutMetadata buildPartial() {
-      com.google.cloud.deploy.v1.AutomationRolloutMetadata result = new com.google.cloud.deploy.v1.AutomationRolloutMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.AutomationRolloutMetadata result =
+          new com.google.cloud.deploy.v1.AutomationRolloutMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -495,38 +551,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRolloutMetadata
     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) {
+        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) {
+        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.cloud.deploy.v1.AutomationRolloutMetadata) {
-        return mergeFrom((com.google.cloud.deploy.v1.AutomationRolloutMetadata)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AutomationRolloutMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -534,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.AutomationRolloutMetadata other) {
-      if (other == com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance())
+        return this;
       if (!other.getPromoteAutomationRun().isEmpty()) {
         promoteAutomationRun_ = other.promoteAutomationRun_;
         bitField0_ |= 0x00000001;
@@ -586,29 +644,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              promoteAutomationRun_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAdvanceAutomationRunsIsMutable();
-              advanceAutomationRuns_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureRepairAutomationRunsIsMutable();
-              repairAutomationRuns_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                promoteAutomationRun_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAdvanceAutomationRunsIsMutable();
+                advanceAutomationRuns_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureRepairAutomationRunsIsMutable();
+                repairAutomationRuns_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -618,23 +680,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object promoteAutomationRun_ = "";
     /**
+     *
+     *
      * 
      * Output only. The ID of the AutomationRun initiated by a promote release
      * rule.
      * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The promoteAutomationRun. */ public java.lang.String getPromoteAutomationRun() { java.lang.Object ref = promoteAutomationRun_; 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(); promoteAutomationRun_ = s; return s; @@ -643,21 +708,22 @@ public java.lang.String getPromoteAutomationRun() { } } /** + * + * *
      * Output only. The ID of the AutomationRun initiated by a promote release
      * rule.
      * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for promoteAutomationRun. */ - public com.google.protobuf.ByteString - getPromoteAutomationRunBytes() { + public com.google.protobuf.ByteString getPromoteAutomationRunBytes() { java.lang.Object ref = promoteAutomationRun_; 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); promoteAutomationRun_ = b; return b; } else { @@ -665,30 +731,37 @@ public java.lang.String getPromoteAutomationRun() { } } /** + * + * *
      * Output only. The ID of the AutomationRun initiated by a promote release
      * rule.
      * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The promoteAutomationRun to set. * @return This builder for chaining. */ - public Builder setPromoteAutomationRun( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPromoteAutomationRun(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } promoteAutomationRun_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the AutomationRun initiated by a promote release
      * rule.
      * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPromoteAutomationRun() { @@ -698,18 +771,22 @@ public Builder clearPromoteAutomationRun() { return this; } /** + * + * *
      * Output only. The ID of the AutomationRun initiated by a promote release
      * rule.
      * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for promoteAutomationRun to set. * @return This builder for chaining. */ - public Builder setPromoteAutomationRunBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPromoteAutomationRunBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); promoteAutomationRun_ = value; bitField0_ |= 0x00000001; @@ -719,45 +796,61 @@ public Builder setPromoteAutomationRunBytes( private com.google.protobuf.LazyStringArrayList advanceAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAdvanceAutomationRunsIsMutable() { if (!advanceAutomationRuns_.isModifiable()) { - advanceAutomationRuns_ = new com.google.protobuf.LazyStringArrayList(advanceAutomationRuns_); + advanceAutomationRuns_ = + new com.google.protobuf.LazyStringArrayList(advanceAutomationRuns_); } bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the advanceAutomationRuns. */ - public com.google.protobuf.ProtocolStringList - getAdvanceAutomationRunsList() { + public com.google.protobuf.ProtocolStringList getAdvanceAutomationRunsList() { advanceAutomationRuns_.makeImmutable(); return advanceAutomationRuns_; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of advanceAutomationRuns. */ public int getAdvanceAutomationRunsCount() { return advanceAutomationRuns_.size(); } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The advanceAutomationRuns at the given index. */ @@ -765,33 +858,43 @@ public java.lang.String getAdvanceAutomationRuns(int index) { return advanceAutomationRuns_.get(index); } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the advanceAutomationRuns at the given index. */ - public com.google.protobuf.ByteString - getAdvanceAutomationRunsBytes(int index) { + public com.google.protobuf.ByteString getAdvanceAutomationRunsBytes(int index) { return advanceAutomationRuns_.getByteString(index); } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The advanceAutomationRuns to set. * @return This builder for chaining. */ - public Builder setAdvanceAutomationRuns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAdvanceAutomationRuns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAdvanceAutomationRunsIsMutable(); advanceAutomationRuns_.set(index, value); bitField0_ |= 0x00000002; @@ -799,18 +902,24 @@ public Builder setAdvanceAutomationRuns( return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The advanceAutomationRuns to add. * @return This builder for chaining. */ - public Builder addAdvanceAutomationRuns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAdvanceAutomationRuns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAdvanceAutomationRunsIsMutable(); advanceAutomationRuns_.add(value); bitField0_ |= 0x00000002; @@ -818,53 +927,67 @@ public Builder addAdvanceAutomationRuns( return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The advanceAutomationRuns to add. * @return This builder for chaining. */ - public Builder addAllAdvanceAutomationRuns( - java.lang.Iterable values) { + public Builder addAllAdvanceAutomationRuns(java.lang.Iterable values) { ensureAdvanceAutomationRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, advanceAutomationRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advanceAutomationRuns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearAdvanceAutomationRuns() { - advanceAutomationRuns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + advanceAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by an advance rollout
      * rule.
      * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the advanceAutomationRuns to add. * @return This builder for chaining. */ - public Builder addAdvanceAutomationRunsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAdvanceAutomationRunsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAdvanceAutomationRunsIsMutable(); advanceAutomationRuns_.add(value); @@ -875,6 +998,7 @@ public Builder addAdvanceAutomationRunsBytes( private com.google.protobuf.LazyStringArrayList repairAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRepairAutomationRunsIsMutable() { if (!repairAutomationRuns_.isModifiable()) { repairAutomationRuns_ = new com.google.protobuf.LazyStringArrayList(repairAutomationRuns_); @@ -882,38 +1006,52 @@ private void ensureRepairAutomationRunsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the repairAutomationRuns. */ - public com.google.protobuf.ProtocolStringList - getRepairAutomationRunsList() { + public com.google.protobuf.ProtocolStringList getRepairAutomationRunsList() { repairAutomationRuns_.makeImmutable(); return repairAutomationRuns_; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of repairAutomationRuns. */ public int getRepairAutomationRunsCount() { return repairAutomationRuns_.size(); } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The repairAutomationRuns at the given index. */ @@ -921,33 +1059,43 @@ public java.lang.String getRepairAutomationRuns(int index) { return repairAutomationRuns_.get(index); } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the repairAutomationRuns at the given index. */ - public com.google.protobuf.ByteString - getRepairAutomationRunsBytes(int index) { + public com.google.protobuf.ByteString getRepairAutomationRunsBytes(int index) { return repairAutomationRuns_.getByteString(index); } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The repairAutomationRuns to set. * @return This builder for chaining. */ - public Builder setRepairAutomationRuns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRepairAutomationRuns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRepairAutomationRunsIsMutable(); repairAutomationRuns_.set(index, value); bitField0_ |= 0x00000004; @@ -955,18 +1103,24 @@ public Builder setRepairAutomationRuns( return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The repairAutomationRuns to add. * @return This builder for chaining. */ - public Builder addRepairAutomationRuns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRepairAutomationRuns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRepairAutomationRunsIsMutable(); repairAutomationRuns_.add(value); bitField0_ |= 0x00000004; @@ -974,53 +1128,67 @@ public Builder addRepairAutomationRuns( return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The repairAutomationRuns to add. * @return This builder for chaining. */ - public Builder addAllRepairAutomationRuns( - java.lang.Iterable values) { + public Builder addAllRepairAutomationRuns(java.lang.Iterable values) { ensureRepairAutomationRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repairAutomationRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repairAutomationRuns_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRepairAutomationRuns() { - repairAutomationRuns_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + repairAutomationRuns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Output only. The IDs of the AutomationRuns initiated by a repair rollout
      * rule.
      * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the repairAutomationRuns to add. * @return This builder for chaining. */ - public Builder addRepairAutomationRunsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRepairAutomationRunsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRepairAutomationRunsIsMutable(); repairAutomationRuns_.add(value); @@ -1028,9 +1196,9 @@ public Builder addRepairAutomationRunsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1040,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AutomationRolloutMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AutomationRolloutMetadata) private static final com.google.cloud.deploy.v1.AutomationRolloutMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AutomationRolloutMetadata(); } @@ -1054,27 +1222,27 @@ public static com.google.cloud.deploy.v1.AutomationRolloutMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomationRolloutMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomationRolloutMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1089,6 +1257,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.AutomationRolloutMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadataOrBuilder.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadataOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadataOrBuilder.java index 5a3d5f4f8079..78e05b03e180 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadataOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRolloutMetadataOrBuilder.java @@ -1,121 +1,170 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AutomationRolloutMetadataOrBuilder extends +public interface AutomationRolloutMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationRolloutMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The ID of the AutomationRun initiated by a promote release
    * rule.
    * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The promoteAutomationRun. */ java.lang.String getPromoteAutomationRun(); /** + * + * *
    * Output only. The ID of the AutomationRun initiated by a promote release
    * rule.
    * 
* * string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for promoteAutomationRun. */ - com.google.protobuf.ByteString - getPromoteAutomationRunBytes(); + com.google.protobuf.ByteString getPromoteAutomationRunBytes(); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the advanceAutomationRuns. */ - java.util.List - getAdvanceAutomationRunsList(); + java.util.List getAdvanceAutomationRunsList(); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of advanceAutomationRuns. */ int getAdvanceAutomationRunsCount(); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The advanceAutomationRuns at the given index. */ java.lang.String getAdvanceAutomationRuns(int index); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by an advance rollout
    * rule.
    * 
* - * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the advanceAutomationRuns at the given index. */ - com.google.protobuf.ByteString - getAdvanceAutomationRunsBytes(int index); + com.google.protobuf.ByteString getAdvanceAutomationRunsBytes(int index); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the repairAutomationRuns. */ - java.util.List - getRepairAutomationRunsList(); + java.util.List getRepairAutomationRunsList(); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of repairAutomationRuns. */ int getRepairAutomationRunsCount(); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The repairAutomationRuns at the given index. */ java.lang.String getRepairAutomationRuns(int index); /** + * + * *
    * Output only. The IDs of the AutomationRuns initiated by a repair rollout
    * rule.
    * 
* - * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the repairAutomationRuns at the given index. */ - com.google.protobuf.ByteString - getRepairAutomationRunsBytes(int index); + com.google.protobuf.ByteString getRepairAutomationRunsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRule.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRule.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRule.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRule.java index 54369ef4b339..3ba83eee9f19 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRule.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRule.java @@ -1,58 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * `AutomationRule` defines the automation activities.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.AutomationRule} */ -public final class AutomationRule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AutomationRule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AutomationRule) AutomationRuleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AutomationRule.newBuilder() to construct. private AutomationRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AutomationRule() { - } + + private AutomationRule() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AutomationRule(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AutomationRule.class, com.google.cloud.deploy.v1.AutomationRule.Builder.class); + com.google.cloud.deploy.v1.AutomationRule.class, + com.google.cloud.deploy.v1.AutomationRule.Builder.class); } private int ruleCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object rule_; + public enum RuleCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PROMOTE_RELEASE_RULE(1), ADVANCE_ROLLOUT_RULE(2), REPAIR_ROLLOUT_RULE(3), RULE_NOT_SET(0); private final int value; + private RuleCase(int value) { this.value = value; } @@ -68,32 +90,41 @@ public static RuleCase valueOf(int value) { public static RuleCase forNumber(int value) { switch (value) { - case 1: return PROMOTE_RELEASE_RULE; - case 2: return ADVANCE_ROLLOUT_RULE; - case 3: return REPAIR_ROLLOUT_RULE; - case 0: return RULE_NOT_SET; - default: return null; + case 1: + return PROMOTE_RELEASE_RULE; + case 2: + return ADVANCE_ROLLOUT_RULE; + case 3: + return REPAIR_ROLLOUT_RULE; + case 0: + return RULE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RuleCase - getRuleCase() { - return RuleCase.forNumber( - ruleCase_); + public RuleCase getRuleCase() { + return RuleCase.forNumber(ruleCase_); } public static final int PROMOTE_RELEASE_RULE_FIELD_NUMBER = 1; /** + * + * *
    * Optional. `PromoteReleaseRule` will automatically promote a release from
    * the current target to a specified target.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the promoteReleaseRule field is set. */ @java.lang.Override @@ -101,45 +132,59 @@ public boolean hasPromoteReleaseRule() { return ruleCase_ == 1; } /** + * + * *
    * Optional. `PromoteReleaseRule` will automatically promote a release from
    * the current target to a specified target.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The promoteReleaseRule. */ @java.lang.Override public com.google.cloud.deploy.v1.PromoteReleaseRule getPromoteReleaseRule() { if (ruleCase_ == 1) { - return (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_; + return (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_; } return com.google.cloud.deploy.v1.PromoteReleaseRule.getDefaultInstance(); } /** + * + * *
    * Optional. `PromoteReleaseRule` will automatically promote a release from
    * the current target to a specified target.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder getPromoteReleaseRuleOrBuilder() { if (ruleCase_ == 1) { - return (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_; + return (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_; } return com.google.cloud.deploy.v1.PromoteReleaseRule.getDefaultInstance(); } public static final int ADVANCE_ROLLOUT_RULE_FIELD_NUMBER = 2; /** + * + * *
    * Optional. The `AdvanceRolloutRule` will automatically advance a
    * successful Rollout.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the advanceRolloutRule field is set. */ @java.lang.Override @@ -147,45 +192,59 @@ public boolean hasAdvanceRolloutRule() { return ruleCase_ == 2; } /** + * + * *
    * Optional. The `AdvanceRolloutRule` will automatically advance a
    * successful Rollout.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The advanceRolloutRule. */ @java.lang.Override public com.google.cloud.deploy.v1.AdvanceRolloutRule getAdvanceRolloutRule() { if (ruleCase_ == 2) { - return (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_; + return (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_; } return com.google.cloud.deploy.v1.AdvanceRolloutRule.getDefaultInstance(); } /** + * + * *
    * Optional. The `AdvanceRolloutRule` will automatically advance a
    * successful Rollout.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder getAdvanceRolloutRuleOrBuilder() { if (ruleCase_ == 2) { - return (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_; + return (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_; } return com.google.cloud.deploy.v1.AdvanceRolloutRule.getDefaultInstance(); } public static final int REPAIR_ROLLOUT_RULE_FIELD_NUMBER = 3; /** + * + * *
    * Optional. The `RepairRolloutRule` will automatically repair a failed
    * rollout.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the repairRolloutRule field is set. */ @java.lang.Override @@ -193,38 +252,48 @@ public boolean hasRepairRolloutRule() { return ruleCase_ == 3; } /** + * + * *
    * Optional. The `RepairRolloutRule` will automatically repair a failed
    * rollout.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The repairRolloutRule. */ @java.lang.Override public com.google.cloud.deploy.v1.RepairRolloutRule getRepairRolloutRule() { if (ruleCase_ == 3) { - return (com.google.cloud.deploy.v1.RepairRolloutRule) rule_; + return (com.google.cloud.deploy.v1.RepairRolloutRule) rule_; } return com.google.cloud.deploy.v1.RepairRolloutRule.getDefaultInstance(); } /** + * + * *
    * Optional. The `RepairRolloutRule` will automatically repair a failed
    * rollout.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder getRepairRolloutRuleOrBuilder() { if (ruleCase_ == 3) { - return (com.google.cloud.deploy.v1.RepairRolloutRule) rule_; + return (com.google.cloud.deploy.v1.RepairRolloutRule) rule_; } return com.google.cloud.deploy.v1.RepairRolloutRule.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +305,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 (ruleCase_ == 1) { output.writeMessage(1, (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_); } @@ -257,16 +325,19 @@ public int getSerializedSize() { size = 0; if (ruleCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_); } if (ruleCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_); } if (ruleCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.deploy.v1.RepairRolloutRule) rule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.deploy.v1.RepairRolloutRule) rule_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -276,26 +347,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.cloud.deploy.v1.AutomationRule)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AutomationRule other = (com.google.cloud.deploy.v1.AutomationRule) obj; + com.google.cloud.deploy.v1.AutomationRule other = + (com.google.cloud.deploy.v1.AutomationRule) obj; if (!getRuleCase().equals(other.getRuleCase())) return false; switch (ruleCase_) { case 1: - if (!getPromoteReleaseRule() - .equals(other.getPromoteReleaseRule())) return false; + if (!getPromoteReleaseRule().equals(other.getPromoteReleaseRule())) return false; break; case 2: - if (!getAdvanceRolloutRule() - .equals(other.getAdvanceRolloutRule())) return false; + if (!getAdvanceRolloutRule().equals(other.getAdvanceRolloutRule())) return false; break; case 3: - if (!getRepairRolloutRule() - .equals(other.getRepairRolloutRule())) return false; + if (!getRepairRolloutRule().equals(other.getRepairRolloutRule())) return false; break; case 0: default: @@ -332,132 +401,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AutomationRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AutomationRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AutomationRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AutomationRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AutomationRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `AutomationRule` defines the automation activities.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.AutomationRule} */ - 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.cloud.deploy.v1.AutomationRule) com.google.cloud.deploy.v1.AutomationRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.AutomationRule.class, com.google.cloud.deploy.v1.AutomationRule.Builder.class); + com.google.cloud.deploy.v1.AutomationRule.class, + com.google.cloud.deploy.v1.AutomationRule.Builder.class); } // Construct using com.google.cloud.deploy.v1.AutomationRule.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; } @java.lang.Override @@ -498,8 +571,11 @@ public com.google.cloud.deploy.v1.AutomationRule build() { @java.lang.Override public com.google.cloud.deploy.v1.AutomationRule buildPartial() { - com.google.cloud.deploy.v1.AutomationRule result = new com.google.cloud.deploy.v1.AutomationRule(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.AutomationRule result = + new com.google.cloud.deploy.v1.AutomationRule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -512,16 +588,13 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRule result) { private void buildPartialOneofs(com.google.cloud.deploy.v1.AutomationRule result) { result.ruleCase_ = ruleCase_; result.rule_ = this.rule_; - if (ruleCase_ == 1 && - promoteReleaseRuleBuilder_ != null) { + if (ruleCase_ == 1 && promoteReleaseRuleBuilder_ != null) { result.rule_ = promoteReleaseRuleBuilder_.build(); } - if (ruleCase_ == 2 && - advanceRolloutRuleBuilder_ != null) { + if (ruleCase_ == 2 && advanceRolloutRuleBuilder_ != null) { result.rule_ = advanceRolloutRuleBuilder_.build(); } - if (ruleCase_ == 3 && - repairRolloutRuleBuilder_ != null) { + if (ruleCase_ == 3 && repairRolloutRuleBuilder_ != null) { result.rule_ = repairRolloutRuleBuilder_.build(); } } @@ -530,38 +603,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.AutomationRule result 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) { + 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) { + 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.cloud.deploy.v1.AutomationRule) { - return mergeFrom((com.google.cloud.deploy.v1.AutomationRule)other); + return mergeFrom((com.google.cloud.deploy.v1.AutomationRule) other); } else { super.mergeFrom(other); return this; @@ -571,21 +645,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.deploy.v1.AutomationRule other) { if (other == com.google.cloud.deploy.v1.AutomationRule.getDefaultInstance()) return this; switch (other.getRuleCase()) { - case PROMOTE_RELEASE_RULE: { - mergePromoteReleaseRule(other.getPromoteReleaseRule()); - break; - } - case ADVANCE_ROLLOUT_RULE: { - mergeAdvanceRolloutRule(other.getAdvanceRolloutRule()); - break; - } - case REPAIR_ROLLOUT_RULE: { - mergeRepairRolloutRule(other.getRepairRolloutRule()); - break; - } - case RULE_NOT_SET: { - break; - } + case PROMOTE_RELEASE_RULE: + { + mergePromoteReleaseRule(other.getPromoteReleaseRule()); + break; + } + case ADVANCE_ROLLOUT_RULE: + { + mergeAdvanceRolloutRule(other.getAdvanceRolloutRule()); + break; + } + case REPAIR_ROLLOUT_RULE: + { + mergeRepairRolloutRule(other.getRepairRolloutRule()); + break; + } + case RULE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -613,33 +691,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPromoteReleaseRuleFieldBuilder().getBuilder(), - extensionRegistry); - ruleCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getAdvanceRolloutRuleFieldBuilder().getBuilder(), - extensionRegistry); - ruleCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getRepairRolloutRuleFieldBuilder().getBuilder(), - extensionRegistry); - ruleCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getPromoteReleaseRuleFieldBuilder().getBuilder(), extensionRegistry); + ruleCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getAdvanceRolloutRuleFieldBuilder().getBuilder(), extensionRegistry); + ruleCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getRepairRolloutRuleFieldBuilder().getBuilder(), extensionRegistry); + ruleCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,12 +728,12 @@ public Builder mergeFrom( } // finally return this; } + private int ruleCase_ = 0; private java.lang.Object rule_; - public RuleCase - getRuleCase() { - return RuleCase.forNumber( - ruleCase_); + + public RuleCase getRuleCase() { + return RuleCase.forNumber(ruleCase_); } public Builder clearRule() { @@ -667,14 +746,22 @@ public Builder clearRule() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PromoteReleaseRule, com.google.cloud.deploy.v1.PromoteReleaseRule.Builder, com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder> promoteReleaseRuleBuilder_; + com.google.cloud.deploy.v1.PromoteReleaseRule, + com.google.cloud.deploy.v1.PromoteReleaseRule.Builder, + com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder> + promoteReleaseRuleBuilder_; /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the promoteReleaseRule field is set. */ @java.lang.Override @@ -682,12 +769,17 @@ public boolean hasPromoteReleaseRule() { return ruleCase_ == 1; } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The promoteReleaseRule. */ @java.lang.Override @@ -705,12 +797,16 @@ public com.google.cloud.deploy.v1.PromoteReleaseRule getPromoteReleaseRule() { } } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPromoteReleaseRule(com.google.cloud.deploy.v1.PromoteReleaseRule value) { if (promoteReleaseRuleBuilder_ == null) { @@ -726,12 +822,16 @@ public Builder setPromoteReleaseRule(com.google.cloud.deploy.v1.PromoteReleaseRu return this; } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPromoteReleaseRule( com.google.cloud.deploy.v1.PromoteReleaseRule.Builder builderForValue) { @@ -745,19 +845,26 @@ public Builder setPromoteReleaseRule( return this; } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePromoteReleaseRule(com.google.cloud.deploy.v1.PromoteReleaseRule value) { if (promoteReleaseRuleBuilder_ == null) { - if (ruleCase_ == 1 && - rule_ != com.google.cloud.deploy.v1.PromoteReleaseRule.getDefaultInstance()) { - rule_ = com.google.cloud.deploy.v1.PromoteReleaseRule.newBuilder((com.google.cloud.deploy.v1.PromoteReleaseRule) rule_) - .mergeFrom(value).buildPartial(); + if (ruleCase_ == 1 + && rule_ != com.google.cloud.deploy.v1.PromoteReleaseRule.getDefaultInstance()) { + rule_ = + com.google.cloud.deploy.v1.PromoteReleaseRule.newBuilder( + (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_) + .mergeFrom(value) + .buildPartial(); } else { rule_ = value; } @@ -773,12 +880,16 @@ public Builder mergePromoteReleaseRule(com.google.cloud.deploy.v1.PromoteRelease return this; } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPromoteReleaseRule() { if (promoteReleaseRuleBuilder_ == null) { @@ -797,23 +908,31 @@ public Builder clearPromoteReleaseRule() { return this; } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PromoteReleaseRule.Builder getPromoteReleaseRuleBuilder() { return getPromoteReleaseRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder getPromoteReleaseRuleOrBuilder() { @@ -827,22 +946,31 @@ public com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder getPromoteReleaseR } } /** + * + * *
      * Optional. `PromoteReleaseRule` will automatically promote a release from
      * the current target to a specified target.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PromoteReleaseRule, com.google.cloud.deploy.v1.PromoteReleaseRule.Builder, com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder> + com.google.cloud.deploy.v1.PromoteReleaseRule, + com.google.cloud.deploy.v1.PromoteReleaseRule.Builder, + com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder> getPromoteReleaseRuleFieldBuilder() { if (promoteReleaseRuleBuilder_ == null) { if (!(ruleCase_ == 1)) { rule_ = com.google.cloud.deploy.v1.PromoteReleaseRule.getDefaultInstance(); } - promoteReleaseRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PromoteReleaseRule, com.google.cloud.deploy.v1.PromoteReleaseRule.Builder, com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder>( + promoteReleaseRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PromoteReleaseRule, + com.google.cloud.deploy.v1.PromoteReleaseRule.Builder, + com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder>( (com.google.cloud.deploy.v1.PromoteReleaseRule) rule_, getParentForChildren(), isClean()); @@ -854,14 +982,22 @@ public com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder getPromoteReleaseR } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceRolloutRule, com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder, com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder> advanceRolloutRuleBuilder_; + com.google.cloud.deploy.v1.AdvanceRolloutRule, + com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder, + com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder> + advanceRolloutRuleBuilder_; /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the advanceRolloutRule field is set. */ @java.lang.Override @@ -869,12 +1005,17 @@ public boolean hasAdvanceRolloutRule() { return ruleCase_ == 2; } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The advanceRolloutRule. */ @java.lang.Override @@ -892,12 +1033,16 @@ public com.google.cloud.deploy.v1.AdvanceRolloutRule getAdvanceRolloutRule() { } } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdvanceRolloutRule(com.google.cloud.deploy.v1.AdvanceRolloutRule value) { if (advanceRolloutRuleBuilder_ == null) { @@ -913,12 +1058,16 @@ public Builder setAdvanceRolloutRule(com.google.cloud.deploy.v1.AdvanceRolloutRu return this; } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdvanceRolloutRule( com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder builderForValue) { @@ -932,19 +1081,26 @@ public Builder setAdvanceRolloutRule( return this; } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeAdvanceRolloutRule(com.google.cloud.deploy.v1.AdvanceRolloutRule value) { if (advanceRolloutRuleBuilder_ == null) { - if (ruleCase_ == 2 && - rule_ != com.google.cloud.deploy.v1.AdvanceRolloutRule.getDefaultInstance()) { - rule_ = com.google.cloud.deploy.v1.AdvanceRolloutRule.newBuilder((com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_) - .mergeFrom(value).buildPartial(); + if (ruleCase_ == 2 + && rule_ != com.google.cloud.deploy.v1.AdvanceRolloutRule.getDefaultInstance()) { + rule_ = + com.google.cloud.deploy.v1.AdvanceRolloutRule.newBuilder( + (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_) + .mergeFrom(value) + .buildPartial(); } else { rule_ = value; } @@ -960,12 +1116,16 @@ public Builder mergeAdvanceRolloutRule(com.google.cloud.deploy.v1.AdvanceRollout return this; } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdvanceRolloutRule() { if (advanceRolloutRuleBuilder_ == null) { @@ -984,23 +1144,31 @@ public Builder clearAdvanceRolloutRule() { return this; } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder getAdvanceRolloutRuleBuilder() { return getAdvanceRolloutRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder getAdvanceRolloutRuleOrBuilder() { @@ -1014,22 +1182,31 @@ public com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder getAdvanceRolloutR } } /** + * + * *
      * Optional. The `AdvanceRolloutRule` will automatically advance a
      * successful Rollout.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceRolloutRule, com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder, com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder> + com.google.cloud.deploy.v1.AdvanceRolloutRule, + com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder, + com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder> getAdvanceRolloutRuleFieldBuilder() { if (advanceRolloutRuleBuilder_ == null) { if (!(ruleCase_ == 2)) { rule_ = com.google.cloud.deploy.v1.AdvanceRolloutRule.getDefaultInstance(); } - advanceRolloutRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceRolloutRule, com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder, com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder>( + advanceRolloutRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AdvanceRolloutRule, + com.google.cloud.deploy.v1.AdvanceRolloutRule.Builder, + com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder>( (com.google.cloud.deploy.v1.AdvanceRolloutRule) rule_, getParentForChildren(), isClean()); @@ -1041,14 +1218,22 @@ public com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder getAdvanceRolloutR } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RepairRolloutRule, com.google.cloud.deploy.v1.RepairRolloutRule.Builder, com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder> repairRolloutRuleBuilder_; + com.google.cloud.deploy.v1.RepairRolloutRule, + com.google.cloud.deploy.v1.RepairRolloutRule.Builder, + com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder> + repairRolloutRuleBuilder_; /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the repairRolloutRule field is set. */ @java.lang.Override @@ -1056,12 +1241,17 @@ public boolean hasRepairRolloutRule() { return ruleCase_ == 3; } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The repairRolloutRule. */ @java.lang.Override @@ -1079,12 +1269,16 @@ public com.google.cloud.deploy.v1.RepairRolloutRule getRepairRolloutRule() { } } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRepairRolloutRule(com.google.cloud.deploy.v1.RepairRolloutRule value) { if (repairRolloutRuleBuilder_ == null) { @@ -1100,12 +1294,16 @@ public Builder setRepairRolloutRule(com.google.cloud.deploy.v1.RepairRolloutRule return this; } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRepairRolloutRule( com.google.cloud.deploy.v1.RepairRolloutRule.Builder builderForValue) { @@ -1119,19 +1317,26 @@ public Builder setRepairRolloutRule( return this; } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRepairRolloutRule(com.google.cloud.deploy.v1.RepairRolloutRule value) { if (repairRolloutRuleBuilder_ == null) { - if (ruleCase_ == 3 && - rule_ != com.google.cloud.deploy.v1.RepairRolloutRule.getDefaultInstance()) { - rule_ = com.google.cloud.deploy.v1.RepairRolloutRule.newBuilder((com.google.cloud.deploy.v1.RepairRolloutRule) rule_) - .mergeFrom(value).buildPartial(); + if (ruleCase_ == 3 + && rule_ != com.google.cloud.deploy.v1.RepairRolloutRule.getDefaultInstance()) { + rule_ = + com.google.cloud.deploy.v1.RepairRolloutRule.newBuilder( + (com.google.cloud.deploy.v1.RepairRolloutRule) rule_) + .mergeFrom(value) + .buildPartial(); } else { rule_ = value; } @@ -1147,12 +1352,16 @@ public Builder mergeRepairRolloutRule(com.google.cloud.deploy.v1.RepairRolloutRu return this; } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRepairRolloutRule() { if (repairRolloutRuleBuilder_ == null) { @@ -1171,23 +1380,31 @@ public Builder clearRepairRolloutRule() { return this; } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.RepairRolloutRule.Builder getRepairRolloutRuleBuilder() { return getRepairRolloutRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder getRepairRolloutRuleOrBuilder() { @@ -1201,22 +1418,31 @@ public com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder getRepairRolloutRul } } /** + * + * *
      * Optional. The `RepairRolloutRule` will automatically repair a failed
      * rollout.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RepairRolloutRule, com.google.cloud.deploy.v1.RepairRolloutRule.Builder, com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder> + com.google.cloud.deploy.v1.RepairRolloutRule, + com.google.cloud.deploy.v1.RepairRolloutRule.Builder, + com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder> getRepairRolloutRuleFieldBuilder() { if (repairRolloutRuleBuilder_ == null) { if (!(ruleCase_ == 3)) { rule_ = com.google.cloud.deploy.v1.RepairRolloutRule.getDefaultInstance(); } - repairRolloutRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RepairRolloutRule, com.google.cloud.deploy.v1.RepairRolloutRule.Builder, com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder>( + repairRolloutRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RepairRolloutRule, + com.google.cloud.deploy.v1.RepairRolloutRule.Builder, + com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder>( (com.google.cloud.deploy.v1.RepairRolloutRule) rule_, getParentForChildren(), isClean()); @@ -1226,9 +1452,9 @@ public com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder getRepairRolloutRul onChanged(); return repairRolloutRuleBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1238,12 +1464,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AutomationRule) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AutomationRule) private static final com.google.cloud.deploy.v1.AutomationRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AutomationRule(); } @@ -1252,27 +1478,27 @@ public static com.google.cloud.deploy.v1.AutomationRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomationRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomationRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1287,6 +1513,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AutomationRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleCondition.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleCondition.java similarity index 58% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleCondition.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleCondition.java index 8cb0604498eb..4fa6dfad81a9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleCondition.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleCondition.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * `AutomationRuleCondition` contains conditions relevant to an
  * `Automation` rule.
@@ -11,46 +28,52 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AutomationRuleCondition}
  */
-public final class AutomationRuleCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomationRuleCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AutomationRuleCondition)
     AutomationRuleConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomationRuleCondition.newBuilder() to construct.
   private AutomationRuleCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AutomationRuleCondition() {
-  }
+
+  private AutomationRuleCondition() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomationRuleCondition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AutomationRuleCondition.class, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder.class);
+            com.google.cloud.deploy.v1.AutomationRuleCondition.class,
+            com.google.cloud.deploy.v1.AutomationRuleCondition.Builder.class);
   }
 
   public static final int TARGETS_PRESENT_CONDITION_FIELD_NUMBER = 1;
   private com.google.cloud.deploy.v1.TargetsPresentCondition targetsPresentCondition_;
   /**
+   *
+   *
    * 
    * Optional. Details around targets enumerated in the rule.
    * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the targetsPresentCondition field is set. */ @java.lang.Override @@ -58,30 +81,45 @@ public boolean hasTargetsPresentCondition() { return targetsPresentCondition_ != null; } /** + * + * *
    * Optional. Details around targets enumerated in the rule.
    * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The targetsPresentCondition. */ @java.lang.Override public com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondition() { - return targetsPresentCondition_ == null ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } /** + * + * *
    * Optional. Details around targets enumerated in the rule.
    * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder() { - return targetsPresentCondition_ == null ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder + getTargetsPresentConditionOrBuilder() { + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,8 +131,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 (targetsPresentCondition_ != null) { output.writeMessage(1, getTargetsPresentCondition()); } @@ -108,8 +145,8 @@ public int getSerializedSize() { size = 0; if (targetsPresentCondition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTargetsPresentCondition()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTargetsPresentCondition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -119,17 +156,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.cloud.deploy.v1.AutomationRuleCondition)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AutomationRuleCondition other = (com.google.cloud.deploy.v1.AutomationRuleCondition) obj; + com.google.cloud.deploy.v1.AutomationRuleCondition other = + (com.google.cloud.deploy.v1.AutomationRuleCondition) obj; if (hasTargetsPresentCondition() != other.hasTargetsPresentCondition()) return false; if (hasTargetsPresentCondition()) { - if (!getTargetsPresentCondition() - .equals(other.getTargetsPresentCondition())) return false; + if (!getTargetsPresentCondition().equals(other.getTargetsPresentCondition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -152,98 +189,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.AutomationRuleCondition 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.cloud.deploy.v1.AutomationRuleCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationRuleCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AutomationRuleCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRuleCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AutomationRuleCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `AutomationRuleCondition` contains conditions relevant to an
    * `Automation` rule.
@@ -251,33 +293,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AutomationRuleCondition}
    */
-  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.cloud.deploy.v1.AutomationRuleCondition)
       com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AutomationRuleCondition.class, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder.class);
+              com.google.cloud.deploy.v1.AutomationRuleCondition.class,
+              com.google.cloud.deploy.v1.AutomationRuleCondition.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AutomationRuleCondition.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -291,9 +332,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor;
     }
 
     @java.lang.Override
@@ -312,8 +353,11 @@ public com.google.cloud.deploy.v1.AutomationRuleCondition build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AutomationRuleCondition buildPartial() {
-      com.google.cloud.deploy.v1.AutomationRuleCondition result = new com.google.cloud.deploy.v1.AutomationRuleCondition(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.AutomationRuleCondition result =
+          new com.google.cloud.deploy.v1.AutomationRuleCondition(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -321,9 +365,10 @@ public com.google.cloud.deploy.v1.AutomationRuleCondition buildPartial() {
     private void buildPartial0(com.google.cloud.deploy.v1.AutomationRuleCondition result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.targetsPresentCondition_ = targetsPresentConditionBuilder_ == null
-            ? targetsPresentCondition_
-            : targetsPresentConditionBuilder_.build();
+        result.targetsPresentCondition_ =
+            targetsPresentConditionBuilder_ == null
+                ? targetsPresentCondition_
+                : targetsPresentConditionBuilder_.build();
       }
     }
 
@@ -331,38 +376,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRuleCondition re
     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) {
+        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) {
+        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.cloud.deploy.v1.AutomationRuleCondition) {
-        return mergeFrom((com.google.cloud.deploy.v1.AutomationRuleCondition)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AutomationRuleCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -370,7 +416,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.AutomationRuleCondition other) {
-      if (other == com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance())
+        return this;
       if (other.hasTargetsPresentCondition()) {
         mergeTargetsPresentCondition(other.getTargetsPresentCondition());
       }
@@ -400,19 +447,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTargetsPresentConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getTargetsPresentConditionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -422,45 +470,66 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.deploy.v1.TargetsPresentCondition targetsPresentCondition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.TargetsPresentCondition, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder> targetsPresentConditionBuilder_;
+            com.google.cloud.deploy.v1.TargetsPresentCondition,
+            com.google.cloud.deploy.v1.TargetsPresentCondition.Builder,
+            com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder>
+        targetsPresentConditionBuilder_;
     /**
+     *
+     *
      * 
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the targetsPresentCondition field is set. */ public boolean hasTargetsPresentCondition() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The targetsPresentCondition. */ public com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondition() { if (targetsPresentConditionBuilder_ == null) { - return targetsPresentCondition_ == null ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } else { return targetsPresentConditionBuilder_.getMessage(); } } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPresentCondition value) { + public Builder setTargetsPresentCondition( + com.google.cloud.deploy.v1.TargetsPresentCondition value) { if (targetsPresentConditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -474,11 +543,15 @@ public Builder setTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPres return this; } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTargetsPresentCondition( com.google.cloud.deploy.v1.TargetsPresentCondition.Builder builderForValue) { @@ -492,17 +565,23 @@ public Builder setTargetsPresentCondition( return this; } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPresentCondition value) { + public Builder mergeTargetsPresentCondition( + com.google.cloud.deploy.v1.TargetsPresentCondition value) { if (targetsPresentConditionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - targetsPresentCondition_ != null && - targetsPresentCondition_ != com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && targetsPresentCondition_ != null + && targetsPresentCondition_ + != com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance()) { getTargetsPresentConditionBuilder().mergeFrom(value); } else { targetsPresentCondition_ = value; @@ -515,11 +594,15 @@ public Builder mergeTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPr return this; } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTargetsPresentCondition() { bitField0_ = (bitField0_ & ~0x00000001); @@ -532,55 +615,73 @@ public Builder clearTargetsPresentCondition() { return this; } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.deploy.v1.TargetsPresentCondition.Builder getTargetsPresentConditionBuilder() { + public com.google.cloud.deploy.v1.TargetsPresentCondition.Builder + getTargetsPresentConditionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTargetsPresentConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder() { + public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder + getTargetsPresentConditionOrBuilder() { if (targetsPresentConditionBuilder_ != null) { return targetsPresentConditionBuilder_.getMessageOrBuilder(); } else { - return targetsPresentCondition_ == null ? - com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } } /** + * + * *
      * Optional. Details around targets enumerated in the rule.
      * 
* - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.TargetsPresentCondition, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder> + com.google.cloud.deploy.v1.TargetsPresentCondition, + com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, + com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder> getTargetsPresentConditionFieldBuilder() { if (targetsPresentConditionBuilder_ == null) { - targetsPresentConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.TargetsPresentCondition, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder>( - getTargetsPresentCondition(), - getParentForChildren(), - isClean()); + targetsPresentConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.TargetsPresentCondition, + com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, + com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder>( + getTargetsPresentCondition(), getParentForChildren(), isClean()); targetsPresentCondition_ = null; } return targetsPresentConditionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +691,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AutomationRuleCondition) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AutomationRuleCondition) private static final com.google.cloud.deploy.v1.AutomationRuleCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AutomationRuleCondition(); } @@ -604,27 +705,27 @@ public static com.google.cloud.deploy.v1.AutomationRuleCondition getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomationRuleCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomationRuleCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,6 +740,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AutomationRuleCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleConditionOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleConditionOrBuilder.java new file mode 100644 index 000000000000..04b96113bdfb --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleConditionOrBuilder.java @@ -0,0 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface AutomationRuleConditionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationRuleCondition) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Details around targets enumerated in the rule.
+   * 
+ * + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the targetsPresentCondition field is set. + */ + boolean hasTargetsPresentCondition(); + /** + * + * + *
+   * Optional. Details around targets enumerated in the rule.
+   * 
+ * + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The targetsPresentCondition. + */ + com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondition(); + /** + * + * + *
+   * Optional. Details around targets enumerated in the rule.
+   * 
+ * + * + * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleOrBuilder.java similarity index 55% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleOrBuilder.java index 4df08a289455..e1f37cfadc9f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleOrBuilder.java @@ -1,99 +1,157 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AutomationRuleOrBuilder extends +public interface AutomationRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. `PromoteReleaseRule` will automatically promote a release from
    * the current target to a specified target.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the promoteReleaseRule field is set. */ boolean hasPromoteReleaseRule(); /** + * + * *
    * Optional. `PromoteReleaseRule` will automatically promote a release from
    * the current target to a specified target.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The promoteReleaseRule. */ com.google.cloud.deploy.v1.PromoteReleaseRule getPromoteReleaseRule(); /** + * + * *
    * Optional. `PromoteReleaseRule` will automatically promote a release from
    * the current target to a specified target.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder getPromoteReleaseRuleOrBuilder(); /** + * + * *
    * Optional. The `AdvanceRolloutRule` will automatically advance a
    * successful Rollout.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the advanceRolloutRule field is set. */ boolean hasAdvanceRolloutRule(); /** + * + * *
    * Optional. The `AdvanceRolloutRule` will automatically advance a
    * successful Rollout.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The advanceRolloutRule. */ com.google.cloud.deploy.v1.AdvanceRolloutRule getAdvanceRolloutRule(); /** + * + * *
    * Optional. The `AdvanceRolloutRule` will automatically advance a
    * successful Rollout.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.AdvanceRolloutRuleOrBuilder getAdvanceRolloutRuleOrBuilder(); /** + * + * *
    * Optional. The `RepairRolloutRule` will automatically repair a failed
    * rollout.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the repairRolloutRule field is set. */ boolean hasRepairRolloutRule(); /** + * + * *
    * Optional. The `RepairRolloutRule` will automatically repair a failed
    * rollout.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The repairRolloutRule. */ com.google.cloud.deploy.v1.RepairRolloutRule getRepairRolloutRule(); /** + * + * *
    * Optional. The `RepairRolloutRule` will automatically repair a failed
    * rollout.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder getRepairRolloutRuleOrBuilder(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRun.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRun.java index fc086919d520..ccb41764a9ed 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRun.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * An `AutomationRun` resource in the Cloud Deploy API.
  *
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AutomationRun}
  */
-public final class AutomationRun extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomationRun extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AutomationRun)
     AutomationRunOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomationRun.newBuilder() to construct.
   private AutomationRun(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomationRun() {
     name_ = "";
     etag_ = "";
@@ -35,34 +53,38 @@ private AutomationRun() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomationRun();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRun_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationRun_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AutomationRun.class, com.google.cloud.deploy.v1.AutomationRun.Builder.class);
+            com.google.cloud.deploy.v1.AutomationRun.class,
+            com.google.cloud.deploy.v1.AutomationRun.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Valid state of an `AutomationRun`.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.AutomationRun.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The `AutomationRun` has an unspecified state.
      * 
@@ -71,6 +93,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The `AutomationRun` has succeeded.
      * 
@@ -79,6 +103,8 @@ public enum State */ SUCCEEDED(1), /** + * + * *
      * The `AutomationRun` was cancelled.
      * 
@@ -87,6 +113,8 @@ public enum State */ CANCELLED(2), /** + * + * *
      * The `AutomationRun` has failed.
      * 
@@ -95,6 +123,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The `AutomationRun` is in progress.
      * 
@@ -103,6 +133,8 @@ public enum State */ IN_PROGRESS(4), /** + * + * *
      * The `AutomationRun` is pending.
      * 
@@ -114,6 +146,8 @@ public enum State ; /** + * + * *
      * The `AutomationRun` has an unspecified state.
      * 
@@ -122,6 +156,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The `AutomationRun` has succeeded.
      * 
@@ -130,6 +166,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
      * The `AutomationRun` was cancelled.
      * 
@@ -138,6 +176,8 @@ public enum State */ public static final int CANCELLED_VALUE = 2; /** + * + * *
      * The `AutomationRun` has failed.
      * 
@@ -146,6 +186,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The `AutomationRun` is in progress.
      * 
@@ -154,6 +196,8 @@ public enum State */ public static final int IN_PROGRESS_VALUE = 4; /** + * + * *
      * The `AutomationRun` is pending.
      * 
@@ -162,7 +206,6 @@ public enum State */ public static final int PENDING_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -187,52 +230,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return SUCCEEDED; - case 2: return CANCELLED; - case 3: return FAILED; - case 4: return IN_PROGRESS; - case 5: return PENDING; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return SUCCEEDED; + case 2: + return CANCELLED; + case 3: + return FAILED; + case 4: + return IN_PROGRESS; + case 5: + return PENDING; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.AutomationRun.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; @@ -250,16 +296,20 @@ private State(int value) { } private int operationCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object operation_; + public enum OperationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PROMOTE_RELEASE_OPERATION(13), ADVANCE_ROLLOUT_OPERATION(14), REPAIR_ROLLOUT_OPERATION(17), OPERATION_NOT_SET(0); private final int value; + private OperationCase(int value) { this.value = value; } @@ -275,34 +325,42 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 13: return PROMOTE_RELEASE_OPERATION; - case 14: return ADVANCE_ROLLOUT_OPERATION; - case 17: return REPAIR_ROLLOUT_OPERATION; - case 0: return OPERATION_NOT_SET; - default: return null; + case 13: + return PROMOTE_RELEASE_OPERATION; + case 14: + return ADVANCE_ROLLOUT_OPERATION; + case 17: + return REPAIR_ROLLOUT_OPERATION; + case 0: + return OPERATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OperationCase - getOperationCase() { - return OperationCase.forNumber( - operationCase_); + public OperationCase getOperationCase() { + return OperationCase.forNumber(operationCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Name of the `AutomationRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -311,30 +369,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; } } /** + * + * *
    * Output only. Name of the `AutomationRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -345,11 +403,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time at which the `AutomationRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -357,11 +419,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the `AutomationRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -369,11 +435,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the `AutomationRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -383,11 +452,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Time at which the automationRun was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -395,11 +468,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time at which the automationRun was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -407,11 +484,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time at which the automationRun was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -419,9 +499,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Output only. The weak etag of the `AutomationRun` resource.
    * This checksum is computed by the server based on the value of other
@@ -430,6 +513,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The etag. */ @java.lang.Override @@ -438,14 +522,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Output only. The weak etag of the `AutomationRun` resource.
    * This checksum is computed by the server based on the value of other
@@ -454,16 +539,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -472,15 +556,19 @@ public java.lang.String getEtag() { } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Output only. Email address of the user-managed IAM service account that
    * performs the operations against Cloud Deploy resources.
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceAccount. */ @java.lang.Override @@ -489,30 +577,30 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * Output only. Email address of the user-managed IAM service account that
    * performs the operations against Cloud Deploy resources.
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -523,12 +611,17 @@ public java.lang.String getServiceAccount() { public static final int AUTOMATION_SNAPSHOT_FIELD_NUMBER = 6; private com.google.cloud.deploy.v1.Automation automationSnapshot_; /** + * + * *
    * Output only. Snapshot of the Automation taken at AutomationRun creation
    * time.
    * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the automationSnapshot field is set. */ @java.lang.Override @@ -536,35 +629,51 @@ public boolean hasAutomationSnapshot() { return automationSnapshot_ != null; } /** + * + * *
    * Output only. Snapshot of the Automation taken at AutomationRun creation
    * time.
    * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The automationSnapshot. */ @java.lang.Override public com.google.cloud.deploy.v1.Automation getAutomationSnapshot() { - return automationSnapshot_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automationSnapshot_; + return automationSnapshot_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automationSnapshot_; } /** + * + * *
    * Output only. Snapshot of the Automation taken at AutomationRun creation
    * time.
    * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationSnapshotOrBuilder() { - return automationSnapshot_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automationSnapshot_; + return automationSnapshot_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automationSnapshot_; } public static final int TARGET_ID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * Output only. The ID of the target that represents the promotion stage that
    * initiates the `AutomationRun`. The value of this field is the last segment
@@ -572,6 +681,7 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationSnapshotOrBui
    * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ @java.lang.Override @@ -580,14 +690,15 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * Output only. The ID of the target that represents the promotion stage that
    * initiates the `AutomationRun`. The value of this field is the last segment
@@ -595,16 +706,15 @@ public java.lang.String getTargetId() {
    * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -615,39 +725,56 @@ public java.lang.String getTargetId() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. Current state of the `AutomationRun`.
    * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.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. Current state of the `AutomationRun`.
    * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.deploy.v1.AutomationRun.State getState() { - com.google.cloud.deploy.v1.AutomationRun.State result = com.google.cloud.deploy.v1.AutomationRun.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.deploy.v1.AutomationRun.State getState() { + com.google.cloud.deploy.v1.AutomationRun.State result = + com.google.cloud.deploy.v1.AutomationRun.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.AutomationRun.State.UNRECOGNIZED : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object stateDescription_ = ""; /** + * + * *
    * Output only. Explains the current state of the `AutomationRun`. Present
    * only when an explanation is needed.
    * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDescription. */ @java.lang.Override @@ -656,30 +783,30 @@ public java.lang.String getStateDescription() { 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(); stateDescription_ = s; return s; } } /** + * + * *
    * Output only. Explains the current state of the `AutomationRun`. Present
    * only when an explanation is needed.
    * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; 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); stateDescription_ = b; return b; } else { @@ -690,12 +817,16 @@ public java.lang.String getStateDescription() { public static final int EXPIRE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
    * after 14 days from its creation date.
    * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -703,12 +834,16 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
    * after 14 days from its creation date.
    * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -716,12 +851,15 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
    * after 14 days from its creation date.
    * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -729,14 +867,18 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } public static final int RULE_ID_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object ruleId_ = ""; /** + * + * *
    * Output only. The ID of the automation rule that initiated the operation.
    * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ruleId. */ @java.lang.Override @@ -745,29 +887,29 @@ public java.lang.String getRuleId() { 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(); ruleId_ = s; return s; } } /** + * + * *
    * Output only. The ID of the automation rule that initiated the operation.
    * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ruleId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRuleIdBytes() { + public com.google.protobuf.ByteString getRuleIdBytes() { java.lang.Object ref = ruleId_; 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); ruleId_ = b; return b; } else { @@ -776,14 +918,18 @@ public java.lang.String getRuleId() { } public static final int AUTOMATION_ID_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object automationId_ = ""; /** + * + * *
    * Output only. The ID of the automation that initiated the operation.
    * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The automationId. */ @java.lang.Override @@ -792,29 +938,29 @@ public java.lang.String getAutomationId() { 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(); automationId_ = s; return s; } } /** + * + * *
    * Output only. The ID of the automation that initiated the operation.
    * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for automationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAutomationIdBytes() { + public com.google.protobuf.ByteString getAutomationIdBytes() { java.lang.Object ref = automationId_; 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); automationId_ = b; return b; } else { @@ -824,11 +970,16 @@ public java.lang.String getAutomationId() { public static final int PROMOTE_RELEASE_OPERATION_FIELD_NUMBER = 13; /** + * + * *
    * Output only. Promotes a release to a specified 'Target'.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the promoteReleaseOperation field is set. */ @java.lang.Override @@ -836,42 +987,57 @@ public boolean hasPromoteReleaseOperation() { return operationCase_ == 13; } /** + * + * *
    * Output only. Promotes a release to a specified 'Target'.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The promoteReleaseOperation. */ @java.lang.Override public com.google.cloud.deploy.v1.PromoteReleaseOperation getPromoteReleaseOperation() { if (operationCase_ == 13) { - return (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_; + return (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_; } return com.google.cloud.deploy.v1.PromoteReleaseOperation.getDefaultInstance(); } /** + * + * *
    * Output only. Promotes a release to a specified 'Target'.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder getPromoteReleaseOperationOrBuilder() { + public com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder + getPromoteReleaseOperationOrBuilder() { if (operationCase_ == 13) { - return (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_; + return (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_; } return com.google.cloud.deploy.v1.PromoteReleaseOperation.getDefaultInstance(); } public static final int ADVANCE_ROLLOUT_OPERATION_FIELD_NUMBER = 14; /** + * + * *
    * Output only. Advances a rollout to the next phase.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceRolloutOperation field is set. */ @java.lang.Override @@ -879,42 +1045,57 @@ public boolean hasAdvanceRolloutOperation() { return operationCase_ == 14; } /** + * + * *
    * Output only. Advances a rollout to the next phase.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceRolloutOperation. */ @java.lang.Override public com.google.cloud.deploy.v1.AdvanceRolloutOperation getAdvanceRolloutOperation() { if (operationCase_ == 14) { - return (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_; + return (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_; } return com.google.cloud.deploy.v1.AdvanceRolloutOperation.getDefaultInstance(); } /** + * + * *
    * Output only. Advances a rollout to the next phase.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder getAdvanceRolloutOperationOrBuilder() { + public com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder + getAdvanceRolloutOperationOrBuilder() { if (operationCase_ == 14) { - return (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_; + return (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_; } return com.google.cloud.deploy.v1.AdvanceRolloutOperation.getDefaultInstance(); } public static final int REPAIR_ROLLOUT_OPERATION_FIELD_NUMBER = 17; /** + * + * *
    * Output only. Repairs a failed 'Rollout'.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the repairRolloutOperation field is set. */ @java.lang.Override @@ -922,31 +1103,41 @@ public boolean hasRepairRolloutOperation() { return operationCase_ == 17; } /** + * + * *
    * Output only. Repairs a failed 'Rollout'.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The repairRolloutOperation. */ @java.lang.Override public com.google.cloud.deploy.v1.RepairRolloutOperation getRepairRolloutOperation() { if (operationCase_ == 17) { - return (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_; + return (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_; } return com.google.cloud.deploy.v1.RepairRolloutOperation.getDefaultInstance(); } /** + * + * *
    * Output only. Repairs a failed 'Rollout'.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder getRepairRolloutOperationOrBuilder() { + public com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder + getRepairRolloutOperationOrBuilder() { if (operationCase_ == 17) { - return (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_; + return (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_; } return com.google.cloud.deploy.v1.RepairRolloutOperation.getDefaultInstance(); } @@ -954,12 +1145,17 @@ public com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder getRepairRollo public static final int WAIT_UNTIL_TIME_FIELD_NUMBER = 16; private com.google.protobuf.Timestamp waitUntilTime_; /** + * + * *
    * Output only. Earliest time the `AutomationRun` will attempt to resume.
    * Wait-time is configured by `wait` in automation rule.
    * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the waitUntilTime field is set. */ @java.lang.Override @@ -967,32 +1163,46 @@ public boolean hasWaitUntilTime() { return waitUntilTime_ != null; } /** + * + * *
    * Output only. Earliest time the `AutomationRun` will attempt to resume.
    * Wait-time is configured by `wait` in automation rule.
    * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The waitUntilTime. */ @java.lang.Override public com.google.protobuf.Timestamp getWaitUntilTime() { - return waitUntilTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : waitUntilTime_; + return waitUntilTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : waitUntilTime_; } /** + * + * *
    * Output only. Earliest time the `AutomationRun` will attempt to resume.
    * Wait-time is configured by `wait` in automation rule.
    * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getWaitUntilTimeOrBuilder() { - return waitUntilTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : waitUntilTime_; + return waitUntilTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : waitUntilTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1004,8 +1214,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_); } @@ -1067,12 +1276,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -1081,44 +1288,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceAccount_); } if (automationSnapshot_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getAutomationSnapshot()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getAutomationSnapshot()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, targetId_); } if (state_ != com.google.cloud.deploy.v1.AutomationRun.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, stateDescription_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ruleId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, ruleId_); } if (operationCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_); } if (operationCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(automationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, automationId_); } if (waitUntilTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getWaitUntilTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getWaitUntilTime()); } if (operationCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 17, (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1128,66 +1334,51 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.AutomationRun)) { return super.equals(obj); } com.google.cloud.deploy.v1.AutomationRun other = (com.google.cloud.deploy.v1.AutomationRun) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasAutomationSnapshot() != other.hasAutomationSnapshot()) return false; if (hasAutomationSnapshot()) { - if (!getAutomationSnapshot() - .equals(other.getAutomationSnapshot())) return false; + if (!getAutomationSnapshot().equals(other.getAutomationSnapshot())) return false; } - if (!getTargetId() - .equals(other.getTargetId())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; if (state_ != other.state_) return false; - if (!getStateDescription() - .equals(other.getStateDescription())) return false; + if (!getStateDescription().equals(other.getStateDescription())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } - if (!getRuleId() - .equals(other.getRuleId())) return false; - if (!getAutomationId() - .equals(other.getAutomationId())) return false; + if (!getRuleId().equals(other.getRuleId())) return false; + if (!getAutomationId().equals(other.getAutomationId())) return false; if (hasWaitUntilTime() != other.hasWaitUntilTime()) return false; if (hasWaitUntilTime()) { - if (!getWaitUntilTime() - .equals(other.getWaitUntilTime())) return false; + if (!getWaitUntilTime().equals(other.getWaitUntilTime())) return false; } if (!getOperationCase().equals(other.getOperationCase())) return false; switch (operationCase_) { case 13: - if (!getPromoteReleaseOperation() - .equals(other.getPromoteReleaseOperation())) return false; + if (!getPromoteReleaseOperation().equals(other.getPromoteReleaseOperation())) return false; break; case 14: - if (!getAdvanceRolloutOperation() - .equals(other.getAdvanceRolloutOperation())) return false; + if (!getAdvanceRolloutOperation().equals(other.getAdvanceRolloutOperation())) return false; break; case 17: - if (!getRepairRolloutOperation() - .equals(other.getRepairRolloutOperation())) return false; + if (!getRepairRolloutOperation().equals(other.getRepairRolloutOperation())) return false; break; case 0: default: @@ -1260,99 +1451,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AutomationRun parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AutomationRun parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationRun parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AutomationRun parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AutomationRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AutomationRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An `AutomationRun` resource in the Cloud Deploy API.
    *
@@ -1362,33 +1558,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AutomationRun}
    */
-  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.cloud.deploy.v1.AutomationRun)
       com.google.cloud.deploy.v1.AutomationRunOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRun_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRun_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AutomationRun.class, com.google.cloud.deploy.v1.AutomationRun.Builder.class);
+              com.google.cloud.deploy.v1.AutomationRun.class,
+              com.google.cloud.deploy.v1.AutomationRun.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AutomationRun.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1441,9 +1636,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_AutomationRun_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_AutomationRun_descriptor;
     }
 
     @java.lang.Override
@@ -1462,8 +1657,11 @@ public com.google.cloud.deploy.v1.AutomationRun build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AutomationRun buildPartial() {
-      com.google.cloud.deploy.v1.AutomationRun result = new com.google.cloud.deploy.v1.AutomationRun(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.AutomationRun result =
+          new com.google.cloud.deploy.v1.AutomationRun(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1475,14 +1673,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRun result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.etag_ = etag_;
@@ -1491,9 +1685,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRun result) {
         result.serviceAccount_ = serviceAccount_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.automationSnapshot_ = automationSnapshotBuilder_ == null
-            ? automationSnapshot_
-            : automationSnapshotBuilder_.build();
+        result.automationSnapshot_ =
+            automationSnapshotBuilder_ == null
+                ? automationSnapshot_
+                : automationSnapshotBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.targetId_ = targetId_;
@@ -1505,9 +1700,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRun result) {
         result.stateDescription_ = stateDescription_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.expireTime_ = expireTimeBuilder_ == null
-            ? expireTime_
-            : expireTimeBuilder_.build();
+        result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.ruleId_ = ruleId_;
@@ -1516,25 +1709,21 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRun result) {
         result.automationId_ = automationId_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.waitUntilTime_ = waitUntilTimeBuilder_ == null
-            ? waitUntilTime_
-            : waitUntilTimeBuilder_.build();
+        result.waitUntilTime_ =
+            waitUntilTimeBuilder_ == null ? waitUntilTime_ : waitUntilTimeBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.deploy.v1.AutomationRun result) {
       result.operationCase_ = operationCase_;
       result.operation_ = this.operation_;
-      if (operationCase_ == 13 &&
-          promoteReleaseOperationBuilder_ != null) {
+      if (operationCase_ == 13 && promoteReleaseOperationBuilder_ != null) {
         result.operation_ = promoteReleaseOperationBuilder_.build();
       }
-      if (operationCase_ == 14 &&
-          advanceRolloutOperationBuilder_ != null) {
+      if (operationCase_ == 14 && advanceRolloutOperationBuilder_ != null) {
         result.operation_ = advanceRolloutOperationBuilder_.build();
       }
-      if (operationCase_ == 17 &&
-          repairRolloutOperationBuilder_ != null) {
+      if (operationCase_ == 17 && repairRolloutOperationBuilder_ != null) {
         result.operation_ = repairRolloutOperationBuilder_.build();
       }
     }
@@ -1543,38 +1732,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.AutomationRun result)
     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) {
+        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) {
+        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.cloud.deploy.v1.AutomationRun) {
-        return mergeFrom((com.google.cloud.deploy.v1.AutomationRun)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AutomationRun) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1637,21 +1827,25 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.AutomationRun other) {
         mergeWaitUntilTime(other.getWaitUntilTime());
       }
       switch (other.getOperationCase()) {
-        case PROMOTE_RELEASE_OPERATION: {
-          mergePromoteReleaseOperation(other.getPromoteReleaseOperation());
-          break;
-        }
-        case ADVANCE_ROLLOUT_OPERATION: {
-          mergeAdvanceRolloutOperation(other.getAdvanceRolloutOperation());
-          break;
-        }
-        case REPAIR_ROLLOUT_OPERATION: {
-          mergeRepairRolloutOperation(other.getRepairRolloutOperation());
-          break;
-        }
-        case OPERATION_NOT_SET: {
-          break;
-        }
+        case PROMOTE_RELEASE_OPERATION:
+          {
+            mergePromoteReleaseOperation(other.getPromoteReleaseOperation());
+            break;
+          }
+        case ADVANCE_ROLLOUT_OPERATION:
+          {
+            mergeAdvanceRolloutOperation(other.getAdvanceRolloutOperation());
+            break;
+          }
+        case REPAIR_ROLLOUT_OPERATION:
+          {
+            mergeRepairRolloutOperation(other.getRepairRolloutOperation());
+            break;
+          }
+        case OPERATION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1679,108 +1873,113 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              serviceAccount_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getAutomationSnapshotFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              targetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 74: {
-              stateDescription_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 90: {
-              input.readMessage(
-                  getExpireTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 90
-            case 98: {
-              ruleId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getPromoteReleaseOperationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 13;
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getAdvanceRolloutOperationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 14;
-              break;
-            } // case 114
-            case 122: {
-              automationId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getWaitUntilTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 130
-            case 138: {
-              input.readMessage(
-                  getRepairRolloutOperationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 17;
-              break;
-            } // case 138
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getAutomationSnapshotFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                targetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 74:
+              {
+                stateDescription_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 90:
+              {
+                input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 90
+            case 98:
+              {
+                ruleId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(
+                    getPromoteReleaseOperationFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 13;
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(
+                    getAdvanceRolloutOperationFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 14;
+                break;
+              } // case 114
+            case 122:
+              {
+                automationId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(getWaitUntilTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 130
+            case 138:
+              {
+                input.readMessage(
+                    getRepairRolloutOperationFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 17;
+                break;
+              } // case 138
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1790,12 +1989,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int operationCase_ = 0;
     private java.lang.Object operation_;
-    public OperationCase
-        getOperationCase() {
-      return OperationCase.forNumber(
-          operationCase_);
+
+    public OperationCase getOperationCase() {
+      return OperationCase.forNumber(operationCase_);
     }
 
     public Builder clearOperation() {
@@ -1809,19 +2008,21 @@ public Builder clearOperation() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -1830,21 +2031,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -1852,30 +2054,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1885,18 +2094,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1906,39 +2119,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1954,14 +2186,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1972,17 +2207,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1995,11 +2234,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - *
+     *
+     *
+     * 
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2012,11 +2255,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -2024,36 +2271,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the `AutomationRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2061,39 +2320,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2109,14 +2387,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2127,17 +2408,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2150,11 +2435,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2167,11 +2456,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2179,36 +2472,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Time at which the automationRun was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2216,6 +2521,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Output only. The weak etag of the `AutomationRun` resource.
      * This checksum is computed by the server based on the value of other
@@ -2224,13 +2531,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -2239,6 +2546,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Output only. The weak etag of the `AutomationRun` resource.
      * This checksum is computed by the server based on the value of other
@@ -2247,15 +2556,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -2263,6 +2571,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Output only. The weak etag of the `AutomationRun` resource.
      * This checksum is computed by the server based on the value of other
@@ -2271,18 +2581,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The weak etag of the `AutomationRun` resource.
      * This checksum is computed by the server based on the value of other
@@ -2291,6 +2605,7 @@ public Builder setEtag(
      * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2300,6 +2615,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Output only. The weak etag of the `AutomationRun` resource.
      * This checksum is computed by the server based on the value of other
@@ -2308,12 +2625,14 @@ public Builder clearEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; @@ -2323,19 +2642,21 @@ public Builder setEtagBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Output only. Email address of the user-managed IAM service account that
      * performs the operations against Cloud Deploy resources.
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2344,21 +2665,22 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Output only. Email address of the user-managed IAM service account that
      * performs the operations against Cloud Deploy resources.
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2366,30 +2688,37 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Output only. Email address of the user-managed IAM service account that
      * performs the operations against Cloud Deploy resources.
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Email address of the user-managed IAM service account that
      * performs the operations against Cloud Deploy resources.
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -2399,18 +2728,22 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Output only. Email address of the user-managed IAM service account that
      * performs the operations against Cloud Deploy resources.
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000010; @@ -2420,42 +2753,61 @@ public Builder setServiceAccountBytes( private com.google.cloud.deploy.v1.Automation automationSnapshot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> automationSnapshotBuilder_; + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> + automationSnapshotBuilder_; /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the automationSnapshot field is set. */ public boolean hasAutomationSnapshot() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The automationSnapshot. */ public com.google.cloud.deploy.v1.Automation getAutomationSnapshot() { if (automationSnapshotBuilder_ == null) { - return automationSnapshot_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automationSnapshot_; + return automationSnapshot_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automationSnapshot_; } else { return automationSnapshotBuilder_.getMessage(); } } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAutomationSnapshot(com.google.cloud.deploy.v1.Automation value) { if (automationSnapshotBuilder_ == null) { @@ -2471,12 +2823,16 @@ public Builder setAutomationSnapshot(com.google.cloud.deploy.v1.Automation value return this; } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAutomationSnapshot( com.google.cloud.deploy.v1.Automation.Builder builderForValue) { @@ -2490,18 +2846,22 @@ public Builder setAutomationSnapshot( return this; } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAutomationSnapshot(com.google.cloud.deploy.v1.Automation value) { if (automationSnapshotBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - automationSnapshot_ != null && - automationSnapshot_ != com.google.cloud.deploy.v1.Automation.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && automationSnapshot_ != null + && automationSnapshot_ != com.google.cloud.deploy.v1.Automation.getDefaultInstance()) { getAutomationSnapshotBuilder().mergeFrom(value); } else { automationSnapshot_ = value; @@ -2514,12 +2874,16 @@ public Builder mergeAutomationSnapshot(com.google.cloud.deploy.v1.Automation val return this; } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAutomationSnapshot() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2532,12 +2896,16 @@ public Builder clearAutomationSnapshot() { return this; } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Automation.Builder getAutomationSnapshotBuilder() { bitField0_ |= 0x00000020; @@ -2545,38 +2913,50 @@ public com.google.cloud.deploy.v1.Automation.Builder getAutomationSnapshotBuilde return getAutomationSnapshotFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationSnapshotOrBuilder() { if (automationSnapshotBuilder_ != null) { return automationSnapshotBuilder_.getMessageOrBuilder(); } else { - return automationSnapshot_ == null ? - com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automationSnapshot_; + return automationSnapshot_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automationSnapshot_; } } /** + * + * *
      * Output only. Snapshot of the Automation taken at AutomationRun creation
      * time.
      * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> getAutomationSnapshotFieldBuilder() { if (automationSnapshotBuilder_ == null) { - automationSnapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder>( - getAutomationSnapshot(), - getParentForChildren(), - isClean()); + automationSnapshotBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder>( + getAutomationSnapshot(), getParentForChildren(), isClean()); automationSnapshot_ = null; } return automationSnapshotBuilder_; @@ -2584,6 +2964,8 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationSnapshotOrBui private java.lang.Object targetId_ = ""; /** + * + * *
      * Output only. The ID of the target that represents the promotion stage that
      * initiates the `AutomationRun`. The value of this field is the last segment
@@ -2591,13 +2973,13 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationSnapshotOrBui
      * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -2606,6 +2988,8 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage that
      * initiates the `AutomationRun`. The value of this field is the last segment
@@ -2613,15 +2997,14 @@ public java.lang.String getTargetId() {
      * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -2629,6 +3012,8 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage that
      * initiates the `AutomationRun`. The value of this field is the last segment
@@ -2636,18 +3021,22 @@ public java.lang.String getTargetId() {
      * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage that
      * initiates the `AutomationRun`. The value of this field is the last segment
@@ -2655,6 +3044,7 @@ public Builder setTargetId(
      * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -2664,6 +3054,8 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage that
      * initiates the `AutomationRun`. The value of this field is the last segment
@@ -2671,12 +3063,14 @@ public Builder clearTargetId() {
      * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000040; @@ -2686,22 +3080,33 @@ public Builder setTargetIdBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the `AutomationRun`.
      * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.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. Current state of the `AutomationRun`.
      * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2712,24 +3117,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the `AutomationRun`.
      * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRun.State getState() { - com.google.cloud.deploy.v1.AutomationRun.State result = com.google.cloud.deploy.v1.AutomationRun.State.forNumber(state_); + com.google.cloud.deploy.v1.AutomationRun.State result = + com.google.cloud.deploy.v1.AutomationRun.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.AutomationRun.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the `AutomationRun`.
      * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2743,11 +3159,16 @@ public Builder setState(com.google.cloud.deploy.v1.AutomationRun.State value) { return this; } /** + * + * *
      * Output only. Current state of the `AutomationRun`.
      * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2759,19 +3180,21 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** + * + * *
      * Output only. Explains the current state of the `AutomationRun`. Present
      * only when an explanation is needed.
      * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; 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(); stateDescription_ = s; return s; @@ -2780,21 +3203,22 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * Output only. Explains the current state of the `AutomationRun`. Present
      * only when an explanation is needed.
      * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; 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); stateDescription_ = b; return b; } else { @@ -2802,30 +3226,37 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * Output only. Explains the current state of the `AutomationRun`. Present
      * only when an explanation is needed.
      * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } stateDescription_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. Explains the current state of the `AutomationRun`. Present
      * only when an explanation is needed.
      * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateDescription() { @@ -2835,18 +3266,22 @@ public Builder clearStateDescription() { return this; } /** + * + * *
      * Output only. Explains the current state of the `AutomationRun`. Present
      * only when an explanation is needed.
      * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); stateDescription_ = value; bitField0_ |= 0x00000100; @@ -2856,42 +3291,61 @@ public Builder setStateDescriptionBytes( private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2907,15 +3361,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -2926,18 +3383,22 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -2950,12 +3411,16 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2968,12 +3433,16 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000200; @@ -2981,38 +3450,50 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
      * after 14 days from its creation date.
      * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 11 [(.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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -3020,18 +3501,20 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object ruleId_ = ""; /** + * + * *
      * Output only. The ID of the automation rule that initiated the operation.
      * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ruleId. */ public java.lang.String getRuleId() { java.lang.Object ref = ruleId_; 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(); ruleId_ = s; return s; @@ -3040,20 +3523,21 @@ public java.lang.String getRuleId() { } } /** + * + * *
      * Output only. The ID of the automation rule that initiated the operation.
      * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ruleId. */ - public com.google.protobuf.ByteString - getRuleIdBytes() { + public com.google.protobuf.ByteString getRuleIdBytes() { java.lang.Object ref = ruleId_; 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); ruleId_ = b; return b; } else { @@ -3061,28 +3545,35 @@ public java.lang.String getRuleId() { } } /** + * + * *
      * Output only. The ID of the automation rule that initiated the operation.
      * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ruleId to set. * @return This builder for chaining. */ - public Builder setRuleId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ruleId_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the automation rule that initiated the operation.
      * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRuleId() { @@ -3092,17 +3583,21 @@ public Builder clearRuleId() { return this; } /** + * + * *
      * Output only. The ID of the automation rule that initiated the operation.
      * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ruleId to set. * @return This builder for chaining. */ - public Builder setRuleIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ruleId_ = value; bitField0_ |= 0x00000400; @@ -3112,18 +3607,20 @@ public Builder setRuleIdBytes( private java.lang.Object automationId_ = ""; /** + * + * *
      * Output only. The ID of the automation that initiated the operation.
      * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The automationId. */ public java.lang.String getAutomationId() { java.lang.Object ref = automationId_; 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(); automationId_ = s; return s; @@ -3132,20 +3629,21 @@ public java.lang.String getAutomationId() { } } /** + * + * *
      * Output only. The ID of the automation that initiated the operation.
      * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for automationId. */ - public com.google.protobuf.ByteString - getAutomationIdBytes() { + public com.google.protobuf.ByteString getAutomationIdBytes() { java.lang.Object ref = automationId_; 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); automationId_ = b; return b; } else { @@ -3153,28 +3651,35 @@ public java.lang.String getAutomationId() { } } /** + * + * *
      * Output only. The ID of the automation that initiated the operation.
      * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The automationId to set. * @return This builder for chaining. */ - public Builder setAutomationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } automationId_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the automation that initiated the operation.
      * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAutomationId() { @@ -3184,17 +3689,21 @@ public Builder clearAutomationId() { return this; } /** + * + * *
      * Output only. The ID of the automation that initiated the operation.
      * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for automationId to set. * @return This builder for chaining. */ - public Builder setAutomationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); automationId_ = value; bitField0_ |= 0x00000800; @@ -3203,13 +3712,21 @@ public Builder setAutomationIdBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PromoteReleaseOperation, com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder, com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder> promoteReleaseOperationBuilder_; + com.google.cloud.deploy.v1.PromoteReleaseOperation, + com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder, + com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder> + promoteReleaseOperationBuilder_; /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the promoteReleaseOperation field is set. */ @java.lang.Override @@ -3217,11 +3734,16 @@ public boolean hasPromoteReleaseOperation() { return operationCase_ == 13; } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The promoteReleaseOperation. */ @java.lang.Override @@ -3239,13 +3761,18 @@ public com.google.cloud.deploy.v1.PromoteReleaseOperation getPromoteReleaseOpera } } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPromoteReleaseOperation(com.google.cloud.deploy.v1.PromoteReleaseOperation value) { + public Builder setPromoteReleaseOperation( + com.google.cloud.deploy.v1.PromoteReleaseOperation value) { if (promoteReleaseOperationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3259,11 +3786,15 @@ public Builder setPromoteReleaseOperation(com.google.cloud.deploy.v1.PromoteRele return this; } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPromoteReleaseOperation( com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder builderForValue) { @@ -3277,18 +3808,27 @@ public Builder setPromoteReleaseOperation( return this; } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergePromoteReleaseOperation(com.google.cloud.deploy.v1.PromoteReleaseOperation value) { + public Builder mergePromoteReleaseOperation( + com.google.cloud.deploy.v1.PromoteReleaseOperation value) { if (promoteReleaseOperationBuilder_ == null) { - if (operationCase_ == 13 && - operation_ != com.google.cloud.deploy.v1.PromoteReleaseOperation.getDefaultInstance()) { - operation_ = com.google.cloud.deploy.v1.PromoteReleaseOperation.newBuilder((com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_) - .mergeFrom(value).buildPartial(); + if (operationCase_ == 13 + && operation_ + != com.google.cloud.deploy.v1.PromoteReleaseOperation.getDefaultInstance()) { + operation_ = + com.google.cloud.deploy.v1.PromoteReleaseOperation.newBuilder( + (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_) + .mergeFrom(value) + .buildPartial(); } else { operation_ = value; } @@ -3304,11 +3844,15 @@ public Builder mergePromoteReleaseOperation(com.google.cloud.deploy.v1.PromoteRe return this; } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPromoteReleaseOperation() { if (promoteReleaseOperationBuilder_ == null) { @@ -3327,24 +3871,34 @@ public Builder clearPromoteReleaseOperation() { return this; } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder getPromoteReleaseOperationBuilder() { + public com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder + getPromoteReleaseOperationBuilder() { return getPromoteReleaseOperationFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder getPromoteReleaseOperationOrBuilder() { + public com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder + getPromoteReleaseOperationOrBuilder() { if ((operationCase_ == 13) && (promoteReleaseOperationBuilder_ != null)) { return promoteReleaseOperationBuilder_.getMessageOrBuilder(); } else { @@ -3355,21 +3909,30 @@ public com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder getPromoteRel } } /** + * + * *
      * Output only. Promotes a release to a specified 'Target'.
      * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PromoteReleaseOperation, com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder, com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder> + com.google.cloud.deploy.v1.PromoteReleaseOperation, + com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder, + com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder> getPromoteReleaseOperationFieldBuilder() { if (promoteReleaseOperationBuilder_ == null) { if (!(operationCase_ == 13)) { operation_ = com.google.cloud.deploy.v1.PromoteReleaseOperation.getDefaultInstance(); } - promoteReleaseOperationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PromoteReleaseOperation, com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder, com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder>( + promoteReleaseOperationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PromoteReleaseOperation, + com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder, + com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder>( (com.google.cloud.deploy.v1.PromoteReleaseOperation) operation_, getParentForChildren(), isClean()); @@ -3381,13 +3944,21 @@ public com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder getPromoteRel } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceRolloutOperation, com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder, com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder> advanceRolloutOperationBuilder_; + com.google.cloud.deploy.v1.AdvanceRolloutOperation, + com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder, + com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder> + advanceRolloutOperationBuilder_; /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceRolloutOperation field is set. */ @java.lang.Override @@ -3395,11 +3966,16 @@ public boolean hasAdvanceRolloutOperation() { return operationCase_ == 14; } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceRolloutOperation. */ @java.lang.Override @@ -3417,13 +3993,18 @@ public com.google.cloud.deploy.v1.AdvanceRolloutOperation getAdvanceRolloutOpera } } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAdvanceRolloutOperation(com.google.cloud.deploy.v1.AdvanceRolloutOperation value) { + public Builder setAdvanceRolloutOperation( + com.google.cloud.deploy.v1.AdvanceRolloutOperation value) { if (advanceRolloutOperationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3437,11 +4018,15 @@ public Builder setAdvanceRolloutOperation(com.google.cloud.deploy.v1.AdvanceRoll return this; } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAdvanceRolloutOperation( com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder builderForValue) { @@ -3455,18 +4040,27 @@ public Builder setAdvanceRolloutOperation( return this; } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAdvanceRolloutOperation(com.google.cloud.deploy.v1.AdvanceRolloutOperation value) { + public Builder mergeAdvanceRolloutOperation( + com.google.cloud.deploy.v1.AdvanceRolloutOperation value) { if (advanceRolloutOperationBuilder_ == null) { - if (operationCase_ == 14 && - operation_ != com.google.cloud.deploy.v1.AdvanceRolloutOperation.getDefaultInstance()) { - operation_ = com.google.cloud.deploy.v1.AdvanceRolloutOperation.newBuilder((com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_) - .mergeFrom(value).buildPartial(); + if (operationCase_ == 14 + && operation_ + != com.google.cloud.deploy.v1.AdvanceRolloutOperation.getDefaultInstance()) { + operation_ = + com.google.cloud.deploy.v1.AdvanceRolloutOperation.newBuilder( + (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_) + .mergeFrom(value) + .buildPartial(); } else { operation_ = value; } @@ -3482,11 +4076,15 @@ public Builder mergeAdvanceRolloutOperation(com.google.cloud.deploy.v1.AdvanceRo return this; } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAdvanceRolloutOperation() { if (advanceRolloutOperationBuilder_ == null) { @@ -3505,24 +4103,34 @@ public Builder clearAdvanceRolloutOperation() { return this; } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder getAdvanceRolloutOperationBuilder() { + public com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder + getAdvanceRolloutOperationBuilder() { return getAdvanceRolloutOperationFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder getAdvanceRolloutOperationOrBuilder() { + public com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder + getAdvanceRolloutOperationOrBuilder() { if ((operationCase_ == 14) && (advanceRolloutOperationBuilder_ != null)) { return advanceRolloutOperationBuilder_.getMessageOrBuilder(); } else { @@ -3533,21 +4141,30 @@ public com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder getAdvanceRol } } /** + * + * *
      * Output only. Advances a rollout to the next phase.
      * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceRolloutOperation, com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder, com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder> + com.google.cloud.deploy.v1.AdvanceRolloutOperation, + com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder, + com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder> getAdvanceRolloutOperationFieldBuilder() { if (advanceRolloutOperationBuilder_ == null) { if (!(operationCase_ == 14)) { operation_ = com.google.cloud.deploy.v1.AdvanceRolloutOperation.getDefaultInstance(); } - advanceRolloutOperationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceRolloutOperation, com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder, com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder>( + advanceRolloutOperationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AdvanceRolloutOperation, + com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder, + com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder>( (com.google.cloud.deploy.v1.AdvanceRolloutOperation) operation_, getParentForChildren(), isClean()); @@ -3559,13 +4176,21 @@ public com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder getAdvanceRol } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RepairRolloutOperation, com.google.cloud.deploy.v1.RepairRolloutOperation.Builder, com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder> repairRolloutOperationBuilder_; + com.google.cloud.deploy.v1.RepairRolloutOperation, + com.google.cloud.deploy.v1.RepairRolloutOperation.Builder, + com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder> + repairRolloutOperationBuilder_; /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the repairRolloutOperation field is set. */ @java.lang.Override @@ -3573,11 +4198,16 @@ public boolean hasRepairRolloutOperation() { return operationCase_ == 17; } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The repairRolloutOperation. */ @java.lang.Override @@ -3595,13 +4225,18 @@ public com.google.cloud.deploy.v1.RepairRolloutOperation getRepairRolloutOperati } } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRepairRolloutOperation(com.google.cloud.deploy.v1.RepairRolloutOperation value) { + public Builder setRepairRolloutOperation( + com.google.cloud.deploy.v1.RepairRolloutOperation value) { if (repairRolloutOperationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3615,11 +4250,15 @@ public Builder setRepairRolloutOperation(com.google.cloud.deploy.v1.RepairRollou return this; } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRepairRolloutOperation( com.google.cloud.deploy.v1.RepairRolloutOperation.Builder builderForValue) { @@ -3633,18 +4272,27 @@ public Builder setRepairRolloutOperation( return this; } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeRepairRolloutOperation(com.google.cloud.deploy.v1.RepairRolloutOperation value) { + public Builder mergeRepairRolloutOperation( + com.google.cloud.deploy.v1.RepairRolloutOperation value) { if (repairRolloutOperationBuilder_ == null) { - if (operationCase_ == 17 && - operation_ != com.google.cloud.deploy.v1.RepairRolloutOperation.getDefaultInstance()) { - operation_ = com.google.cloud.deploy.v1.RepairRolloutOperation.newBuilder((com.google.cloud.deploy.v1.RepairRolloutOperation) operation_) - .mergeFrom(value).buildPartial(); + if (operationCase_ == 17 + && operation_ + != com.google.cloud.deploy.v1.RepairRolloutOperation.getDefaultInstance()) { + operation_ = + com.google.cloud.deploy.v1.RepairRolloutOperation.newBuilder( + (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_) + .mergeFrom(value) + .buildPartial(); } else { operation_ = value; } @@ -3660,11 +4308,15 @@ public Builder mergeRepairRolloutOperation(com.google.cloud.deploy.v1.RepairRoll return this; } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRepairRolloutOperation() { if (repairRolloutOperationBuilder_ == null) { @@ -3683,24 +4335,34 @@ public Builder clearRepairRolloutOperation() { return this; } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.RepairRolloutOperation.Builder getRepairRolloutOperationBuilder() { + public com.google.cloud.deploy.v1.RepairRolloutOperation.Builder + getRepairRolloutOperationBuilder() { return getRepairRolloutOperationFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder getRepairRolloutOperationOrBuilder() { + public com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder + getRepairRolloutOperationOrBuilder() { if ((operationCase_ == 17) && (repairRolloutOperationBuilder_ != null)) { return repairRolloutOperationBuilder_.getMessageOrBuilder(); } else { @@ -3711,21 +4373,30 @@ public com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder getRepairRollo } } /** + * + * *
      * Output only. Repairs a failed 'Rollout'.
      * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RepairRolloutOperation, com.google.cloud.deploy.v1.RepairRolloutOperation.Builder, com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder> + com.google.cloud.deploy.v1.RepairRolloutOperation, + com.google.cloud.deploy.v1.RepairRolloutOperation.Builder, + com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder> getRepairRolloutOperationFieldBuilder() { if (repairRolloutOperationBuilder_ == null) { if (!(operationCase_ == 17)) { operation_ = com.google.cloud.deploy.v1.RepairRolloutOperation.getDefaultInstance(); } - repairRolloutOperationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RepairRolloutOperation, com.google.cloud.deploy.v1.RepairRolloutOperation.Builder, com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder>( + repairRolloutOperationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RepairRolloutOperation, + com.google.cloud.deploy.v1.RepairRolloutOperation.Builder, + com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder>( (com.google.cloud.deploy.v1.RepairRolloutOperation) operation_, getParentForChildren(), isClean()); @@ -3738,42 +4409,61 @@ public com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder getRepairRollo private com.google.protobuf.Timestamp waitUntilTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> waitUntilTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + waitUntilTimeBuilder_; /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the waitUntilTime field is set. */ public boolean hasWaitUntilTime() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The waitUntilTime. */ public com.google.protobuf.Timestamp getWaitUntilTime() { if (waitUntilTimeBuilder_ == null) { - return waitUntilTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : waitUntilTime_; + return waitUntilTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : waitUntilTime_; } else { return waitUntilTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWaitUntilTime(com.google.protobuf.Timestamp value) { if (waitUntilTimeBuilder_ == null) { @@ -3789,15 +4479,18 @@ public Builder setWaitUntilTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setWaitUntilTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setWaitUntilTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (waitUntilTimeBuilder_ == null) { waitUntilTime_ = builderForValue.build(); } else { @@ -3808,18 +4501,22 @@ public Builder setWaitUntilTime( return this; } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeWaitUntilTime(com.google.protobuf.Timestamp value) { if (waitUntilTimeBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - waitUntilTime_ != null && - waitUntilTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && waitUntilTime_ != null + && waitUntilTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getWaitUntilTimeBuilder().mergeFrom(value); } else { waitUntilTime_ = value; @@ -3832,12 +4529,16 @@ public Builder mergeWaitUntilTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWaitUntilTime() { bitField0_ = (bitField0_ & ~0x00008000); @@ -3850,12 +4551,16 @@ public Builder clearWaitUntilTime() { return this; } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getWaitUntilTimeBuilder() { bitField0_ |= 0x00008000; @@ -3863,45 +4568,57 @@ public com.google.protobuf.Timestamp.Builder getWaitUntilTimeBuilder() { return getWaitUntilTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getWaitUntilTimeOrBuilder() { if (waitUntilTimeBuilder_ != null) { return waitUntilTimeBuilder_.getMessageOrBuilder(); } else { - return waitUntilTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : waitUntilTime_; + return waitUntilTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : waitUntilTime_; } } /** + * + * *
      * Output only. Earliest time the `AutomationRun` will attempt to resume.
      * Wait-time is configured by `wait` in automation rule.
      * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.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> getWaitUntilTimeFieldBuilder() { if (waitUntilTimeBuilder_ == null) { - waitUntilTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getWaitUntilTime(), - getParentForChildren(), - isClean()); + waitUntilTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getWaitUntilTime(), getParentForChildren(), isClean()); waitUntilTime_ = null; } return waitUntilTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3911,12 +4628,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AutomationRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AutomationRun) private static final com.google.cloud.deploy.v1.AutomationRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AutomationRun(); } @@ -3925,27 +4642,27 @@ public static com.google.cloud.deploy.v1.AutomationRun getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomationRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomationRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3960,6 +4677,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AutomationRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEvent.java similarity index 73% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEvent.java index 43db47a6a791..cf3cad98b239 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/automationrun_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/automation_run"
  * Platform Log event that describes the AutomationRun related events.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.AutomationRunEvent}
  */
-public final class AutomationRunEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomationRunEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.AutomationRunEvent)
     AutomationRunEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomationRunEvent.newBuilder() to construct.
   private AutomationRunEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomationRunEvent() {
     message_ = "";
     automationRun_ = "";
@@ -32,34 +50,39 @@ private AutomationRunEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomationRunEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.AutomationRunPayloadProto.internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.AutomationRunPayloadProto
+        .internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.AutomationRunPayloadProto.internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.AutomationRunPayloadProto
+        .internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.AutomationRunEvent.class, com.google.cloud.deploy.v1.AutomationRunEvent.Builder.class);
+            com.google.cloud.deploy.v1.AutomationRunEvent.class,
+            com.google.cloud.deploy.v1.AutomationRunEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -68,30 +91,30 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -100,14 +123,18 @@ public java.lang.String getMessage() { } public static final int AUTOMATION_RUN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object automationRun_ = ""; /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation_run = 2; + * * @return The automationRun. */ @java.lang.Override @@ -116,29 +143,29 @@ public java.lang.String getAutomationRun() { 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(); automationRun_ = s; return s; } } /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation_run = 2; + * * @return The bytes for automationRun. */ @java.lang.Override - public com.google.protobuf.ByteString - getAutomationRunBytes() { + public com.google.protobuf.ByteString getAutomationRunBytes() { java.lang.Object ref = automationRun_; 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); automationRun_ = b; return b; } else { @@ -147,14 +174,18 @@ public java.lang.String getAutomationRun() { } public static final int PIPELINE_UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ @java.lang.Override @@ -163,29 +194,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -194,14 +225,18 @@ public java.lang.String getPipelineUid() { } public static final int AUTOMATION_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object automationId_ = ""; /** + * + * *
    * Identifier of the `Automation`.
    * 
* * string automation_id = 4; + * * @return The automationId. */ @java.lang.Override @@ -210,29 +245,29 @@ public java.lang.String getAutomationId() { 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(); automationId_ = s; return s; } } /** + * + * *
    * Identifier of the `Automation`.
    * 
* * string automation_id = 4; + * * @return The bytes for automationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAutomationIdBytes() { + public com.google.protobuf.ByteString getAutomationIdBytes() { java.lang.Object ref = automationId_; 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); automationId_ = b; return b; } else { @@ -241,14 +276,18 @@ public java.lang.String getAutomationId() { } public static final int RULE_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object ruleId_ = ""; /** + * + * *
    * Identifier of the `Automation` rule.
    * 
* * string rule_id = 5; + * * @return The ruleId. */ @java.lang.Override @@ -257,29 +296,29 @@ public java.lang.String getRuleId() { 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(); ruleId_ = s; return s; } } /** + * + * *
    * Identifier of the `Automation` rule.
    * 
* * string rule_id = 5; + * * @return The bytes for ruleId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRuleIdBytes() { + public com.google.protobuf.ByteString getRuleIdBytes() { java.lang.Object ref = ruleId_; 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); ruleId_ = b; return b; } else { @@ -288,14 +327,18 @@ public java.lang.String getRuleId() { } public static final int DESTINATION_TARGET_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object destinationTargetId_ = ""; /** + * + * *
    * ID of the `Target` to which the `AutomationRun` is created.
    * 
* * string destination_target_id = 6; + * * @return The destinationTargetId. */ @java.lang.Override @@ -304,29 +347,29 @@ public java.lang.String getDestinationTargetId() { 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(); destinationTargetId_ = s; return s; } } /** + * + * *
    * ID of the `Target` to which the `AutomationRun` is created.
    * 
* * string destination_target_id = 6; + * * @return The bytes for destinationTargetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationTargetIdBytes() { + public com.google.protobuf.ByteString getDestinationTargetIdBytes() { java.lang.Object ref = destinationTargetId_; 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); destinationTargetId_ = b; return b; } else { @@ -337,30 +380,39 @@ public java.lang.String getDestinationTargetId() { public static final int TYPE_FIELD_NUMBER = 7; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +424,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -423,8 +474,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, destinationTargetId_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -434,25 +484,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.cloud.deploy.v1.AutomationRunEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.AutomationRunEvent other = (com.google.cloud.deploy.v1.AutomationRunEvent) obj; - - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getAutomationRun() - .equals(other.getAutomationRun())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; - if (!getAutomationId() - .equals(other.getAutomationId())) return false; - if (!getRuleId() - .equals(other.getRuleId())) return false; - if (!getDestinationTargetId() - .equals(other.getDestinationTargetId())) return false; + com.google.cloud.deploy.v1.AutomationRunEvent other = + (com.google.cloud.deploy.v1.AutomationRunEvent) obj; + + if (!getMessage().equals(other.getMessage())) return false; + if (!getAutomationRun().equals(other.getAutomationRun())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; + if (!getAutomationId().equals(other.getAutomationId())) return false; + if (!getRuleId().equals(other.getRuleId())) return false; + if (!getDestinationTargetId().equals(other.getDestinationTargetId())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -484,99 +529,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.AutomationRunEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.AutomationRunEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.AutomationRunEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.AutomationRunEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.AutomationRunEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/automation_run"
    * Platform Log event that describes the AutomationRun related events.
@@ -584,33 +634,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.AutomationRunEvent}
    */
-  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.cloud.deploy.v1.AutomationRunEvent)
       com.google.cloud.deploy.v1.AutomationRunEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.AutomationRunPayloadProto.internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.AutomationRunPayloadProto
+          .internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.AutomationRunPayloadProto.internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.AutomationRunPayloadProto
+          .internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.AutomationRunEvent.class, com.google.cloud.deploy.v1.AutomationRunEvent.Builder.class);
+              com.google.cloud.deploy.v1.AutomationRunEvent.class,
+              com.google.cloud.deploy.v1.AutomationRunEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.AutomationRunEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -626,9 +675,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.AutomationRunPayloadProto.internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.AutomationRunPayloadProto
+          .internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor;
     }
 
     @java.lang.Override
@@ -647,8 +696,11 @@ public com.google.cloud.deploy.v1.AutomationRunEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.AutomationRunEvent buildPartial() {
-      com.google.cloud.deploy.v1.AutomationRunEvent result = new com.google.cloud.deploy.v1.AutomationRunEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.AutomationRunEvent result =
+          new com.google.cloud.deploy.v1.AutomationRunEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -682,38 +734,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.AutomationRunEvent result)
     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) {
+        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) {
+        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.cloud.deploy.v1.AutomationRunEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.AutomationRunEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.AutomationRunEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -781,47 +834,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              automationRun_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              automationId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              ruleId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              destinationTargetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 56: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                automationRun_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                automationId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                ruleId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                destinationTargetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 56:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -831,23 +892,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -856,21 +920,22 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -878,30 +943,37 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -911,18 +983,22 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when there is an update on the AutomationRun.
      * Provides further details about the resource creation or state change.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -932,18 +1008,20 @@ public Builder setMessageBytes( private java.lang.Object automationRun_ = ""; /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation_run = 2; + * * @return The automationRun. */ public java.lang.String getAutomationRun() { java.lang.Object ref = automationRun_; 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(); automationRun_ = s; return s; @@ -952,20 +1030,21 @@ public java.lang.String getAutomationRun() { } } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation_run = 2; + * * @return The bytes for automationRun. */ - public com.google.protobuf.ByteString - getAutomationRunBytes() { + public com.google.protobuf.ByteString getAutomationRunBytes() { java.lang.Object ref = automationRun_; 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); automationRun_ = b; return b; } else { @@ -973,28 +1052,35 @@ public java.lang.String getAutomationRun() { } } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation_run = 2; + * * @param value The automationRun to set. * @return This builder for chaining. */ - public Builder setAutomationRun( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationRun(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } automationRun_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation_run = 2; + * * @return This builder for chaining. */ public Builder clearAutomationRun() { @@ -1004,17 +1090,21 @@ public Builder clearAutomationRun() { return this; } /** + * + * *
      * The name of the `AutomationRun`.
      * 
* * string automation_run = 2; + * * @param value The bytes for automationRun to set. * @return This builder for chaining. */ - public Builder setAutomationRunBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationRunBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); automationRun_ = value; bitField0_ |= 0x00000002; @@ -1024,18 +1114,20 @@ public Builder setAutomationRunBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -1044,20 +1136,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -1065,28 +1158,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -1096,17 +1196,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000004; @@ -1116,18 +1220,20 @@ public Builder setPipelineUidBytes( private java.lang.Object automationId_ = ""; /** + * + * *
      * Identifier of the `Automation`.
      * 
* * string automation_id = 4; + * * @return The automationId. */ public java.lang.String getAutomationId() { java.lang.Object ref = automationId_; 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(); automationId_ = s; return s; @@ -1136,20 +1242,21 @@ public java.lang.String getAutomationId() { } } /** + * + * *
      * Identifier of the `Automation`.
      * 
* * string automation_id = 4; + * * @return The bytes for automationId. */ - public com.google.protobuf.ByteString - getAutomationIdBytes() { + public com.google.protobuf.ByteString getAutomationIdBytes() { java.lang.Object ref = automationId_; 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); automationId_ = b; return b; } else { @@ -1157,28 +1264,35 @@ public java.lang.String getAutomationId() { } } /** + * + * *
      * Identifier of the `Automation`.
      * 
* * string automation_id = 4; + * * @param value The automationId to set. * @return This builder for chaining. */ - public Builder setAutomationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } automationId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Identifier of the `Automation`.
      * 
* * string automation_id = 4; + * * @return This builder for chaining. */ public Builder clearAutomationId() { @@ -1188,17 +1302,21 @@ public Builder clearAutomationId() { return this; } /** + * + * *
      * Identifier of the `Automation`.
      * 
* * string automation_id = 4; + * * @param value The bytes for automationId to set. * @return This builder for chaining. */ - public Builder setAutomationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); automationId_ = value; bitField0_ |= 0x00000008; @@ -1208,18 +1326,20 @@ public Builder setAutomationIdBytes( private java.lang.Object ruleId_ = ""; /** + * + * *
      * Identifier of the `Automation` rule.
      * 
* * string rule_id = 5; + * * @return The ruleId. */ public java.lang.String getRuleId() { java.lang.Object ref = ruleId_; 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(); ruleId_ = s; return s; @@ -1228,20 +1348,21 @@ public java.lang.String getRuleId() { } } /** + * + * *
      * Identifier of the `Automation` rule.
      * 
* * string rule_id = 5; + * * @return The bytes for ruleId. */ - public com.google.protobuf.ByteString - getRuleIdBytes() { + public com.google.protobuf.ByteString getRuleIdBytes() { java.lang.Object ref = ruleId_; 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); ruleId_ = b; return b; } else { @@ -1249,28 +1370,35 @@ public java.lang.String getRuleId() { } } /** + * + * *
      * Identifier of the `Automation` rule.
      * 
* * string rule_id = 5; + * * @param value The ruleId to set. * @return This builder for chaining. */ - public Builder setRuleId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ruleId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Identifier of the `Automation` rule.
      * 
* * string rule_id = 5; + * * @return This builder for chaining. */ public Builder clearRuleId() { @@ -1280,17 +1408,21 @@ public Builder clearRuleId() { return this; } /** + * + * *
      * Identifier of the `Automation` rule.
      * 
* * string rule_id = 5; + * * @param value The bytes for ruleId to set. * @return This builder for chaining. */ - public Builder setRuleIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRuleIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ruleId_ = value; bitField0_ |= 0x00000010; @@ -1300,18 +1432,20 @@ public Builder setRuleIdBytes( private java.lang.Object destinationTargetId_ = ""; /** + * + * *
      * ID of the `Target` to which the `AutomationRun` is created.
      * 
* * string destination_target_id = 6; + * * @return The destinationTargetId. */ public java.lang.String getDestinationTargetId() { java.lang.Object ref = destinationTargetId_; 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(); destinationTargetId_ = s; return s; @@ -1320,20 +1454,21 @@ public java.lang.String getDestinationTargetId() { } } /** + * + * *
      * ID of the `Target` to which the `AutomationRun` is created.
      * 
* * string destination_target_id = 6; + * * @return The bytes for destinationTargetId. */ - public com.google.protobuf.ByteString - getDestinationTargetIdBytes() { + public com.google.protobuf.ByteString getDestinationTargetIdBytes() { java.lang.Object ref = destinationTargetId_; 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); destinationTargetId_ = b; return b; } else { @@ -1341,28 +1476,35 @@ public java.lang.String getDestinationTargetId() { } } /** + * + * *
      * ID of the `Target` to which the `AutomationRun` is created.
      * 
* * string destination_target_id = 6; + * * @param value The destinationTargetId to set. * @return This builder for chaining. */ - public Builder setDestinationTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationTargetId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * ID of the `Target` to which the `AutomationRun` is created.
      * 
* * string destination_target_id = 6; + * * @return This builder for chaining. */ public Builder clearDestinationTargetId() { @@ -1372,17 +1514,21 @@ public Builder clearDestinationTargetId() { return this; } /** + * + * *
      * ID of the `Target` to which the `AutomationRun` is created.
      * 
* * string destination_target_id = 6; + * * @param value The bytes for destinationTargetId to set. * @return This builder for chaining. */ - public Builder setDestinationTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationTargetId_ = value; bitField0_ |= 0x00000020; @@ -1392,22 +1538,29 @@ public Builder setDestinationTargetIdBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1418,11 +1571,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ @java.lang.Override @@ -1431,11 +1587,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1449,11 +1608,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1462,9 +1624,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1474,12 +1636,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.AutomationRunEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.AutomationRunEvent) private static final com.google.cloud.deploy.v1.AutomationRunEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.AutomationRunEvent(); } @@ -1488,27 +1650,27 @@ public static com.google.cloud.deploy.v1.AutomationRunEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomationRunEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomationRunEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1523,6 +1685,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.AutomationRunEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEventOrBuilder.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEventOrBuilder.java index 6f47990336e6..a2ceeee77acd 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunEventOrBuilder.java @@ -1,149 +1,201 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/automationrun_payload.proto package com.google.cloud.deploy.v1; -public interface AutomationRunEventOrBuilder extends +public interface AutomationRunEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationRunEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when there is an update on the AutomationRun.
    * Provides further details about the resource creation or state change.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation_run = 2; + * * @return The automationRun. */ java.lang.String getAutomationRun(); /** + * + * *
    * The name of the `AutomationRun`.
    * 
* * string automation_run = 2; + * * @return The bytes for automationRun. */ - com.google.protobuf.ByteString - getAutomationRunBytes(); + com.google.protobuf.ByteString getAutomationRunBytes(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * Identifier of the `Automation`.
    * 
* * string automation_id = 4; + * * @return The automationId. */ java.lang.String getAutomationId(); /** + * + * *
    * Identifier of the `Automation`.
    * 
* * string automation_id = 4; + * * @return The bytes for automationId. */ - com.google.protobuf.ByteString - getAutomationIdBytes(); + com.google.protobuf.ByteString getAutomationIdBytes(); /** + * + * *
    * Identifier of the `Automation` rule.
    * 
* * string rule_id = 5; + * * @return The ruleId. */ java.lang.String getRuleId(); /** + * + * *
    * Identifier of the `Automation` rule.
    * 
* * string rule_id = 5; + * * @return The bytes for ruleId. */ - com.google.protobuf.ByteString - getRuleIdBytes(); + com.google.protobuf.ByteString getRuleIdBytes(); /** + * + * *
    * ID of the `Target` to which the `AutomationRun` is created.
    * 
* * string destination_target_id = 6; + * * @return The destinationTargetId. */ java.lang.String getDestinationTargetId(); /** + * + * *
    * ID of the `Target` to which the `AutomationRun` is created.
    * 
* * string destination_target_id = 6; + * * @return The bytes for destinationTargetId. */ - com.google.protobuf.ByteString - getDestinationTargetIdBytes(); + com.google.protobuf.ByteString getDestinationTargetIdBytes(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunOrBuilder.java index 403c1464eff8..193bf00782d6 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunOrBuilder.java @@ -1,89 +1,134 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface AutomationRunOrBuilder extends +public interface AutomationRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the `AutomationRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the `AutomationRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Time at which the `AutomationRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the `AutomationRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the `AutomationRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the automationRun was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time at which the automationRun was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time at which the automationRun was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The weak etag of the `AutomationRun` resource.
    * This checksum is computed by the server based on the value of other
@@ -92,10 +137,13 @@ public interface AutomationRunOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Output only. The weak etag of the `AutomationRun` resource.
    * This checksum is computed by the server based on the value of other
@@ -104,64 +152,85 @@ public interface AutomationRunOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Output only. Email address of the user-managed IAM service account that
    * performs the operations against Cloud Deploy resources.
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Output only. Email address of the user-managed IAM service account that
    * performs the operations against Cloud Deploy resources.
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Output only. Snapshot of the Automation taken at AutomationRun creation
    * time.
    * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the automationSnapshot field is set. */ boolean hasAutomationSnapshot(); /** + * + * *
    * Output only. Snapshot of the Automation taken at AutomationRun creation
    * time.
    * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The automationSnapshot. */ com.google.cloud.deploy.v1.Automation getAutomationSnapshot(); /** + * + * *
    * Output only. Snapshot of the Automation taken at AutomationRun creation
    * time.
    * 
* - * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationSnapshotOrBuilder(); /** + * + * *
    * Output only. The ID of the target that represents the promotion stage that
    * initiates the `AutomationRun`. The value of this field is the last segment
@@ -169,10 +238,13 @@ public interface AutomationRunOrBuilder extends
    * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * Output only. The ID of the target that represents the promotion stage that
    * initiates the `AutomationRun`. The value of this field is the last segment
@@ -180,230 +252,322 @@ public interface AutomationRunOrBuilder extends
    * 
* * string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Output only. Current state of the `AutomationRun`.
    * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the `AutomationRun`.
    * 
* - * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.deploy.v1.AutomationRun.State getState(); /** + * + * *
    * Output only. Explains the current state of the `AutomationRun`. Present
    * only when an explanation is needed.
    * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDescription. */ java.lang.String getStateDescription(); /** + * + * *
    * Output only. Explains the current state of the `AutomationRun`. Present
    * only when an explanation is needed.
    * 
* * string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString - getStateDescriptionBytes(); + com.google.protobuf.ByteString getStateDescriptionBytes(); /** + * + * *
    * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
    * after 14 days from its creation date.
    * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
    * after 14 days from its creation date.
    * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
    * after 14 days from its creation date.
    * 
* - * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Output only. The ID of the automation rule that initiated the operation.
    * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ruleId. */ java.lang.String getRuleId(); /** + * + * *
    * Output only. The ID of the automation rule that initiated the operation.
    * 
* * string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ruleId. */ - com.google.protobuf.ByteString - getRuleIdBytes(); + com.google.protobuf.ByteString getRuleIdBytes(); /** + * + * *
    * Output only. The ID of the automation that initiated the operation.
    * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The automationId. */ java.lang.String getAutomationId(); /** + * + * *
    * Output only. The ID of the automation that initiated the operation.
    * 
* * string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for automationId. */ - com.google.protobuf.ByteString - getAutomationIdBytes(); + com.google.protobuf.ByteString getAutomationIdBytes(); /** + * + * *
    * Output only. Promotes a release to a specified 'Target'.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the promoteReleaseOperation field is set. */ boolean hasPromoteReleaseOperation(); /** + * + * *
    * Output only. Promotes a release to a specified 'Target'.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The promoteReleaseOperation. */ com.google.cloud.deploy.v1.PromoteReleaseOperation getPromoteReleaseOperation(); /** + * + * *
    * Output only. Promotes a release to a specified 'Target'.
    * 
* - * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder getPromoteReleaseOperationOrBuilder(); /** + * + * *
    * Output only. Advances a rollout to the next phase.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceRolloutOperation field is set. */ boolean hasAdvanceRolloutOperation(); /** + * + * *
    * Output only. Advances a rollout to the next phase.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceRolloutOperation. */ com.google.cloud.deploy.v1.AdvanceRolloutOperation getAdvanceRolloutOperation(); /** + * + * *
    * Output only. Advances a rollout to the next phase.
    * 
* - * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.AdvanceRolloutOperationOrBuilder getAdvanceRolloutOperationOrBuilder(); /** + * + * *
    * Output only. Repairs a failed 'Rollout'.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the repairRolloutOperation field is set. */ boolean hasRepairRolloutOperation(); /** + * + * *
    * Output only. Repairs a failed 'Rollout'.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The repairRolloutOperation. */ com.google.cloud.deploy.v1.RepairRolloutOperation getRepairRolloutOperation(); /** + * + * *
    * Output only. Repairs a failed 'Rollout'.
    * 
* - * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder getRepairRolloutOperationOrBuilder(); /** + * + * *
    * Output only. Earliest time the `AutomationRun` will attempt to resume.
    * Wait-time is configured by `wait` in automation rule.
    * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the waitUntilTime field is set. */ boolean hasWaitUntilTime(); /** + * + * *
    * Output only. Earliest time the `AutomationRun` will attempt to resume.
    * Wait-time is configured by `wait` in automation rule.
    * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The waitUntilTime. */ com.google.protobuf.Timestamp getWaitUntilTime(); /** + * + * *
    * Output only. Earliest time the `AutomationRun` will attempt to resume.
    * Wait-time is configured by `wait` in automation rule.
    * 
* - * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getWaitUntilTimeOrBuilder(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunPayloadProto.java new file mode 100644 index 000000000000..b4de0a8c102b --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunPayloadProto.java @@ -0,0 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/automationrun_payload.proto + +package com.google.cloud.deploy.v1; + +public final class AutomationRunPayloadProto { + private AutomationRunPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/deploy/v1/automationrun_p" + + "ayload.proto\022\026google.cloud.deploy.v1\032&go" + + "ogle/cloud/deploy/v1/log_enums.proto\"\306\001\n" + + "\022AutomationRunEvent\022\017\n\007message\030\001 \001(\t\022\026\n\016" + + "automation_run\030\002 \001(\t\022\024\n\014pipeline_uid\030\003 \001" + + "(\t\022\025\n\rautomation_id\030\004 \001(\t\022\017\n\007rule_id\030\005 \001" + + "(\t\022\035\n\025destination_target_id\030\006 \001(\t\022*\n\004typ" + + "e\030\007 \001(\0162\034.google.cloud.deploy.v1.TypeBm\n" + + "\032com.google.cloud.deploy.v1B\031AutomationR" + + "unPayloadProtoP\001Z2cloud.google.com/go/de" + + "ploy/apiv1/deploypb;deploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor, + new java.lang.String[] { + "Message", + "AutomationRun", + "PipelineUid", + "AutomationId", + "RuleId", + "DestinationTargetId", + "Type", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BackoffMode.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BackoffMode.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BackoffMode.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BackoffMode.java index e0c10b171cc0..9fa7aa5287b9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BackoffMode.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BackoffMode.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The pattern of how wait time is increased.
  * 
* * Protobuf enum {@code google.cloud.deploy.v1.BackoffMode} */ -public enum BackoffMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum BackoffMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * No WaitMode is specified.
    * 
@@ -21,6 +39,8 @@ public enum BackoffMode */ BACKOFF_MODE_UNSPECIFIED(0), /** + * + * *
    * Increases the wait time linearly.
    * 
@@ -29,6 +49,8 @@ public enum BackoffMode */ BACKOFF_MODE_LINEAR(1), /** + * + * *
    * Increases the wait time exponentially.
    * 
@@ -40,6 +62,8 @@ public enum BackoffMode ; /** + * + * *
    * No WaitMode is specified.
    * 
@@ -48,6 +72,8 @@ public enum BackoffMode */ public static final int BACKOFF_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Increases the wait time linearly.
    * 
@@ -56,6 +82,8 @@ public enum BackoffMode */ public static final int BACKOFF_MODE_LINEAR_VALUE = 1; /** + * + * *
    * Increases the wait time exponentially.
    * 
@@ -64,7 +92,6 @@ public enum BackoffMode */ public static final int BACKOFF_MODE_EXPONENTIAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static BackoffMode valueOf(int value) { */ public static BackoffMode forNumber(int value) { switch (value) { - case 0: return BACKOFF_MODE_UNSPECIFIED; - case 1: return BACKOFF_MODE_LINEAR; - case 2: return BACKOFF_MODE_EXPONENTIAL; - default: return null; + case 0: + return BACKOFF_MODE_UNSPECIFIED; + case 1: + return BACKOFF_MODE_LINEAR; + case 2: + return BACKOFF_MODE_EXPONENTIAL; + 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< - BackoffMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BackoffMode findValueByNumber(int number) { - return BackoffMode.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 BackoffMode findValueByNumber(int number) { + return BackoffMode.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor().getEnumTypes().get(1); } private static final BackoffMode[] VALUES = values(); - public static BackoffMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BackoffMode 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; @@ -147,4 +174,3 @@ private BackoffMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.deploy.v1.BackoffMode) } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java index 862ac028a52c..13db0342f847 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Description of an a image to use during Skaffold rendering.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.BuildArtifact} */ -public final class BuildArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BuildArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.BuildArtifact) BuildArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BuildArtifact.newBuilder() to construct. private BuildArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BuildArtifact() { image_ = ""; tag_ = ""; @@ -26,33 +44,38 @@ private BuildArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BuildArtifact(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.BuildArtifact.class, com.google.cloud.deploy.v1.BuildArtifact.Builder.class); + com.google.cloud.deploy.v1.BuildArtifact.class, + com.google.cloud.deploy.v1.BuildArtifact.Builder.class); } public static final int IMAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object image_ = ""; /** + * + * *
    * Image name in Skaffold configuration.
    * 
* * string image = 3; + * * @return The image. */ @java.lang.Override @@ -61,29 +84,29 @@ public java.lang.String getImage() { 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(); image_ = s; return s; } } /** + * + * *
    * Image name in Skaffold configuration.
    * 
* * string image = 3; + * * @return The bytes for image. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageBytes() { + public com.google.protobuf.ByteString getImageBytes() { java.lang.Object ref = image_; 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); image_ = b; return b; } else { @@ -92,9 +115,12 @@ public java.lang.String getImage() { } public static final int TAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tag_ = ""; /** + * + * *
    * Image tag to use. This will generally be the full path to an image, such
    * as "gcr.io/my-project/busybox:1.2.3" or
@@ -102,6 +128,7 @@ public java.lang.String getImage() {
    * 
* * string tag = 2; + * * @return The tag. */ @java.lang.Override @@ -110,14 +137,15 @@ public java.lang.String getTag() { 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(); tag_ = s; return s; } } /** + * + * *
    * Image tag to use. This will generally be the full path to an image, such
    * as "gcr.io/my-project/busybox:1.2.3" or
@@ -125,16 +153,15 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; + * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagBytes() { + public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,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(tag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tag_); } @@ -185,17 +212,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.cloud.deploy.v1.BuildArtifact)) { return super.equals(obj); } com.google.cloud.deploy.v1.BuildArtifact other = (com.google.cloud.deploy.v1.BuildArtifact) obj; - if (!getImage() - .equals(other.getImage())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getImage().equals(other.getImage())) return false; + if (!getTag().equals(other.getTag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,132 +241,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.BuildArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.BuildArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.BuildArtifact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.BuildArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.BuildArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Description of an a image to use during Skaffold rendering.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.BuildArtifact} */ - 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.cloud.deploy.v1.BuildArtifact) com.google.cloud.deploy.v1.BuildArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.BuildArtifact.class, com.google.cloud.deploy.v1.BuildArtifact.Builder.class); + com.google.cloud.deploy.v1.BuildArtifact.class, + com.google.cloud.deploy.v1.BuildArtifact.Builder.class); } // Construct using com.google.cloud.deploy.v1.BuildArtifact.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; } @java.lang.Override @@ -373,8 +402,11 @@ public com.google.cloud.deploy.v1.BuildArtifact build() { @java.lang.Override public com.google.cloud.deploy.v1.BuildArtifact buildPartial() { - com.google.cloud.deploy.v1.BuildArtifact result = new com.google.cloud.deploy.v1.BuildArtifact(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.BuildArtifact result = + new com.google.cloud.deploy.v1.BuildArtifact(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,38 +425,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.BuildArtifact result) { 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) { + 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) { + 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.cloud.deploy.v1.BuildArtifact) { - return mergeFrom((com.google.cloud.deploy.v1.BuildArtifact)other); + return mergeFrom((com.google.cloud.deploy.v1.BuildArtifact) other); } else { super.mergeFrom(other); return this; @@ -469,22 +502,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - tag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - image_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + tag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + image_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,22 +530,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object image_ = ""; /** + * + * *
      * Image name in Skaffold configuration.
      * 
* * string image = 3; + * * @return The image. */ public java.lang.String getImage() { java.lang.Object ref = image_; 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(); image_ = s; return s; @@ -518,20 +557,21 @@ public java.lang.String getImage() { } } /** + * + * *
      * Image name in Skaffold configuration.
      * 
* * string image = 3; + * * @return The bytes for image. */ - public com.google.protobuf.ByteString - getImageBytes() { + public com.google.protobuf.ByteString getImageBytes() { java.lang.Object ref = image_; 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); image_ = b; return b; } else { @@ -539,28 +579,35 @@ public java.lang.String getImage() { } } /** + * + * *
      * Image name in Skaffold configuration.
      * 
* * string image = 3; + * * @param value The image to set. * @return This builder for chaining. */ - public Builder setImage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } image_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Image name in Skaffold configuration.
      * 
* * string image = 3; + * * @return This builder for chaining. */ public Builder clearImage() { @@ -570,17 +617,21 @@ public Builder clearImage() { return this; } /** + * + * *
      * Image name in Skaffold configuration.
      * 
* * string image = 3; + * * @param value The bytes for image to set. * @return This builder for chaining. */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); image_ = value; bitField0_ |= 0x00000001; @@ -590,6 +641,8 @@ public Builder setImageBytes( private java.lang.Object tag_ = ""; /** + * + * *
      * Image tag to use. This will generally be the full path to an image, such
      * as "gcr.io/my-project/busybox:1.2.3" or
@@ -597,13 +650,13 @@ public Builder setImageBytes(
      * 
* * string tag = 2; + * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; @@ -612,6 +665,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * Image tag to use. This will generally be the full path to an image, such
      * as "gcr.io/my-project/busybox:1.2.3" or
@@ -619,15 +674,14 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @return The bytes for tag. */ - public com.google.protobuf.ByteString - getTagBytes() { + public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { @@ -635,6 +689,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * Image tag to use. This will generally be the full path to an image, such
      * as "gcr.io/my-project/busybox:1.2.3" or
@@ -642,18 +698,22 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Image tag to use. This will generally be the full path to an image, such
      * as "gcr.io/my-project/busybox:1.2.3" or
@@ -661,6 +721,7 @@ public Builder setTag(
      * 
* * string tag = 2; + * * @return This builder for chaining. */ public Builder clearTag() { @@ -670,6 +731,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * Image tag to use. This will generally be the full path to an image, such
      * as "gcr.io/my-project/busybox:1.2.3" or
@@ -677,21 +740,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; + * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.BuildArtifact) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.BuildArtifact) private static final com.google.cloud.deploy.v1.BuildArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.BuildArtifact(); } @@ -715,27 +780,27 @@ public static com.google.cloud.deploy.v1.BuildArtifact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BuildArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuildArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.BuildArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java index 6d6cbbdc8bde..60eca382579a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface BuildArtifactOrBuilder extends +public interface BuildArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.BuildArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Image name in Skaffold configuration.
    * 
* * string image = 3; + * * @return The image. */ java.lang.String getImage(); /** + * + * *
    * Image name in Skaffold configuration.
    * 
* * string image = 3; + * * @return The bytes for image. */ - com.google.protobuf.ByteString - getImageBytes(); + com.google.protobuf.ByteString getImageBytes(); /** + * + * *
    * Image tag to use. This will generally be the full path to an image, such
    * as "gcr.io/my-project/busybox:1.2.3" or
@@ -35,10 +58,13 @@ public interface BuildArtifactOrBuilder extends
    * 
* * string tag = 2; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * Image tag to use. This will generally be the full path to an image, such
    * as "gcr.io/my-project/busybox:1.2.3" or
@@ -46,8 +72,8 @@ public interface BuildArtifactOrBuilder extends
    * 
* * string tag = 2; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java index 45e00fac9abb..33b905c115c3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java @@ -1,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Canary represents the canary deployment strategy.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Canary} */ -public final class Canary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Canary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Canary) CanaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Canary.newBuilder() to construct. private Canary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Canary() { - } + + private Canary() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Canary(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Canary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Canary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Canary.class, com.google.cloud.deploy.v1.Canary.Builder.class); + com.google.cloud.deploy.v1.Canary.class, + com.google.cloud.deploy.v1.Canary.Builder.class); } private int modeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object mode_; + public enum ModeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CANARY_DEPLOYMENT(2), CUSTOM_CANARY_DEPLOYMENT(3), MODE_NOT_SET(0); private final int value; + private ModeCase(int value) { this.value = value; } @@ -67,33 +89,41 @@ public static ModeCase valueOf(int value) { public static ModeCase forNumber(int value) { switch (value) { - case 2: return CANARY_DEPLOYMENT; - case 3: return CUSTOM_CANARY_DEPLOYMENT; - case 0: return MODE_NOT_SET; - default: return null; + case 2: + return CANARY_DEPLOYMENT; + case 3: + return CUSTOM_CANARY_DEPLOYMENT; + case 0: + return MODE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ModeCase - getModeCase() { - return ModeCase.forNumber( - modeCase_); + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); } public static final int RUNTIME_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.RuntimeConfig runtimeConfig_; /** + * + * *
    * Optional. Runtime specific configurations for the deployment strategy. The
    * runtime configuration is used to determine how Cloud Deploy will split
    * traffic to enable a progressive deployment.
    * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the runtimeConfig field is set. */ @java.lang.Override @@ -101,40 +131,56 @@ public boolean hasRuntimeConfig() { return runtimeConfig_ != null; } /** + * + * *
    * Optional. Runtime specific configurations for the deployment strategy. The
    * runtime configuration is used to determine how Cloud Deploy will split
    * traffic to enable a progressive deployment.
    * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The runtimeConfig. */ @java.lang.Override public com.google.cloud.deploy.v1.RuntimeConfig getRuntimeConfig() { - return runtimeConfig_ == null ? com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() : runtimeConfig_; + return runtimeConfig_ == null + ? com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() + : runtimeConfig_; } /** + * + * *
    * Optional. Runtime specific configurations for the deployment strategy. The
    * runtime configuration is used to determine how Cloud Deploy will split
    * traffic to enable a progressive deployment.
    * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RuntimeConfigOrBuilder getRuntimeConfigOrBuilder() { - return runtimeConfig_ == null ? com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() : runtimeConfig_; + return runtimeConfig_ == null + ? com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() + : runtimeConfig_; } public static final int CANARY_DEPLOYMENT_FIELD_NUMBER = 2; /** + * + * *
    * Configures the progressive based deployment for a Target.
    * 
* * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * * @return Whether the canaryDeployment field is set. */ @java.lang.Override @@ -142,21 +188,26 @@ public boolean hasCanaryDeployment() { return modeCase_ == 2; } /** + * + * *
    * Configures the progressive based deployment for a Target.
    * 
* * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * * @return The canaryDeployment. */ @java.lang.Override public com.google.cloud.deploy.v1.CanaryDeployment getCanaryDeployment() { if (modeCase_ == 2) { - return (com.google.cloud.deploy.v1.CanaryDeployment) mode_; + return (com.google.cloud.deploy.v1.CanaryDeployment) mode_; } return com.google.cloud.deploy.v1.CanaryDeployment.getDefaultInstance(); } /** + * + * *
    * Configures the progressive based deployment for a Target.
    * 
@@ -166,13 +217,15 @@ public com.google.cloud.deploy.v1.CanaryDeployment getCanaryDeployment() { @java.lang.Override public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder() { if (modeCase_ == 2) { - return (com.google.cloud.deploy.v1.CanaryDeployment) mode_; + return (com.google.cloud.deploy.v1.CanaryDeployment) mode_; } return com.google.cloud.deploy.v1.CanaryDeployment.getDefaultInstance(); } public static final int CUSTOM_CANARY_DEPLOYMENT_FIELD_NUMBER = 3; /** + * + * *
    * Configures the progressive based deployment for a Target, but allows
    * customizing at the phase level where a phase represents each of the
@@ -180,6 +233,7 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO
    * 
* * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * * @return Whether the customCanaryDeployment field is set. */ @java.lang.Override @@ -187,6 +241,8 @@ public boolean hasCustomCanaryDeployment() { return modeCase_ == 3; } /** + * + * *
    * Configures the progressive based deployment for a Target, but allows
    * customizing at the phase level where a phase represents each of the
@@ -194,16 +250,19 @@ public boolean hasCustomCanaryDeployment() {
    * 
* * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * * @return The customCanaryDeployment. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployment() { if (modeCase_ == 3) { - return (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_; + return (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_; } return com.google.cloud.deploy.v1.CustomCanaryDeployment.getDefaultInstance(); } /** + * + * *
    * Configures the progressive based deployment for a Target, but allows
    * customizing at the phase level where a phase represents each of the
@@ -213,14 +272,16 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployme
    * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
    */
   @java.lang.Override
-  public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder getCustomCanaryDeploymentOrBuilder() {
+  public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder
+      getCustomCanaryDeploymentOrBuilder() {
     if (modeCase_ == 3) {
-       return (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_;
+      return (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_;
     }
     return com.google.cloud.deploy.v1.CustomCanaryDeployment.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -232,8 +293,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 (runtimeConfig_ != null) {
       output.writeMessage(1, getRuntimeConfig());
     }
@@ -253,16 +313,17 @@ public int getSerializedSize() {
 
     size = 0;
     if (runtimeConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRuntimeConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRuntimeConfig());
     }
     if (modeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.cloud.deploy.v1.CanaryDeployment) mode_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.cloud.deploy.v1.CanaryDeployment) mode_);
     }
     if (modeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -272,7 +333,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.deploy.v1.Canary)) {
       return super.equals(obj);
@@ -281,18 +342,15 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRuntimeConfig() != other.hasRuntimeConfig()) return false;
     if (hasRuntimeConfig()) {
-      if (!getRuntimeConfig()
-          .equals(other.getRuntimeConfig())) return false;
+      if (!getRuntimeConfig().equals(other.getRuntimeConfig())) return false;
     }
     if (!getModeCase().equals(other.getModeCase())) return false;
     switch (modeCase_) {
       case 2:
-        if (!getCanaryDeployment()
-            .equals(other.getCanaryDeployment())) return false;
+        if (!getCanaryDeployment().equals(other.getCanaryDeployment())) return false;
         break;
       case 3:
-        if (!getCustomCanaryDeployment()
-            .equals(other.getCustomCanaryDeployment())) return false;
+        if (!getCustomCanaryDeployment().equals(other.getCustomCanaryDeployment())) return false;
         break;
       case 0:
       default:
@@ -329,132 +387,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.deploy.v1.Canary parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.deploy.v1.Canary parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.deploy.v1.Canary parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.deploy.v1.Canary parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.cloud.deploy.v1.Canary parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.deploy.v1.Canary parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.Canary parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.deploy.v1.Canary prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Canary represents the canary deployment strategy.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Canary} */ - 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.cloud.deploy.v1.Canary) com.google.cloud.deploy.v1.CanaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Canary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Canary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Canary.class, com.google.cloud.deploy.v1.Canary.Builder.class); + com.google.cloud.deploy.v1.Canary.class, + com.google.cloud.deploy.v1.Canary.Builder.class); } // Construct using com.google.cloud.deploy.v1.Canary.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Canary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Canary_descriptor; } @java.lang.Override @@ -498,7 +559,9 @@ public com.google.cloud.deploy.v1.Canary build() { @java.lang.Override public com.google.cloud.deploy.v1.Canary buildPartial() { com.google.cloud.deploy.v1.Canary result = new com.google.cloud.deploy.v1.Canary(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -507,21 +570,18 @@ public com.google.cloud.deploy.v1.Canary buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.Canary result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.runtimeConfig_ = runtimeConfigBuilder_ == null - ? runtimeConfig_ - : runtimeConfigBuilder_.build(); + result.runtimeConfig_ = + runtimeConfigBuilder_ == null ? runtimeConfig_ : runtimeConfigBuilder_.build(); } } private void buildPartialOneofs(com.google.cloud.deploy.v1.Canary result) { result.modeCase_ = modeCase_; result.mode_ = this.mode_; - if (modeCase_ == 2 && - canaryDeploymentBuilder_ != null) { + if (modeCase_ == 2 && canaryDeploymentBuilder_ != null) { result.mode_ = canaryDeploymentBuilder_.build(); } - if (modeCase_ == 3 && - customCanaryDeploymentBuilder_ != null) { + if (modeCase_ == 3 && customCanaryDeploymentBuilder_ != null) { result.mode_ = customCanaryDeploymentBuilder_.build(); } } @@ -530,38 +590,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.Canary result) { 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) { + 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) { + 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.cloud.deploy.v1.Canary) { - return mergeFrom((com.google.cloud.deploy.v1.Canary)other); + return mergeFrom((com.google.cloud.deploy.v1.Canary) other); } else { super.mergeFrom(other); return this; @@ -574,17 +635,20 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Canary other) { mergeRuntimeConfig(other.getRuntimeConfig()); } switch (other.getModeCase()) { - case CANARY_DEPLOYMENT: { - mergeCanaryDeployment(other.getCanaryDeployment()); - break; - } - case CUSTOM_CANARY_DEPLOYMENT: { - mergeCustomCanaryDeployment(other.getCustomCanaryDeployment()); - break; - } - case MODE_NOT_SET: { - break; - } + case CANARY_DEPLOYMENT: + { + mergeCanaryDeployment(other.getCanaryDeployment()); + break; + } + case CUSTOM_CANARY_DEPLOYMENT: + { + mergeCustomCanaryDeployment(other.getCustomCanaryDeployment()); + break; + } + case MODE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -612,33 +676,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRuntimeConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCanaryDeploymentFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getCustomCanaryDeploymentFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRuntimeConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getCanaryDeploymentFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getCustomCanaryDeploymentFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,12 +712,12 @@ public Builder mergeFrom( } // finally return this; } + private int modeCase_ = 0; private java.lang.Object mode_; - public ModeCase - getModeCase() { - return ModeCase.forNumber( - modeCase_); + + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); } public Builder clearMode() { @@ -667,45 +731,64 @@ public Builder clearMode() { private com.google.cloud.deploy.v1.RuntimeConfig runtimeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RuntimeConfig, com.google.cloud.deploy.v1.RuntimeConfig.Builder, com.google.cloud.deploy.v1.RuntimeConfigOrBuilder> runtimeConfigBuilder_; + com.google.cloud.deploy.v1.RuntimeConfig, + com.google.cloud.deploy.v1.RuntimeConfig.Builder, + com.google.cloud.deploy.v1.RuntimeConfigOrBuilder> + runtimeConfigBuilder_; /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the runtimeConfig field is set. */ public boolean hasRuntimeConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The runtimeConfig. */ public com.google.cloud.deploy.v1.RuntimeConfig getRuntimeConfig() { if (runtimeConfigBuilder_ == null) { - return runtimeConfig_ == null ? com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() : runtimeConfig_; + return runtimeConfig_ == null + ? com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() + : runtimeConfig_; } else { return runtimeConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRuntimeConfig(com.google.cloud.deploy.v1.RuntimeConfig value) { if (runtimeConfigBuilder_ == null) { @@ -721,13 +804,17 @@ public Builder setRuntimeConfig(com.google.cloud.deploy.v1.RuntimeConfig value) return this; } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRuntimeConfig( com.google.cloud.deploy.v1.RuntimeConfig.Builder builderForValue) { @@ -741,19 +828,23 @@ public Builder setRuntimeConfig( return this; } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRuntimeConfig(com.google.cloud.deploy.v1.RuntimeConfig value) { if (runtimeConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - runtimeConfig_ != null && - runtimeConfig_ != com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && runtimeConfig_ != null + && runtimeConfig_ != com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance()) { getRuntimeConfigBuilder().mergeFrom(value); } else { runtimeConfig_ = value; @@ -766,13 +857,17 @@ public Builder mergeRuntimeConfig(com.google.cloud.deploy.v1.RuntimeConfig value return this; } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRuntimeConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -785,13 +880,17 @@ public Builder clearRuntimeConfig() { return this; } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.RuntimeConfig.Builder getRuntimeConfigBuilder() { bitField0_ |= 0x00000001; @@ -799,53 +898,71 @@ public com.google.cloud.deploy.v1.RuntimeConfig.Builder getRuntimeConfigBuilder( return getRuntimeConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.RuntimeConfigOrBuilder getRuntimeConfigOrBuilder() { if (runtimeConfigBuilder_ != null) { return runtimeConfigBuilder_.getMessageOrBuilder(); } else { - return runtimeConfig_ == null ? - com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() : runtimeConfig_; + return runtimeConfig_ == null + ? com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance() + : runtimeConfig_; } } /** + * + * *
      * Optional. Runtime specific configurations for the deployment strategy. The
      * runtime configuration is used to determine how Cloud Deploy will split
      * traffic to enable a progressive deployment.
      * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RuntimeConfig, com.google.cloud.deploy.v1.RuntimeConfig.Builder, com.google.cloud.deploy.v1.RuntimeConfigOrBuilder> + com.google.cloud.deploy.v1.RuntimeConfig, + com.google.cloud.deploy.v1.RuntimeConfig.Builder, + com.google.cloud.deploy.v1.RuntimeConfigOrBuilder> getRuntimeConfigFieldBuilder() { if (runtimeConfigBuilder_ == null) { - runtimeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RuntimeConfig, com.google.cloud.deploy.v1.RuntimeConfig.Builder, com.google.cloud.deploy.v1.RuntimeConfigOrBuilder>( - getRuntimeConfig(), - getParentForChildren(), - isClean()); + runtimeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RuntimeConfig, + com.google.cloud.deploy.v1.RuntimeConfig.Builder, + com.google.cloud.deploy.v1.RuntimeConfigOrBuilder>( + getRuntimeConfig(), getParentForChildren(), isClean()); runtimeConfig_ = null; } return runtimeConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CanaryDeployment, com.google.cloud.deploy.v1.CanaryDeployment.Builder, com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder> canaryDeploymentBuilder_; + com.google.cloud.deploy.v1.CanaryDeployment, + com.google.cloud.deploy.v1.CanaryDeployment.Builder, + com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder> + canaryDeploymentBuilder_; /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
* * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * * @return Whether the canaryDeployment field is set. */ @java.lang.Override @@ -853,11 +970,14 @@ public boolean hasCanaryDeployment() { return modeCase_ == 2; } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
* * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * * @return The canaryDeployment. */ @java.lang.Override @@ -875,6 +995,8 @@ public com.google.cloud.deploy.v1.CanaryDeployment getCanaryDeployment() { } } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
@@ -895,6 +1017,8 @@ public Builder setCanaryDeployment(com.google.cloud.deploy.v1.CanaryDeployment v return this; } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
@@ -913,6 +1037,8 @@ public Builder setCanaryDeployment( return this; } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
@@ -921,10 +1047,13 @@ public Builder setCanaryDeployment( */ public Builder mergeCanaryDeployment(com.google.cloud.deploy.v1.CanaryDeployment value) { if (canaryDeploymentBuilder_ == null) { - if (modeCase_ == 2 && - mode_ != com.google.cloud.deploy.v1.CanaryDeployment.getDefaultInstance()) { - mode_ = com.google.cloud.deploy.v1.CanaryDeployment.newBuilder((com.google.cloud.deploy.v1.CanaryDeployment) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 2 + && mode_ != com.google.cloud.deploy.v1.CanaryDeployment.getDefaultInstance()) { + mode_ = + com.google.cloud.deploy.v1.CanaryDeployment.newBuilder( + (com.google.cloud.deploy.v1.CanaryDeployment) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -940,6 +1069,8 @@ public Builder mergeCanaryDeployment(com.google.cloud.deploy.v1.CanaryDeployment return this; } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
@@ -963,6 +1094,8 @@ public Builder clearCanaryDeployment() { return this; } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
@@ -973,6 +1106,8 @@ public com.google.cloud.deploy.v1.CanaryDeployment.Builder getCanaryDeploymentBu return getCanaryDeploymentFieldBuilder().getBuilder(); } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
@@ -991,6 +1126,8 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO } } /** + * + * *
      * Configures the progressive based deployment for a Target.
      * 
@@ -998,14 +1135,19 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CanaryDeployment, com.google.cloud.deploy.v1.CanaryDeployment.Builder, com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder> + com.google.cloud.deploy.v1.CanaryDeployment, + com.google.cloud.deploy.v1.CanaryDeployment.Builder, + com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder> getCanaryDeploymentFieldBuilder() { if (canaryDeploymentBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = com.google.cloud.deploy.v1.CanaryDeployment.getDefaultInstance(); } - canaryDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CanaryDeployment, com.google.cloud.deploy.v1.CanaryDeployment.Builder, com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder>( + canaryDeploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CanaryDeployment, + com.google.cloud.deploy.v1.CanaryDeployment.Builder, + com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder>( (com.google.cloud.deploy.v1.CanaryDeployment) mode_, getParentForChildren(), isClean()); @@ -1017,8 +1159,13 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomCanaryDeployment, com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder, com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder> customCanaryDeploymentBuilder_; + com.google.cloud.deploy.v1.CustomCanaryDeployment, + com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder, + com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder> + customCanaryDeploymentBuilder_; /** + * + * *
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1026,6 +1173,7 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO
      * 
* * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * * @return Whether the customCanaryDeployment field is set. */ @java.lang.Override @@ -1033,6 +1181,8 @@ public boolean hasCustomCanaryDeployment() { return modeCase_ == 3; } /** + * + * *
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1040,6 +1190,7 @@ public boolean hasCustomCanaryDeployment() {
      * 
* * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * * @return The customCanaryDeployment. */ @java.lang.Override @@ -1057,6 +1208,8 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployme } } /** + * + * *
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1065,7 +1218,8 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployme
      *
      * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
      */
-    public Builder setCustomCanaryDeployment(com.google.cloud.deploy.v1.CustomCanaryDeployment value) {
+    public Builder setCustomCanaryDeployment(
+        com.google.cloud.deploy.v1.CustomCanaryDeployment value) {
       if (customCanaryDeploymentBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1079,6 +1233,8 @@ public Builder setCustomCanaryDeployment(com.google.cloud.deploy.v1.CustomCanary
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1099,6 +1255,8 @@ public Builder setCustomCanaryDeployment(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1107,12 +1265,16 @@ public Builder setCustomCanaryDeployment(
      *
      * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
      */
-    public Builder mergeCustomCanaryDeployment(com.google.cloud.deploy.v1.CustomCanaryDeployment value) {
+    public Builder mergeCustomCanaryDeployment(
+        com.google.cloud.deploy.v1.CustomCanaryDeployment value) {
       if (customCanaryDeploymentBuilder_ == null) {
-        if (modeCase_ == 3 &&
-            mode_ != com.google.cloud.deploy.v1.CustomCanaryDeployment.getDefaultInstance()) {
-          mode_ = com.google.cloud.deploy.v1.CustomCanaryDeployment.newBuilder((com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_)
-              .mergeFrom(value).buildPartial();
+        if (modeCase_ == 3
+            && mode_ != com.google.cloud.deploy.v1.CustomCanaryDeployment.getDefaultInstance()) {
+          mode_ =
+              com.google.cloud.deploy.v1.CustomCanaryDeployment.newBuilder(
+                      (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mode_ = value;
         }
@@ -1128,6 +1290,8 @@ public Builder mergeCustomCanaryDeployment(com.google.cloud.deploy.v1.CustomCana
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1153,6 +1317,8 @@ public Builder clearCustomCanaryDeployment() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1161,10 +1327,13 @@ public Builder clearCustomCanaryDeployment() {
      *
      * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
      */
-    public com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder getCustomCanaryDeploymentBuilder() {
+    public com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder
+        getCustomCanaryDeploymentBuilder() {
       return getCustomCanaryDeploymentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1174,7 +1343,8 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder getCustomCanary
      * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
      */
     @java.lang.Override
-    public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder getCustomCanaryDeploymentOrBuilder() {
+    public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder
+        getCustomCanaryDeploymentOrBuilder() {
       if ((modeCase_ == 3) && (customCanaryDeploymentBuilder_ != null)) {
         return customCanaryDeploymentBuilder_.getMessageOrBuilder();
       } else {
@@ -1185,6 +1355,8 @@ public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder getCustomCanar
       }
     }
     /**
+     *
+     *
      * 
      * Configures the progressive based deployment for a Target, but allows
      * customizing at the phase level where a phase represents each of the
@@ -1194,14 +1366,19 @@ public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder getCustomCanar
      * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.CustomCanaryDeployment, com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder, com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder> 
+            com.google.cloud.deploy.v1.CustomCanaryDeployment,
+            com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder,
+            com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder>
         getCustomCanaryDeploymentFieldBuilder() {
       if (customCanaryDeploymentBuilder_ == null) {
         if (!(modeCase_ == 3)) {
           mode_ = com.google.cloud.deploy.v1.CustomCanaryDeployment.getDefaultInstance();
         }
-        customCanaryDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.deploy.v1.CustomCanaryDeployment, com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder, com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder>(
+        customCanaryDeploymentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.deploy.v1.CustomCanaryDeployment,
+                com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder,
+                com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder>(
                 (com.google.cloud.deploy.v1.CustomCanaryDeployment) mode_,
                 getParentForChildren(),
                 isClean());
@@ -1211,9 +1388,9 @@ public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder getCustomCanar
       onChanged();
       return customCanaryDeploymentBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1223,12 +1400,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Canary)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Canary)
   private static final com.google.cloud.deploy.v1.Canary DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Canary();
   }
@@ -1237,27 +1414,27 @@ public static com.google.cloud.deploy.v1.Canary getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Canary parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Canary parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1272,6 +1449,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.deploy.v1.Canary getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java
similarity index 66%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java
index adc642efc41f..3a378382c002 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java
@@ -1,52 +1,74 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
 /**
+ *
+ *
  * 
  * CanaryDeployment represents the canary deployment configuration
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CanaryDeployment} */ -public final class CanaryDeployment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CanaryDeployment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CanaryDeployment) CanaryDeploymentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CanaryDeployment.newBuilder() to construct. private CanaryDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CanaryDeployment() { percentages_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CanaryDeployment(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CanaryDeployment.class, com.google.cloud.deploy.v1.CanaryDeployment.Builder.class); + com.google.cloud.deploy.v1.CanaryDeployment.class, + com.google.cloud.deploy.v1.CanaryDeployment.Builder.class); } public static final int PERCENTAGES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList percentages_; /** + * + * *
    * Required. The percentage based deployments that will occur as a part of a
    * `Rollout`. List is expected in ascending order and each integer n is
@@ -54,14 +76,16 @@ protected java.lang.Object newInstance(
    * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the percentages. */ @java.lang.Override - public java.util.List - getPercentagesList() { + public java.util.List getPercentagesList() { return percentages_; } /** + * + * *
    * Required. The percentage based deployments that will occur as a part of a
    * `Rollout`. List is expected in ascending order and each integer n is
@@ -69,12 +93,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of percentages. */ public int getPercentagesCount() { return percentages_.size(); } /** + * + * *
    * Required. The percentage based deployments that will occur as a part of a
    * `Rollout`. List is expected in ascending order and each integer n is
@@ -82,22 +109,27 @@ public int getPercentagesCount() {
    * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The percentages at the given index. */ public int getPercentages(int index) { return percentages_.getInt(index); } + private int percentagesMemoizedSerializedSize = -1; public static final int VERIFY_FIELD_NUMBER = 2; private boolean verify_ = false; /** + * + * *
    * Whether to run verify tests after each percentage deployment.
    * 
* * bool verify = 2; + * * @return The verify. */ @java.lang.Override @@ -108,12 +140,17 @@ public boolean getVerify() { public static final int PREDEPLOY_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.Predeploy predeploy_; /** + * + * *
    * Optional. Configuration for the predeploy job of the first phase. If this
    * is not configured, there will be no predeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ @java.lang.Override @@ -121,40 +158,58 @@ public boolean hasPredeploy() { return predeploy_ != null; } /** + * + * *
    * Optional. Configuration for the predeploy job of the first phase. If this
    * is not configured, there will be no predeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ @java.lang.Override public com.google.cloud.deploy.v1.Predeploy getPredeploy() { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } /** + * + * *
    * Optional. Configuration for the predeploy job of the first phase. If this
    * is not configured, there will be no predeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } public static final int POSTDEPLOY_FIELD_NUMBER = 4; private com.google.cloud.deploy.v1.Postdeploy postdeploy_; /** + * + * *
    * Optional. Configuration for the postdeploy job of the last phase. If this
    * is not configured, there will be no postdeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ @java.lang.Override @@ -162,32 +217,46 @@ public boolean hasPostdeploy() { return postdeploy_ != null; } /** + * + * *
    * Optional. Configuration for the postdeploy job of the last phase. If this
    * is not configured, there will be no postdeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ @java.lang.Override public com.google.cloud.deploy.v1.Postdeploy getPostdeploy() { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } /** + * + * *
    * Optional. Configuration for the postdeploy job of the last phase. If this
    * is not configured, there will be no postdeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder() { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,8 +268,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 (getPercentagesList().size() > 0) { output.writeUInt32NoTag(10); @@ -230,28 +298,24 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < percentages_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(percentages_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(percentages_.getInt(i)); } size += dataSize; if (!getPercentagesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } percentagesMemoizedSerializedSize = dataSize; } if (verify_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, verify_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, verify_); } if (predeploy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPredeploy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPredeploy()); } if (postdeploy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPostdeploy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPostdeploy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,26 +325,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.cloud.deploy.v1.CanaryDeployment)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CanaryDeployment other = (com.google.cloud.deploy.v1.CanaryDeployment) obj; + com.google.cloud.deploy.v1.CanaryDeployment other = + (com.google.cloud.deploy.v1.CanaryDeployment) obj; - if (!getPercentagesList() - .equals(other.getPercentagesList())) return false; - if (getVerify() - != other.getVerify()) return false; + if (!getPercentagesList().equals(other.getPercentagesList())) return false; + if (getVerify() != other.getVerify()) return false; if (hasPredeploy() != other.hasPredeploy()) return false; if (hasPredeploy()) { - if (!getPredeploy() - .equals(other.getPredeploy())) return false; + if (!getPredeploy().equals(other.getPredeploy())) return false; } if (hasPostdeploy() != other.hasPostdeploy()) return false; if (hasPostdeploy()) { - if (!getPostdeploy() - .equals(other.getPostdeploy())) return false; + if (!getPostdeploy().equals(other.getPostdeploy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -298,8 +359,7 @@ public int hashCode() { hash = (53 * hash) + getPercentagesList().hashCode(); } hash = (37 * hash) + VERIFY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVerify()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVerify()); if (hasPredeploy()) { hash = (37 * hash) + PREDEPLOY_FIELD_NUMBER; hash = (53 * hash) + getPredeploy().hashCode(); @@ -313,132 +373,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CanaryDeployment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CanaryDeployment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CanaryDeployment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CanaryDeployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CanaryDeployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CanaryDeployment represents the canary deployment configuration
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CanaryDeployment} */ - 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.cloud.deploy.v1.CanaryDeployment) com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CanaryDeployment.class, com.google.cloud.deploy.v1.CanaryDeployment.Builder.class); + com.google.cloud.deploy.v1.CanaryDeployment.class, + com.google.cloud.deploy.v1.CanaryDeployment.Builder.class); } // Construct using com.google.cloud.deploy.v1.CanaryDeployment.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -459,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; } @java.lang.Override @@ -480,9 +544,12 @@ public com.google.cloud.deploy.v1.CanaryDeployment build() { @java.lang.Override public com.google.cloud.deploy.v1.CanaryDeployment buildPartial() { - com.google.cloud.deploy.v1.CanaryDeployment result = new com.google.cloud.deploy.v1.CanaryDeployment(this); + com.google.cloud.deploy.v1.CanaryDeployment result = + new com.google.cloud.deploy.v1.CanaryDeployment(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -501,14 +568,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.CanaryDeployment result) { result.verify_ = verify_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.predeploy_ = predeployBuilder_ == null - ? predeploy_ - : predeployBuilder_.build(); + result.predeploy_ = predeployBuilder_ == null ? predeploy_ : predeployBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.postdeploy_ = postdeployBuilder_ == null - ? postdeploy_ - : postdeployBuilder_.build(); + result.postdeploy_ = postdeployBuilder_ == null ? postdeploy_ : postdeployBuilder_.build(); } } @@ -516,38 +579,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CanaryDeployment result) { 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) { + 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) { + 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.cloud.deploy.v1.CanaryDeployment) { - return mergeFrom((com.google.cloud.deploy.v1.CanaryDeployment)other); + return mergeFrom((com.google.cloud.deploy.v1.CanaryDeployment) other); } else { super.mergeFrom(other); return this; @@ -601,47 +665,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int v = input.readInt32(); - ensurePercentagesIsMutable(); - percentages_.addInt(v); - break; - } // case 8 - case 10: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensurePercentagesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - percentages_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } // case 10 - case 16: { - verify_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getPredeployFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getPostdeployFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + int v = input.readInt32(); + ensurePercentagesIsMutable(); + percentages_.addInt(v); + break; + } // case 8 + case 10: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensurePercentagesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + percentages_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 10 + case 16: + { + verify_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getPredeployFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getPostdeployFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -651,9 +717,11 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Internal.IntList percentages_ = emptyIntList(); + private void ensurePercentagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { percentages_ = mutableCopy(percentages_); @@ -661,6 +729,8 @@ private void ensurePercentagesIsMutable() { } } /** + * + * *
      * Required. The percentage based deployments that will occur as a part of a
      * `Rollout`. List is expected in ascending order and each integer n is
@@ -668,14 +738,17 @@ private void ensurePercentagesIsMutable() {
      * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the percentages. */ - public java.util.List - getPercentagesList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(percentages_) : percentages_; + public java.util.List getPercentagesList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(percentages_) + : percentages_; } /** + * + * *
      * Required. The percentage based deployments that will occur as a part of a
      * `Rollout`. List is expected in ascending order and each integer n is
@@ -683,12 +756,15 @@ private void ensurePercentagesIsMutable() {
      * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of percentages. */ public int getPercentagesCount() { return percentages_.size(); } /** + * + * *
      * Required. The percentage based deployments that will occur as a part of a
      * `Rollout`. List is expected in ascending order and each integer n is
@@ -696,6 +772,7 @@ public int getPercentagesCount() {
      * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The percentages at the given index. */ @@ -703,6 +780,8 @@ public int getPercentages(int index) { return percentages_.getInt(index); } /** + * + * *
      * Required. The percentage based deployments that will occur as a part of a
      * `Rollout`. List is expected in ascending order and each integer n is
@@ -710,12 +789,12 @@ public int getPercentages(int index) {
      * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The percentages to set. * @return This builder for chaining. */ - public Builder setPercentages( - int index, int value) { + public Builder setPercentages(int index, int value) { ensurePercentagesIsMutable(); percentages_.setInt(index, value); @@ -723,6 +802,8 @@ public Builder setPercentages( return this; } /** + * + * *
      * Required. The percentage based deployments that will occur as a part of a
      * `Rollout`. List is expected in ascending order and each integer n is
@@ -730,6 +811,7 @@ public Builder setPercentages(
      * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The percentages to add. * @return This builder for chaining. */ @@ -741,6 +823,8 @@ public Builder addPercentages(int value) { return this; } /** + * + * *
      * Required. The percentage based deployments that will occur as a part of a
      * `Rollout`. List is expected in ascending order and each integer n is
@@ -748,18 +832,19 @@ public Builder addPercentages(int value) {
      * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The percentages to add. * @return This builder for chaining. */ - public Builder addAllPercentages( - java.lang.Iterable values) { + public Builder addAllPercentages(java.lang.Iterable values) { ensurePercentagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, percentages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, percentages_); onChanged(); return this; } /** + * + * *
      * Required. The percentage based deployments that will occur as a part of a
      * `Rollout`. List is expected in ascending order and each integer n is
@@ -767,6 +852,7 @@ public Builder addAllPercentages(
      * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPercentages() { @@ -776,13 +862,16 @@ public Builder clearPercentages() { return this; } - private boolean verify_ ; + private boolean verify_; /** + * + * *
      * Whether to run verify tests after each percentage deployment.
      * 
* * bool verify = 2; + * * @return The verify. */ @java.lang.Override @@ -790,11 +879,14 @@ public boolean getVerify() { return verify_; } /** + * + * *
      * Whether to run verify tests after each percentage deployment.
      * 
* * bool verify = 2; + * * @param value The verify to set. * @return This builder for chaining. */ @@ -806,11 +898,14 @@ public Builder setVerify(boolean value) { return this; } /** + * + * *
      * Whether to run verify tests after each percentage deployment.
      * 
* * bool verify = 2; + * * @return This builder for chaining. */ public Builder clearVerify() { @@ -822,42 +917,61 @@ public Builder clearVerify() { private com.google.cloud.deploy.v1.Predeploy predeploy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder> predeployBuilder_; + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder> + predeployBuilder_; /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ public boolean hasPredeploy() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ public com.google.cloud.deploy.v1.Predeploy getPredeploy() { if (predeployBuilder_ == null) { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } else { return predeployBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy value) { if (predeployBuilder_ == null) { @@ -873,15 +987,18 @@ public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPredeploy( - com.google.cloud.deploy.v1.Predeploy.Builder builderForValue) { + public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy.Builder builderForValue) { if (predeployBuilder_ == null) { predeploy_ = builderForValue.build(); } else { @@ -892,18 +1009,22 @@ public Builder setPredeploy( return this; } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePredeploy(com.google.cloud.deploy.v1.Predeploy value) { if (predeployBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - predeploy_ != null && - predeploy_ != com.google.cloud.deploy.v1.Predeploy.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && predeploy_ != null + && predeploy_ != com.google.cloud.deploy.v1.Predeploy.getDefaultInstance()) { getPredeployBuilder().mergeFrom(value); } else { predeploy_ = value; @@ -916,12 +1037,16 @@ public Builder mergePredeploy(com.google.cloud.deploy.v1.Predeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPredeploy() { bitField0_ = (bitField0_ & ~0x00000004); @@ -934,12 +1059,16 @@ public Builder clearPredeploy() { return this; } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Predeploy.Builder getPredeployBuilder() { bitField0_ |= 0x00000004; @@ -947,38 +1076,50 @@ public com.google.cloud.deploy.v1.Predeploy.Builder getPredeployBuilder() { return getPredeployFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { if (predeployBuilder_ != null) { return predeployBuilder_.getMessageOrBuilder(); } else { - return predeploy_ == null ? - com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } } /** + * + * *
      * Optional. Configuration for the predeploy job of the first phase. If this
      * is not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder> + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder> getPredeployFieldBuilder() { if (predeployBuilder_ == null) { - predeployBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder>( - getPredeploy(), - getParentForChildren(), - isClean()); + predeployBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder>( + getPredeploy(), getParentForChildren(), isClean()); predeploy_ = null; } return predeployBuilder_; @@ -986,42 +1127,61 @@ public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { private com.google.cloud.deploy.v1.Postdeploy postdeploy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder> postdeployBuilder_; + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder> + postdeployBuilder_; /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ public boolean hasPostdeploy() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ public com.google.cloud.deploy.v1.Postdeploy getPostdeploy() { if (postdeployBuilder_ == null) { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } else { return postdeployBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { if (postdeployBuilder_ == null) { @@ -1037,15 +1197,18 @@ public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPostdeploy( - com.google.cloud.deploy.v1.Postdeploy.Builder builderForValue) { + public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy.Builder builderForValue) { if (postdeployBuilder_ == null) { postdeploy_ = builderForValue.build(); } else { @@ -1056,18 +1219,22 @@ public Builder setPostdeploy( return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { if (postdeployBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - postdeploy_ != null && - postdeploy_ != com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && postdeploy_ != null + && postdeploy_ != com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance()) { getPostdeployBuilder().mergeFrom(value); } else { postdeploy_ = value; @@ -1080,12 +1247,16 @@ public Builder mergePostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPostdeploy() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1098,12 +1269,16 @@ public Builder clearPostdeploy() { return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Postdeploy.Builder getPostdeployBuilder() { bitField0_ |= 0x00000008; @@ -1111,45 +1286,57 @@ public com.google.cloud.deploy.v1.Postdeploy.Builder getPostdeployBuilder() { return getPostdeployFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder() { if (postdeployBuilder_ != null) { return postdeployBuilder_.getMessageOrBuilder(); } else { - return postdeploy_ == null ? - com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } } /** + * + * *
      * Optional. Configuration for the postdeploy job of the last phase. If this
      * is not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder> + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder> getPostdeployFieldBuilder() { if (postdeployBuilder_ == null) { - postdeployBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder>( - getPostdeploy(), - getParentForChildren(), - isClean()); + postdeployBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder>( + getPostdeploy(), getParentForChildren(), isClean()); postdeploy_ = null; } return postdeployBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1159,12 +1346,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CanaryDeployment) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CanaryDeployment) private static final com.google.cloud.deploy.v1.CanaryDeployment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CanaryDeployment(); } @@ -1173,27 +1360,27 @@ public static com.google.cloud.deploy.v1.CanaryDeployment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CanaryDeployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CanaryDeployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1208,6 +1395,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CanaryDeployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java index 284751a1630e..859fcfc4e143 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CanaryDeploymentOrBuilder extends +public interface CanaryDeploymentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CanaryDeployment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The percentage based deployments that will occur as a part of a
    * `Rollout`. List is expected in ascending order and each integer n is
@@ -15,10 +33,13 @@ public interface CanaryDeploymentOrBuilder extends
    * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the percentages. */ java.util.List getPercentagesList(); /** + * + * *
    * Required. The percentage based deployments that will occur as a part of a
    * `Rollout`. List is expected in ascending order and each integer n is
@@ -26,10 +47,13 @@ public interface CanaryDeploymentOrBuilder extends
    * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of percentages. */ int getPercentagesCount(); /** + * + * *
    * Required. The percentage based deployments that will occur as a part of a
    * `Rollout`. List is expected in ascending order and each integer n is
@@ -37,78 +61,110 @@ public interface CanaryDeploymentOrBuilder extends
    * 
* * repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The percentages at the given index. */ int getPercentages(int index); /** + * + * *
    * Whether to run verify tests after each percentage deployment.
    * 
* * bool verify = 2; + * * @return The verify. */ boolean getVerify(); /** + * + * *
    * Optional. Configuration for the predeploy job of the first phase. If this
    * is not configured, there will be no predeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ boolean hasPredeploy(); /** + * + * *
    * Optional. Configuration for the predeploy job of the first phase. If this
    * is not configured, there will be no predeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ com.google.cloud.deploy.v1.Predeploy getPredeploy(); /** + * + * *
    * Optional. Configuration for the predeploy job of the first phase. If this
    * is not configured, there will be no predeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder(); /** + * + * *
    * Optional. Configuration for the postdeploy job of the last phase. If this
    * is not configured, there will be no postdeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ boolean hasPostdeploy(); /** + * + * *
    * Optional. Configuration for the postdeploy job of the last phase. If this
    * is not configured, there will be no postdeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ com.google.cloud.deploy.v1.Postdeploy getPostdeploy(); /** + * + * *
    * Optional. Configuration for the postdeploy job of the last phase. If this
    * is not configured, there will be no postdeploy job for this phase.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java index 4ae92af65258..273e948fa346 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java @@ -1,64 +1,102 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CanaryOrBuilder extends +public interface CanaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Canary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Runtime specific configurations for the deployment strategy. The
    * runtime configuration is used to determine how Cloud Deploy will split
    * traffic to enable a progressive deployment.
    * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the runtimeConfig field is set. */ boolean hasRuntimeConfig(); /** + * + * *
    * Optional. Runtime specific configurations for the deployment strategy. The
    * runtime configuration is used to determine how Cloud Deploy will split
    * traffic to enable a progressive deployment.
    * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The runtimeConfig. */ com.google.cloud.deploy.v1.RuntimeConfig getRuntimeConfig(); /** + * + * *
    * Optional. Runtime specific configurations for the deployment strategy. The
    * runtime configuration is used to determine how Cloud Deploy will split
    * traffic to enable a progressive deployment.
    * 
* - * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.RuntimeConfigOrBuilder getRuntimeConfigOrBuilder(); /** + * + * *
    * Configures the progressive based deployment for a Target.
    * 
* * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * * @return Whether the canaryDeployment field is set. */ boolean hasCanaryDeployment(); /** + * + * *
    * Configures the progressive based deployment for a Target.
    * 
* * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * * @return The canaryDeployment. */ com.google.cloud.deploy.v1.CanaryDeployment getCanaryDeployment(); /** + * + * *
    * Configures the progressive based deployment for a Target.
    * 
@@ -68,6 +106,8 @@ public interface CanaryOrBuilder extends com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder(); /** + * + * *
    * Configures the progressive based deployment for a Target, but allows
    * customizing at the phase level where a phase represents each of the
@@ -75,10 +115,13 @@ public interface CanaryOrBuilder extends
    * 
* * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * * @return Whether the customCanaryDeployment field is set. */ boolean hasCustomCanaryDeployment(); /** + * + * *
    * Configures the progressive based deployment for a Target, but allows
    * customizing at the phase level where a phase represents each of the
@@ -86,10 +129,13 @@ public interface CanaryOrBuilder extends
    * 
* * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * * @return The customCanaryDeployment. */ com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployment(); /** + * + * *
    * Configures the progressive based deployment for a Target, but allows
    * customizing at the phase level where a phase represents each of the
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequest.java
similarity index 63%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequest.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequest.java
index 73dcc423976d..bbe2b099a379 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequest.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequest.java
@@ -1,58 +1,83 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
 /**
+ *
+ *
  * 
  * The request object used by `CancelAutomationRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelAutomationRunRequest} */ -public final class CancelAutomationRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelAutomationRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CancelAutomationRunRequest) CancelAutomationRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelAutomationRunRequest.newBuilder() to construct. private CancelAutomationRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelAutomationRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelAutomationRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelAutomationRunRequest.class, com.google.cloud.deploy.v1.CancelAutomationRunRequest.Builder.class); + com.google.cloud.deploy.v1.CancelAutomationRunRequest.class, + com.google.cloud.deploy.v1.CancelAutomationRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `AutomationRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `AutomationRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.CancelAutomationRunRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CancelAutomationRunRequest other = (com.google.cloud.deploy.v1.CancelAutomationRunRequest) obj; + com.google.cloud.deploy.v1.CancelAutomationRunRequest other = + (com.google.cloud.deploy.v1.CancelAutomationRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CancelAutomationRunRequest 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.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelAutomationRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.CancelAutomationRunRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.CancelAutomationRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object used by `CancelAutomationRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelAutomationRunRequest} */ - 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.cloud.deploy.v1.CancelAutomationRunRequest) com.google.cloud.deploy.v1.CancelAutomationRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelAutomationRunRequest.class, com.google.cloud.deploy.v1.CancelAutomationRunRequest.Builder.class); + com.google.cloud.deploy.v1.CancelAutomationRunRequest.class, + com.google.cloud.deploy.v1.CancelAutomationRunRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CancelAutomationRunRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; } @java.lang.Override @@ -312,8 +344,11 @@ public com.google.cloud.deploy.v1.CancelAutomationRunRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CancelAutomationRunRequest buildPartial() { - com.google.cloud.deploy.v1.CancelAutomationRunRequest result = new com.google.cloud.deploy.v1.CancelAutomationRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CancelAutomationRunRequest result = + new com.google.cloud.deploy.v1.CancelAutomationRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CancelAutomationRunRequest 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) { + 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) { + 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.cloud.deploy.v1.CancelAutomationRunRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CancelAutomationRunRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CancelAutomationRunRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CancelAutomationRunRequest other) { - if (other == com.google.cloud.deploy.v1.CancelAutomationRunRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CancelAutomationRunRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +459,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +489,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +514,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +558,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `AutomationRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CancelAutomationRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CancelAutomationRunRequest) private static final com.google.cloud.deploy.v1.CancelAutomationRunRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CancelAutomationRunRequest(); } @@ -544,27 +608,27 @@ public static com.google.cloud.deploy.v1.CancelAutomationRunRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelAutomationRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelAutomationRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.CancelAutomationRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequestOrBuilder.java new file mode 100644 index 000000000000..f32ded6204c4 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CancelAutomationRunRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelAutomationRunRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `AutomationRun`. Format is
+   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `AutomationRun`. Format is
+   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponse.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponse.java index a197b477e192..70aef67f8249 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `CancelAutomationRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelAutomationRunResponse} */ -public final class CancelAutomationRunResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelAutomationRunResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CancelAutomationRunResponse) CancelAutomationRunResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelAutomationRunResponse.newBuilder() to construct. private CancelAutomationRunResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelAutomationRunResponse() { - } + + private CancelAutomationRunResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelAutomationRunResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelAutomationRunResponse.class, com.google.cloud.deploy.v1.CancelAutomationRunResponse.Builder.class); + com.google.cloud.deploy.v1.CancelAutomationRunResponse.class, + com.google.cloud.deploy.v1.CancelAutomationRunResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.CancelAutomationRunResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CancelAutomationRunResponse other = (com.google.cloud.deploy.v1.CancelAutomationRunResponse) obj; + com.google.cloud.deploy.v1.CancelAutomationRunResponse other = + (com.google.cloud.deploy.v1.CancelAutomationRunResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +116,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CancelAutomationRunResponse 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.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelAutomationRunResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.CancelAutomationRunResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.CancelAutomationRunResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `CancelAutomationRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelAutomationRunResponse} */ - 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.cloud.deploy.v1.CancelAutomationRunResponse) com.google.cloud.deploy.v1.CancelAutomationRunResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelAutomationRunResponse.class, com.google.cloud.deploy.v1.CancelAutomationRunResponse.Builder.class); + com.google.cloud.deploy.v1.CancelAutomationRunResponse.class, + com.google.cloud.deploy.v1.CancelAutomationRunResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.CancelAutomationRunResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +253,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; } @java.lang.Override @@ -250,7 +274,8 @@ public com.google.cloud.deploy.v1.CancelAutomationRunResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.CancelAutomationRunResponse buildPartial() { - com.google.cloud.deploy.v1.CancelAutomationRunResponse result = new com.google.cloud.deploy.v1.CancelAutomationRunResponse(this); + com.google.cloud.deploy.v1.CancelAutomationRunResponse result = + new com.google.cloud.deploy.v1.CancelAutomationRunResponse(this); onBuilt(); return result; } @@ -259,38 +284,39 @@ public com.google.cloud.deploy.v1.CancelAutomationRunResponse 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) { + 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) { + 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.cloud.deploy.v1.CancelAutomationRunResponse) { - return mergeFrom((com.google.cloud.deploy.v1.CancelAutomationRunResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.CancelAutomationRunResponse) other); } else { super.mergeFrom(other); return this; @@ -298,7 +324,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CancelAutomationRunResponse other) { - if (other == com.google.cloud.deploy.v1.CancelAutomationRunResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CancelAutomationRunResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +352,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +368,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +380,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CancelAutomationRunResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CancelAutomationRunResponse) private static final com.google.cloud.deploy.v1.CancelAutomationRunResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CancelAutomationRunResponse(); } @@ -366,27 +394,27 @@ public static com.google.cloud.deploy.v1.CancelAutomationRunResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelAutomationRunResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelAutomationRunResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +429,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.deploy.v1.CancelAutomationRunResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponseOrBuilder.java new file mode 100644 index 000000000000..91f8d2771a47 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CancelAutomationRunResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelAutomationRunResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequest.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequest.java index 210c18324161..6c7ecdb79402 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object used by `CancelRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelRolloutRequest} */ -public final class CancelRolloutRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelRolloutRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CancelRolloutRequest) CancelRolloutRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelRolloutRequest.newBuilder() to construct. private CancelRolloutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelRolloutRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelRolloutRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelRolloutRequest.class, com.google.cloud.deploy.v1.CancelRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.CancelRolloutRequest.class, + com.google.cloud.deploy.v1.CancelRolloutRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.CancelRolloutRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CancelRolloutRequest other = (com.google.cloud.deploy.v1.CancelRolloutRequest) obj; + com.google.cloud.deploy.v1.CancelRolloutRequest other = + (com.google.cloud.deploy.v1.CancelRolloutRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CancelRolloutRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CancelRolloutRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelRolloutRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CancelRolloutRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object used by `CancelRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelRolloutRequest} */ - 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.cloud.deploy.v1.CancelRolloutRequest) com.google.cloud.deploy.v1.CancelRolloutRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelRolloutRequest.class, com.google.cloud.deploy.v1.CancelRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.CancelRolloutRequest.class, + com.google.cloud.deploy.v1.CancelRolloutRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CancelRolloutRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.CancelRolloutRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CancelRolloutRequest buildPartial() { - com.google.cloud.deploy.v1.CancelRolloutRequest result = new com.google.cloud.deploy.v1.CancelRolloutRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CancelRolloutRequest result = + new com.google.cloud.deploy.v1.CancelRolloutRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CancelRolloutRequest resul 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) { + 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) { + 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.cloud.deploy.v1.CancelRolloutRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CancelRolloutRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CancelRolloutRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CancelRolloutRequest other) { - if (other == com.google.cloud.deploy.v1.CancelRolloutRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CancelRolloutRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CancelRolloutRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CancelRolloutRequest) private static final com.google.cloud.deploy.v1.CancelRolloutRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CancelRolloutRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.deploy.v1.CancelRolloutRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelRolloutRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelRolloutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CancelRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequestOrBuilder.java new file mode 100644 index 000000000000..a428e45a15de --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CancelRolloutRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelRolloutRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the Rollout. Format is
+   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the Rollout. Format is
+   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponse.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponse.java index 7eb597264895..d476fb2c4413 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `CancelRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelRolloutResponse} */ -public final class CancelRolloutResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelRolloutResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CancelRolloutResponse) CancelRolloutResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelRolloutResponse.newBuilder() to construct. private CancelRolloutResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelRolloutResponse() { - } + + private CancelRolloutResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelRolloutResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelRolloutResponse.class, com.google.cloud.deploy.v1.CancelRolloutResponse.Builder.class); + com.google.cloud.deploy.v1.CancelRolloutResponse.class, + com.google.cloud.deploy.v1.CancelRolloutResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.CancelRolloutResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CancelRolloutResponse other = (com.google.cloud.deploy.v1.CancelRolloutResponse) obj; + com.google.cloud.deploy.v1.CancelRolloutResponse other = + (com.google.cloud.deploy.v1.CancelRolloutResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -96,132 +115,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CancelRolloutResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CancelRolloutResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CancelRolloutResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CancelRolloutResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `CancelRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CancelRolloutResponse} */ - 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.cloud.deploy.v1.CancelRolloutResponse) com.google.cloud.deploy.v1.CancelRolloutResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CancelRolloutResponse.class, com.google.cloud.deploy.v1.CancelRolloutResponse.Builder.class); + com.google.cloud.deploy.v1.CancelRolloutResponse.class, + com.google.cloud.deploy.v1.CancelRolloutResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.CancelRolloutResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.CancelRolloutResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.CancelRolloutResponse buildPartial() { - com.google.cloud.deploy.v1.CancelRolloutResponse result = new com.google.cloud.deploy.v1.CancelRolloutResponse(this); + com.google.cloud.deploy.v1.CancelRolloutResponse result = + new com.google.cloud.deploy.v1.CancelRolloutResponse(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.CancelRolloutResponse 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) { + 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) { + 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.cloud.deploy.v1.CancelRolloutResponse) { - return mergeFrom((com.google.cloud.deploy.v1.CancelRolloutResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.CancelRolloutResponse) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CancelRolloutResponse other) { - if (other == com.google.cloud.deploy.v1.CancelRolloutResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CancelRolloutResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CancelRolloutResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CancelRolloutResponse) private static final com.google.cloud.deploy.v1.CancelRolloutResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CancelRolloutResponse(); } @@ -366,27 +393,27 @@ public static com.google.cloud.deploy.v1.CancelRolloutResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelRolloutResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelRolloutResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CancelRolloutResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponseOrBuilder.java new file mode 100644 index 000000000000..f819d0b51107 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CancelRolloutResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelRolloutResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobs.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobs.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobs.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobs.java index c8d608b30d63..b10d7321951a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobs.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobs.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * ChildRollouts job composition
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ChildRolloutJobs} */ -public final class ChildRolloutJobs extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChildRolloutJobs extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ChildRolloutJobs) ChildRolloutJobsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChildRolloutJobs.newBuilder() to construct. private ChildRolloutJobs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChildRolloutJobs() { createRolloutJobs_ = java.util.Collections.emptyList(); advanceRolloutJobs_ = java.util.Collections.emptyList(); @@ -26,147 +44,189 @@ private ChildRolloutJobs() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChildRolloutJobs(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ChildRolloutJobs.class, com.google.cloud.deploy.v1.ChildRolloutJobs.Builder.class); + com.google.cloud.deploy.v1.ChildRolloutJobs.class, + com.google.cloud.deploy.v1.ChildRolloutJobs.Builder.class); } public static final int CREATE_ROLLOUT_JOBS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List createRolloutJobs_; /** + * + * *
    * Output only. List of CreateChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getCreateRolloutJobsList() { return createRolloutJobs_; } /** + * + * *
    * Output only. List of CreateChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getCreateRolloutJobsOrBuilderList() { return createRolloutJobs_; } /** + * + * *
    * Output only. List of CreateChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getCreateRolloutJobsCount() { return createRolloutJobs_.size(); } /** + * + * *
    * Output only. List of CreateChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Job getCreateRolloutJobs(int index) { return createRolloutJobs_.get(index); } /** + * + * *
    * Output only. List of CreateChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.JobOrBuilder getCreateRolloutJobsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.JobOrBuilder getCreateRolloutJobsOrBuilder(int index) { return createRolloutJobs_.get(index); } public static final int ADVANCE_ROLLOUT_JOBS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List advanceRolloutJobs_; /** + * + * *
    * Output only. List of AdvanceChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getAdvanceRolloutJobsList() { return advanceRolloutJobs_; } /** + * + * *
    * Output only. List of AdvanceChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAdvanceRolloutJobsOrBuilderList() { return advanceRolloutJobs_; } /** + * + * *
    * Output only. List of AdvanceChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getAdvanceRolloutJobsCount() { return advanceRolloutJobs_.size(); } /** + * + * *
    * Output only. List of AdvanceChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Job getAdvanceRolloutJobs(int index) { return advanceRolloutJobs_.get(index); } /** + * + * *
    * Output only. List of AdvanceChildRolloutJobs
    * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.JobOrBuilder getAdvanceRolloutJobsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.JobOrBuilder getAdvanceRolloutJobsOrBuilder(int index) { return advanceRolloutJobs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +238,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 < createRolloutJobs_.size(); i++) { output.writeMessage(1, createRolloutJobs_.get(i)); } @@ -196,12 +255,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < createRolloutJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, createRolloutJobs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, createRolloutJobs_.get(i)); } for (int i = 0; i < advanceRolloutJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, advanceRolloutJobs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, advanceRolloutJobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,17 +270,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.cloud.deploy.v1.ChildRolloutJobs)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ChildRolloutJobs other = (com.google.cloud.deploy.v1.ChildRolloutJobs) obj; + com.google.cloud.deploy.v1.ChildRolloutJobs other = + (com.google.cloud.deploy.v1.ChildRolloutJobs) obj; - if (!getCreateRolloutJobsList() - .equals(other.getCreateRolloutJobsList())) return false; - if (!getAdvanceRolloutJobsList() - .equals(other.getAdvanceRolloutJobsList())) return false; + if (!getCreateRolloutJobsList().equals(other.getCreateRolloutJobsList())) return false; + if (!getAdvanceRolloutJobsList().equals(other.getAdvanceRolloutJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,132 +304,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ChildRolloutJobs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ChildRolloutJobs parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ChildRolloutJobs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ChildRolloutJobs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ChildRollouts job composition
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ChildRolloutJobs} */ - 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.cloud.deploy.v1.ChildRolloutJobs) com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ChildRolloutJobs.class, com.google.cloud.deploy.v1.ChildRolloutJobs.Builder.class); + com.google.cloud.deploy.v1.ChildRolloutJobs.class, + com.google.cloud.deploy.v1.ChildRolloutJobs.Builder.class); } // Construct using com.google.cloud.deploy.v1.ChildRolloutJobs.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; } @java.lang.Override @@ -415,9 +477,12 @@ public com.google.cloud.deploy.v1.ChildRolloutJobs build() { @java.lang.Override public com.google.cloud.deploy.v1.ChildRolloutJobs buildPartial() { - com.google.cloud.deploy.v1.ChildRolloutJobs result = new com.google.cloud.deploy.v1.ChildRolloutJobs(this); + com.google.cloud.deploy.v1.ChildRolloutJobs result = + new com.google.cloud.deploy.v1.ChildRolloutJobs(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -451,38 +516,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ChildRolloutJobs result) { 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) { + 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) { + 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.cloud.deploy.v1.ChildRolloutJobs) { - return mergeFrom((com.google.cloud.deploy.v1.ChildRolloutJobs)other); + return mergeFrom((com.google.cloud.deploy.v1.ChildRolloutJobs) other); } else { super.mergeFrom(other); return this; @@ -509,9 +575,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ChildRolloutJobs other) { createRolloutJobsBuilder_ = null; createRolloutJobs_ = other.createRolloutJobs_; bitField0_ = (bitField0_ & ~0x00000001); - createRolloutJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCreateRolloutJobsFieldBuilder() : null; + createRolloutJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCreateRolloutJobsFieldBuilder() + : null; } else { createRolloutJobsBuilder_.addAllMessages(other.createRolloutJobs_); } @@ -535,9 +602,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ChildRolloutJobs other) { advanceRolloutJobsBuilder_ = null; advanceRolloutJobs_ = other.advanceRolloutJobs_; bitField0_ = (bitField0_ & ~0x00000002); - advanceRolloutJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdvanceRolloutJobsFieldBuilder() : null; + advanceRolloutJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdvanceRolloutJobsFieldBuilder() + : null; } else { advanceRolloutJobsBuilder_.addAllMessages(other.advanceRolloutJobs_); } @@ -569,38 +637,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.Job m = - input.readMessage( - com.google.cloud.deploy.v1.Job.parser(), - extensionRegistry); - if (createRolloutJobsBuilder_ == null) { - ensureCreateRolloutJobsIsMutable(); - createRolloutJobs_.add(m); - } else { - createRolloutJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.deploy.v1.Job m = - input.readMessage( - com.google.cloud.deploy.v1.Job.parser(), - extensionRegistry); - if (advanceRolloutJobsBuilder_ == null) { - ensureAdvanceRolloutJobsIsMutable(); - advanceRolloutJobs_.add(m); - } else { - advanceRolloutJobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.Job m = + input.readMessage(com.google.cloud.deploy.v1.Job.parser(), extensionRegistry); + if (createRolloutJobsBuilder_ == null) { + ensureCreateRolloutJobsIsMutable(); + createRolloutJobs_.add(m); + } else { + createRolloutJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.deploy.v1.Job m = + input.readMessage(com.google.cloud.deploy.v1.Job.parser(), extensionRegistry); + if (advanceRolloutJobsBuilder_ == null) { + ensureAdvanceRolloutJobsIsMutable(); + advanceRolloutJobs_.add(m); + } else { + advanceRolloutJobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,26 +677,36 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List createRolloutJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCreateRolloutJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - createRolloutJobs_ = new java.util.ArrayList(createRolloutJobs_); + createRolloutJobs_ = + new java.util.ArrayList(createRolloutJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> createRolloutJobsBuilder_; + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> + createRolloutJobsBuilder_; /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getCreateRolloutJobsList() { if (createRolloutJobsBuilder_ == null) { @@ -639,11 +716,15 @@ public java.util.List getCreateRolloutJobsList() } } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getCreateRolloutJobsCount() { if (createRolloutJobsBuilder_ == null) { @@ -653,11 +734,15 @@ public int getCreateRolloutJobsCount() { } } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job getCreateRolloutJobs(int index) { if (createRolloutJobsBuilder_ == null) { @@ -667,14 +752,17 @@ public com.google.cloud.deploy.v1.Job getCreateRolloutJobs(int index) { } } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateRolloutJobs( - int index, com.google.cloud.deploy.v1.Job value) { + public Builder setCreateRolloutJobs(int index, com.google.cloud.deploy.v1.Job value) { if (createRolloutJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,11 +776,15 @@ public Builder setCreateRolloutJobs( return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateRolloutJobs( int index, com.google.cloud.deploy.v1.Job.Builder builderForValue) { @@ -706,11 +798,15 @@ public Builder setCreateRolloutJobs( return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCreateRolloutJobs(com.google.cloud.deploy.v1.Job value) { if (createRolloutJobsBuilder_ == null) { @@ -726,14 +822,17 @@ public Builder addCreateRolloutJobs(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addCreateRolloutJobs( - int index, com.google.cloud.deploy.v1.Job value) { + public Builder addCreateRolloutJobs(int index, com.google.cloud.deploy.v1.Job value) { if (createRolloutJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -747,14 +846,17 @@ public Builder addCreateRolloutJobs( return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addCreateRolloutJobs( - com.google.cloud.deploy.v1.Job.Builder builderForValue) { + public Builder addCreateRolloutJobs(com.google.cloud.deploy.v1.Job.Builder builderForValue) { if (createRolloutJobsBuilder_ == null) { ensureCreateRolloutJobsIsMutable(); createRolloutJobs_.add(builderForValue.build()); @@ -765,11 +867,15 @@ public Builder addCreateRolloutJobs( return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCreateRolloutJobs( int index, com.google.cloud.deploy.v1.Job.Builder builderForValue) { @@ -783,18 +889,21 @@ public Builder addCreateRolloutJobs( return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllCreateRolloutJobs( java.lang.Iterable values) { if (createRolloutJobsBuilder_ == null) { ensureCreateRolloutJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, createRolloutJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, createRolloutJobs_); onChanged(); } else { createRolloutJobsBuilder_.addAllMessages(values); @@ -802,11 +911,15 @@ public Builder addAllCreateRolloutJobs( return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateRolloutJobs() { if (createRolloutJobsBuilder_ == null) { @@ -819,11 +932,15 @@ public Builder clearCreateRolloutJobs() { return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeCreateRolloutJobs(int index) { if (createRolloutJobsBuilder_ == null) { @@ -836,39 +953,50 @@ public Builder removeCreateRolloutJobs(int index) { return this; } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Job.Builder getCreateRolloutJobsBuilder( - int index) { + public com.google.cloud.deploy.v1.Job.Builder getCreateRolloutJobsBuilder(int index) { return getCreateRolloutJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.JobOrBuilder getCreateRolloutJobsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.JobOrBuilder getCreateRolloutJobsOrBuilder(int index) { if (createRolloutJobsBuilder_ == null) { - return createRolloutJobs_.get(index); } else { + return createRolloutJobs_.get(index); + } else { return createRolloutJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCreateRolloutJobsOrBuilderList() { + public java.util.List + getCreateRolloutJobsOrBuilderList() { if (createRolloutJobsBuilder_ != null) { return createRolloutJobsBuilder_.getMessageOrBuilderList(); } else { @@ -876,45 +1004,62 @@ public com.google.cloud.deploy.v1.JobOrBuilder getCreateRolloutJobsOrBuilder( } } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job.Builder addCreateRolloutJobsBuilder() { - return getCreateRolloutJobsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Job.getDefaultInstance()); + return getCreateRolloutJobsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Job.getDefaultInstance()); } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Job.Builder addCreateRolloutJobsBuilder( - int index) { - return getCreateRolloutJobsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Job.getDefaultInstance()); + public com.google.cloud.deploy.v1.Job.Builder addCreateRolloutJobsBuilder(int index) { + return getCreateRolloutJobsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Job.getDefaultInstance()); } /** + * + * *
      * Output only. List of CreateChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCreateRolloutJobsBuilderList() { + public java.util.List + getCreateRolloutJobsBuilderList() { return getCreateRolloutJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> getCreateRolloutJobsFieldBuilder() { if (createRolloutJobsBuilder_ == null) { - createRolloutJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( + createRolloutJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder>( createRolloutJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -925,23 +1070,32 @@ public com.google.cloud.deploy.v1.Job.Builder addCreateRolloutJobsBuilder( } private java.util.List advanceRolloutJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdvanceRolloutJobsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - advanceRolloutJobs_ = new java.util.ArrayList(advanceRolloutJobs_); + advanceRolloutJobs_ = + new java.util.ArrayList(advanceRolloutJobs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> advanceRolloutJobsBuilder_; + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> + advanceRolloutJobsBuilder_; /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getAdvanceRolloutJobsList() { if (advanceRolloutJobsBuilder_ == null) { @@ -951,11 +1105,15 @@ public java.util.List getAdvanceRolloutJobsList( } } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getAdvanceRolloutJobsCount() { if (advanceRolloutJobsBuilder_ == null) { @@ -965,11 +1123,15 @@ public int getAdvanceRolloutJobsCount() { } } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job getAdvanceRolloutJobs(int index) { if (advanceRolloutJobsBuilder_ == null) { @@ -979,14 +1141,17 @@ public com.google.cloud.deploy.v1.Job getAdvanceRolloutJobs(int index) { } } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAdvanceRolloutJobs( - int index, com.google.cloud.deploy.v1.Job value) { + public Builder setAdvanceRolloutJobs(int index, com.google.cloud.deploy.v1.Job value) { if (advanceRolloutJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1000,11 +1165,15 @@ public Builder setAdvanceRolloutJobs( return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAdvanceRolloutJobs( int index, com.google.cloud.deploy.v1.Job.Builder builderForValue) { @@ -1018,11 +1187,15 @@ public Builder setAdvanceRolloutJobs( return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAdvanceRolloutJobs(com.google.cloud.deploy.v1.Job value) { if (advanceRolloutJobsBuilder_ == null) { @@ -1038,14 +1211,17 @@ public Builder addAdvanceRolloutJobs(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addAdvanceRolloutJobs( - int index, com.google.cloud.deploy.v1.Job value) { + public Builder addAdvanceRolloutJobs(int index, com.google.cloud.deploy.v1.Job value) { if (advanceRolloutJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1059,14 +1235,17 @@ public Builder addAdvanceRolloutJobs( return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addAdvanceRolloutJobs( - com.google.cloud.deploy.v1.Job.Builder builderForValue) { + public Builder addAdvanceRolloutJobs(com.google.cloud.deploy.v1.Job.Builder builderForValue) { if (advanceRolloutJobsBuilder_ == null) { ensureAdvanceRolloutJobsIsMutable(); advanceRolloutJobs_.add(builderForValue.build()); @@ -1077,11 +1256,15 @@ public Builder addAdvanceRolloutJobs( return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAdvanceRolloutJobs( int index, com.google.cloud.deploy.v1.Job.Builder builderForValue) { @@ -1095,18 +1278,21 @@ public Builder addAdvanceRolloutJobs( return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllAdvanceRolloutJobs( java.lang.Iterable values) { if (advanceRolloutJobsBuilder_ == null) { ensureAdvanceRolloutJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, advanceRolloutJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advanceRolloutJobs_); onChanged(); } else { advanceRolloutJobsBuilder_.addAllMessages(values); @@ -1114,11 +1300,15 @@ public Builder addAllAdvanceRolloutJobs( return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAdvanceRolloutJobs() { if (advanceRolloutJobsBuilder_ == null) { @@ -1131,11 +1321,15 @@ public Builder clearAdvanceRolloutJobs() { return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeAdvanceRolloutJobs(int index) { if (advanceRolloutJobsBuilder_ == null) { @@ -1148,39 +1342,50 @@ public Builder removeAdvanceRolloutJobs(int index) { return this; } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Job.Builder getAdvanceRolloutJobsBuilder( - int index) { + public com.google.cloud.deploy.v1.Job.Builder getAdvanceRolloutJobsBuilder(int index) { return getAdvanceRolloutJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.JobOrBuilder getAdvanceRolloutJobsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.JobOrBuilder getAdvanceRolloutJobsOrBuilder(int index) { if (advanceRolloutJobsBuilder_ == null) { - return advanceRolloutJobs_.get(index); } else { + return advanceRolloutJobs_.get(index); + } else { return advanceRolloutJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getAdvanceRolloutJobsOrBuilderList() { + public java.util.List + getAdvanceRolloutJobsOrBuilderList() { if (advanceRolloutJobsBuilder_ != null) { return advanceRolloutJobsBuilder_.getMessageOrBuilderList(); } else { @@ -1188,45 +1393,62 @@ public com.google.cloud.deploy.v1.JobOrBuilder getAdvanceRolloutJobsOrBuilder( } } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job.Builder addAdvanceRolloutJobsBuilder() { - return getAdvanceRolloutJobsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Job.getDefaultInstance()); + return getAdvanceRolloutJobsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Job.getDefaultInstance()); } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Job.Builder addAdvanceRolloutJobsBuilder( - int index) { - return getAdvanceRolloutJobsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Job.getDefaultInstance()); + public com.google.cloud.deploy.v1.Job.Builder addAdvanceRolloutJobsBuilder(int index) { + return getAdvanceRolloutJobsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Job.getDefaultInstance()); } /** + * + * *
      * Output only. List of AdvanceChildRolloutJobs
      * 
* - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getAdvanceRolloutJobsBuilderList() { + public java.util.List + getAdvanceRolloutJobsBuilderList() { return getAdvanceRolloutJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> getAdvanceRolloutJobsFieldBuilder() { if (advanceRolloutJobsBuilder_ == null) { - advanceRolloutJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( + advanceRolloutJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder>( advanceRolloutJobs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1235,9 +1457,9 @@ public com.google.cloud.deploy.v1.Job.Builder addAdvanceRolloutJobsBuilder( } return advanceRolloutJobsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1247,12 +1469,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ChildRolloutJobs) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ChildRolloutJobs) private static final com.google.cloud.deploy.v1.ChildRolloutJobs DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ChildRolloutJobs(); } @@ -1261,27 +1483,27 @@ public static com.google.cloud.deploy.v1.ChildRolloutJobs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChildRolloutJobs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChildRolloutJobs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1296,6 +1518,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ChildRolloutJobs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobsOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobsOrBuilder.java new file mode 100644 index 000000000000..c96ab5bc61c4 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobsOrBuilder.java @@ -0,0 +1,149 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface ChildRolloutJobsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ChildRolloutJobs) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. List of CreateChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getCreateRolloutJobsList(); + /** + * + * + *
+   * Output only. List of CreateChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.Job getCreateRolloutJobs(int index); + /** + * + * + *
+   * Output only. List of CreateChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getCreateRolloutJobsCount(); + /** + * + * + *
+   * Output only. List of CreateChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getCreateRolloutJobsOrBuilderList(); + /** + * + * + *
+   * Output only. List of CreateChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.JobOrBuilder getCreateRolloutJobsOrBuilder(int index); + + /** + * + * + *
+   * Output only. List of AdvanceChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getAdvanceRolloutJobsList(); + /** + * + * + *
+   * Output only. List of AdvanceChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.Job getAdvanceRolloutJobs(int index); + /** + * + * + *
+   * Output only. List of AdvanceChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getAdvanceRolloutJobsCount(); + /** + * + * + *
+   * Output only. List of AdvanceChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getAdvanceRolloutJobsOrBuilderList(); + /** + * + * + *
+   * Output only. List of AdvanceChildRolloutJobs
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.JobOrBuilder getAdvanceRolloutJobsOrBuilder(int index); +} diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java new file mode 100644 index 000000000000..183e35d33b3a --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java @@ -0,0 +1,3332 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public final class CloudDeployProto { + private CloudDeployProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Stage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Strategy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Predeploy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Standard_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Canary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Target_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Target_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Rollout_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Metadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Phase_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Job_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeployJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_JobRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Config_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Automation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RepairMode_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Retry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_Rollback_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AutomationRun_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RepairPhase_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RetryPhase_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/deploy/v1/cloud_deploy.pr" + + "oto\022\026google.cloud.deploy.v1\032\034google/api/" + + "annotations.proto\032\027google/api/client.pro" + + "to\032\037google/api/field_behavior.proto\032\031goo" + + "gle/api/resource.proto\032#google/longrunni" + + "ng/operations.proto\032\036google/protobuf/dur" + + "ation.proto\032\033google/protobuf/empty.proto" + + "\032 google/protobuf/field_mask.proto\032\037goog" + + "le/protobuf/timestamp.proto\032\026google/type" + + "/date.proto\"\352\005\n\020DeliveryPipeline\022\022\n\004name" + + "\030\001 \001(\tB\004\342A\001\001\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\023\n\013descr" + + "iption\030\003 \001(\t\022N\n\013annotations\030\004 \003(\01329.goog" + + "le.cloud.deploy.v1.DeliveryPipeline.Anno" + + "tationsEntry\022D\n\006labels\030\005 \003(\01324.google.cl" + + "oud.deploy.v1.DeliveryPipeline.LabelsEnt" + + "ry\0225\n\013create_time\030\006 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\0225\n\013update_time\030\007 \001(\0132\032" + + ".google.protobuf.TimestampB\004\342A\001\003\022A\n\017seri" + + "al_pipeline\030\010 \001(\0132&.google.cloud.deploy." + + "v1.SerialPipelineH\000\022B\n\tcondition\030\013 \001(\0132)" + + ".google.cloud.deploy.v1.PipelineConditio" + + "nB\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022\021\n\tsuspended\030\014 \001(\010" + + "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001:\177\352A|\n+clouddeploy.go" + + "ogleapis.com/DeliveryPipeline\022Mprojects/" + + "{project}/locations/{location}/deliveryP" + + "ipelines/{delivery_pipeline}B\n\n\010pipeline" + + "\"?\n\016SerialPipeline\022-\n\006stages\030\001 \003(\0132\035.goo" + + "gle.cloud.deploy.v1.Stage\"\261\001\n\005Stage\022\021\n\tt" + + "arget_id\030\001 \001(\t\022\020\n\010profiles\030\002 \003(\t\0228\n\010stra" + + "tegy\030\005 \001(\0132 .google.cloud.deploy.v1.Stra" + + "tegyB\004\342A\001\001\022I\n\021deploy_parameters\030\006 \003(\0132(." + + "google.cloud.deploy.v1.DeployParametersB" + + "\004\342A\001\001\"\253\002\n\020DeployParameters\022J\n\006values\030\001 \003" + + "(\01324.google.cloud.deploy.v1.DeployParame" + + "ters.ValuesEntryB\004\342A\001\002\022b\n\023match_target_l" + + "abels\030\002 \003(\0132?.google.cloud.deploy.v1.Dep" + + "loyParameters.MatchTargetLabelsEntryB\004\342A" + + "\001\001\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\0328\n\026MatchTargetLabelsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\211\001\n\010Strategy" + + "\0224\n\010standard\030\001 \001(\0132 .google.cloud.deploy" + + ".v1.StandardH\000\0220\n\006canary\030\002 \001(\0132\036.google." + + "cloud.deploy.v1.CanaryH\000B\025\n\023deployment_s" + + "trategy\"\"\n\tPredeploy\022\025\n\007actions\030\001 \003(\tB\004\342" + + "A\001\001\"#\n\nPostdeploy\022\025\n\007actions\030\001 \003(\tB\004\342A\001\001" + + "\"\224\001\n\010Standard\022\016\n\006verify\030\001 \001(\010\022:\n\tpredepl" + + "oy\030\002 \001(\0132!.google.cloud.deploy.v1.Predep" + + "loyB\004\342A\001\001\022<\n\npostdeploy\030\003 \001(\0132\".google.c" + + "loud.deploy.v1.PostdeployB\004\342A\001\001\"\360\001\n\006Cana" + + "ry\022C\n\016runtime_config\030\001 \001(\0132%.google.clou" + + "d.deploy.v1.RuntimeConfigB\004\342A\001\001\022E\n\021canar" + + "y_deployment\030\002 \001(\0132(.google.cloud.deploy" + + ".v1.CanaryDeploymentH\000\022R\n\030custom_canary_" + + "deployment\030\003 \001(\0132..google.cloud.deploy.v" + + "1.CustomCanaryDeploymentH\000B\006\n\004mode\"\267\001\n\020C" + + "anaryDeployment\022\031\n\013percentages\030\001 \003(\005B\004\342A" + + "\001\002\022\016\n\006verify\030\002 \001(\010\022:\n\tpredeploy\030\003 \001(\0132!." + + "google.cloud.deploy.v1.PredeployB\004\342A\001\001\022<" + + "\n\npostdeploy\030\004 \001(\0132\".google.cloud.deploy" + + ".v1.PostdeployB\004\342A\001\001\"\317\002\n\026CustomCanaryDep" + + "loyment\022W\n\rphase_configs\030\001 \003(\0132:.google." + + "cloud.deploy.v1.CustomCanaryDeployment.P" + + "haseConfigB\004\342A\001\002\032\333\001\n\013PhaseConfig\022\026\n\010phas" + + "e_id\030\001 \001(\tB\004\342A\001\002\022\030\n\npercentage\030\002 \001(\005B\004\342A" + + "\001\002\022\020\n\010profiles\030\003 \003(\t\022\016\n\006verify\030\004 \001(\010\022:\n\t" + + "predeploy\030\005 \001(\0132!.google.cloud.deploy.v1" + + ".PredeployB\004\342A\001\001\022<\n\npostdeploy\030\006 \001(\0132\".g" + + "oogle.cloud.deploy.v1.PostdeployB\004\342A\001\001\"\266" + + "\004\n\020KubernetesConfig\022[\n\024gateway_service_m" + + "esh\030\001 \001(\0132;.google.cloud.deploy.v1.Kuber" + + "netesConfig.GatewayServiceMeshH\000\022X\n\022serv" + + "ice_networking\030\002 \001(\0132:.google.cloud.depl" + + "oy.v1.KubernetesConfig.ServiceNetworking" + + "H\000\032\342\001\n\022GatewayServiceMesh\022\030\n\nhttp_route\030" + + "\001 \001(\tB\004\342A\001\002\022\025\n\007service\030\002 \001(\tB\004\342A\001\002\022\030\n\nde" + + "ployment\030\003 \001(\tB\004\342A\001\002\022?\n\026route_update_wai" + + "t_time\030\004 \001(\0132\031.google.protobuf.DurationB" + + "\004\342A\001\001\022@\n\027stable_cutback_duration\030\005 \001(\0132\031" + + ".google.protobuf.DurationB\004\342A\001\001\032p\n\021Servi" + + "ceNetworking\022\025\n\007service\030\001 \001(\tB\004\342A\001\002\022\030\n\nd" + + "eployment\030\002 \001(\tB\004\342A\001\002\022*\n\034disable_pod_ove" + + "rprovisioning\030\003 \001(\010B\004\342A\001\001B\024\n\022service_def" + + "inition\"\236\001\n\016CloudRunConfig\022!\n\031automatic_" + + "traffic_control\030\001 \001(\010\022\"\n\024canary_revision" + + "_tags\030\002 \003(\tB\004\342A\001\001\022!\n\023prior_revision_tags" + + "\030\003 \003(\tB\004\342A\001\001\022\"\n\024stable_revision_tags\030\004 \003" + + "(\tB\004\342A\001\001\"\236\001\n\rRuntimeConfig\022>\n\nkubernetes" + + "\030\001 \001(\0132(.google.cloud.deploy.v1.Kubernet" + + "esConfigH\000\022;\n\tcloud_run\030\002 \001(\0132&.google.c" + + "loud.deploy.v1.CloudRunConfigH\000B\020\n\016runti" + + "me_config\"Y\n\026PipelineReadyCondition\022\016\n\006s" + + "tatus\030\003 \001(\010\022/\n\013update_time\030\004 \001(\0132\032.googl" + + "e.protobuf.Timestamp\"\233\001\n\027TargetsPresentC" + + "ondition\022\016\n\006status\030\001 \001(\010\022?\n\017missing_targ" + + "ets\030\002 \003(\tB&\372A#\n!clouddeploy.googleapis.c" + + "om/Target\022/\n\013update_time\030\004 \001(\0132\032.google." + + "protobuf.Timestamp\"=\n\024TargetsTypeConditi" + + "on\022\016\n\006status\030\001 \001(\010\022\025\n\rerror_details\030\002 \001(" + + "\t\"\207\002\n\021PipelineCondition\022P\n\030pipeline_read" + + "y_condition\030\001 \001(\0132..google.cloud.deploy." + + "v1.PipelineReadyCondition\022R\n\031targets_pre" + + "sent_condition\030\003 \001(\0132/.google.cloud.depl" + + "oy.v1.TargetsPresentCondition\022L\n\026targets" + + "_type_condition\030\004 \001(\0132,.google.cloud.dep" + + "loy.v1.TargetsTypeCondition\"\255\001\n\034ListDeli" + + "veryPipelinesRequest\022D\n\006parent\030\001 \001(\tB4\342A" + + "\001\002\372A-\022+clouddeploy.googleapis.com/Delive" + + "ryPipeline\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 " + + "\001(\t\"\223\001\n\035ListDeliveryPipelinesResponse\022D\n" + + "\022delivery_pipelines\030\001 \003(\0132(.google.cloud" + + ".deploy.v1.DeliveryPipeline\022\027\n\017next_page" + + "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\032Get" + + "DeliveryPipelineRequest\022B\n\004name\030\001 \001(\tB4\342" + + "A\001\002\372A-\n+clouddeploy.googleapis.com/Deliv" + + "eryPipeline\"\213\002\n\035CreateDeliveryPipelineRe" + + "quest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+clouddep" + + "loy.googleapis.com/DeliveryPipeline\022\"\n\024d" + + "elivery_pipeline_id\030\002 \001(\tB\004\342A\001\002\022I\n\021deliv" + + "ery_pipeline\030\003 \001(\0132(.google.cloud.deploy" + + ".v1.DeliveryPipelineB\004\342A\001\002\022\030\n\nrequest_id" + + "\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001" + + "\001\"\365\001\n\035UpdateDeliveryPipelineRequest\0225\n\013u" + + "pdate_mask\030\001 \001(\0132\032.google.protobuf.Field" + + "MaskB\004\342A\001\002\022I\n\021delivery_pipeline\030\002 \001(\0132(." + + "google.cloud.deploy.v1.DeliveryPipelineB" + + "\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rallow" + + "_missing\030\004 \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\005 " + + "\001(\010B\004\342A\001\001\"\340\001\n\035DeleteDeliveryPipelineRequ" + + "est\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy." + + "googleapis.com/DeliveryPipeline\022\030\n\nreque" + + "st_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\003 \001(\010" + + "B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005f" + + "orce\030\006 \001(\010B\004\342A\001\001\022\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"o\n\024" + + "RollbackTargetConfig\0226\n\007rollout\030\001 \001(\0132\037." + + "google.cloud.deploy.v1.RolloutB\004\342A\001\001\022\037\n\021" + + "starting_phase_id\030\002 \001(\tB\004\342A\001\001\"\266\002\n\025Rollba" + + "ckTargetRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" + + "clouddeploy.googleapis.com/DeliveryPipel" + + "ine\022\027\n\ttarget_id\030\002 \001(\tB\004\342A\001\002\022\030\n\nrollout_" + + "id\030\003 \001(\tB\004\342A\001\002\022\030\n\nrelease_id\030\004 \001(\tB\004\342A\001\001" + + "\022\"\n\024rollout_to_roll_back\030\005 \001(\tB\004\342A\001\001\022K\n\017" + + "rollback_config\030\006 \001(\0132,.google.cloud.dep" + + "loy.v1.RollbackTargetConfigB\004\342A\001\001\022\033\n\rval" + + "idate_only\030\007 \001(\010B\004\342A\001\001\"_\n\026RollbackTarget" + + "Response\022E\n\017rollback_config\030\001 \001(\0132,.goog" + + "le.cloud.deploy.v1.RollbackTargetConfig\"" + + "\210\t\n\006Target\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022\027\n\ttarget" + + "_id\030\002 \001(\tB\004\342A\001\003\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\022\031\n\013de" + + "scription\030\004 \001(\tB\004\342A\001\001\022J\n\013annotations\030\005 \003" + + "(\0132/.google.cloud.deploy.v1.Target.Annot" + + "ationsEntryB\004\342A\001\001\022@\n\006labels\030\006 \003(\0132*.goog" + + "le.cloud.deploy.v1.Target.LabelsEntryB\004\342" + + "A\001\001\022\036\n\020require_approval\030\r \001(\010B\004\342A\001\001\0225\n\013c" + + "reate_time\030\010 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\003\0225\n\013update_time\030\t \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003\0227\n\003gke\030\017 \001(\0132\"" + + ".google.cloud.deploy.v1.GkeClusterB\004\342A\001\001" + + "H\000\022E\n\016anthos_cluster\030\021 \001(\0132%.google.clou" + + "d.deploy.v1.AnthosClusterB\004\342A\001\001H\000\022=\n\003run" + + "\030\022 \001(\0132(.google.cloud.deploy.v1.CloudRun" + + "LocationB\004\342A\001\001H\000\022A\n\014multi_target\030\023 \001(\0132#" + + ".google.cloud.deploy.v1.MultiTargetB\004\342A\001" + + "\001H\000\022C\n\rcustom_target\030\025 \001(\0132$.google.clou" + + "d.deploy.v1.CustomTargetB\004\342A\001\001H\000\022\022\n\004etag" + + "\030\014 \001(\tB\004\342A\001\001\022B\n\021execution_configs\030\020 \003(\0132" + + "\'.google.cloud.deploy.v1.ExecutionConfig" + + "\022U\n\021deploy_parameters\030\024 \003(\01324.google.clo" + + "ud.deploy.v1.Target.DeployParametersEntr" + + "yB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0327\n\025DeployPara" + + "metersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001:`\352A]\n!clouddeploy.googleapis.com/Tar" + + "get\0228projects/{project}/locations/{locat" + + "ion}/targets/{target}B\023\n\021deployment_targ" + + "et\"\326\004\n\017ExecutionConfig\022W\n\006usages\030\001 \003(\0162A" + + ".google.cloud.deploy.v1.ExecutionConfig." + + "ExecutionEnvironmentUsageB\004\342A\001\002\022A\n\014defau" + + "lt_pool\030\002 \001(\0132#.google.cloud.deploy.v1.D" + + "efaultPoolB\004\342A\001\001H\000\022A\n\014private_pool\030\003 \001(\013" + + "2#.google.cloud.deploy.v1.PrivatePoolB\004\342" + + "A\001\001H\000\022B\n\013worker_pool\030\004 \001(\tB-\342A\001\001\372A&\n$clo" + + "udbuild.googleapis.com/WorkerPool\022\035\n\017ser" + + "vice_account\030\005 \001(\tB\004\342A\001\001\022\036\n\020artifact_sto" + + "rage\030\006 \001(\tB\004\342A\001\001\022:\n\021execution_timeout\030\007 " + + "\001(\0132\031.google.protobuf.DurationB\004\342A\001\001\"\213\001\n" + + "\031ExecutionEnvironmentUsage\022+\n\'EXECUTION_" + + "ENVIRONMENT_USAGE_UNSPECIFIED\020\000\022\n\n\006RENDE" + + "R\020\001\022\n\n\006DEPLOY\020\002\022\n\n\006VERIFY\020\003\022\r\n\tPREDEPLOY" + + "\020\004\022\016\n\nPOSTDEPLOY\020\005B\027\n\025execution_environm" + + "ent\"L\n\013DefaultPool\022\035\n\017service_account\030\001 " + + "\001(\tB\004\342A\001\001\022\036\n\020artifact_storage\030\002 \001(\tB\004\342A\001" + + "\001\"\220\001\n\013PrivatePool\022B\n\013worker_pool\030\001 \001(\tB-" + + "\342A\001\002\372A&\n$cloudbuild.googleapis.com/Worke" + + "rPool\022\035\n\017service_account\030\002 \001(\tB\004\342A\001\001\022\036\n\020" + + "artifact_storage\030\003 \001(\tB\004\342A\001\001\"_\n\nGkeClust" + + "er\0226\n\007cluster\030\001 \001(\tB%\372A\"\n container.goog" + + "leapis.com/Cluster\022\031\n\013internal_ip\030\002 \001(\010B" + + "\004\342A\001\001\"J\n\rAnthosCluster\0229\n\nmembership\030\001 \001" + + "(\tB%\372A\"\n gkehub.googleapis.com/Membershi" + + "p\"P\n\020CloudRunLocation\022<\n\010location\030\001 \001(\tB" + + "*\342A\001\002\372A#\n!locations.googleapis.com/Locat" + + "ion\"\'\n\013MultiTarget\022\030\n\ntarget_ids\030\001 \003(\tB\004" + + "\342A\001\002\"`\n\014CustomTarget\022P\n\022custom_target_ty" + + "pe\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy.googleapi" + + "s.com/CustomTargetType\"\261\001\n\022ListTargetsRe" + + "quest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\022!clouddep" + + "loy.googleapis.com/Target\022\027\n\tpage_size\030\002" + + " \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006" + + "filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A" + + "\001\001\"t\n\023ListTargetsResponse\022/\n\007targets\030\001 \003" + + "(\0132\036.google.cloud.deploy.v1.Target\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"L\n\020GetTargetRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002" + + "\372A#\n!clouddeploy.googleapis.com/Target\"\327" + + "\001\n\023CreateTargetRequest\022:\n\006parent\030\001 \001(\tB*" + + "\342A\001\002\372A#\022!clouddeploy.googleapis.com/Targ" + + "et\022\027\n\ttarget_id\030\002 \001(\tB\004\342A\001\002\0224\n\006target\030\003 " + + "\001(\0132\036.google.cloud.deploy.v1.TargetB\004\342A\001" + + "\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_" + + "only\030\005 \001(\010B\004\342A\001\001\"\326\001\n\023UpdateTargetRequest" + + "\0225\n\013update_mask\030\001 \001(\0132\032.google.protobuf." + + "FieldMaskB\004\342A\001\002\0224\n\006target\030\002 \001(\0132\036.google" + + ".cloud.deploy.v1.TargetB\004\342A\001\002\022\030\n\nrequest" + + "_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\004 \001(\010B\004" + + "\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\267\001\n\023De" + + "leteTargetRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#" + + "\n!clouddeploy.googleapis.com/Target\022\030\n\nr" + + "equest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\003" + + " \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022" + + "\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"\340\005\n\020CustomTargetType" + + "\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022#\n\025custom_target_ty" + + "pe_id\030\002 \001(\tB\004\342A\001\003\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\022\031\n\013" + + "description\030\004 \001(\tB\004\342A\001\001\022T\n\013annotations\030\005" + + " \003(\01329.google.cloud.deploy.v1.CustomTarg" + + "etType.AnnotationsEntryB\004\342A\001\001\022J\n\006labels\030" + + "\006 \003(\01324.google.cloud.deploy.v1.CustomTar" + + "getType.LabelsEntryB\004\342A\001\001\0225\n\013create_time" + + "\030\007 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + + "\0225\n\013update_time\030\010 \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\003\022\022\n\004etag\030\t \001(\tB\004\342A\001\001\022M\n\016c" + + "ustom_actions\030\n \001(\01323.google.cloud.deplo" + + "y.v1.CustomTargetSkaffoldActionsH\000\0322\n\020An" + + "notationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001:\200\001\352A}\n+clouddeploy.googlea" + + "pis.com/CustomTargetType\022Nprojects/{proj" + + "ect}/locations/{location}/customTargetTy" + + "pes/{custom_target_type}B\014\n\ndefinition\"\250" + + "\001\n\033CustomTargetSkaffoldActions\022\033\n\rrender" + + "_action\030\001 \001(\tB\004\342A\001\001\022\033\n\rdeploy_action\030\002 \001" + + "(\tB\004\342A\001\002\022O\n\030include_skaffold_modules\030\003 \003" + + "(\0132\'.google.cloud.deploy.v1.SkaffoldModu" + + "lesB\004\342A\001\001\"\346\002\n\017SkaffoldModules\022\025\n\007configs" + + "\030\001 \003(\tB\004\342A\001\001\022H\n\003git\030\002 \001(\01329.google.cloud" + + ".deploy.v1.SkaffoldModules.SkaffoldGitSo" + + "urceH\000\022Y\n\024google_cloud_storage\030\003 \001(\01329.g" + + "oogle.cloud.deploy.v1.SkaffoldModules.Sk" + + "affoldGCSSourceH\000\032N\n\021SkaffoldGitSource\022\022" + + "\n\004repo\030\001 \001(\tB\004\342A\001\002\022\022\n\004path\030\002 \001(\tB\004\342A\001\001\022\021" + + "\n\003ref\030\003 \001(\tB\004\342A\001\001\032=\n\021SkaffoldGCSSource\022\024" + + "\n\006source\030\001 \001(\tB\004\342A\001\002\022\022\n\004path\030\002 \001(\tB\004\342A\001\001" + + "B\010\n\006source\"\305\001\n\034ListCustomTargetTypesRequ" + + "est\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+clouddeplo" + + "y.googleapis.com/CustomTargetType\022\027\n\tpag" + + "e_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004" + + "\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005" + + " \001(\tB\004\342A\001\001\"\224\001\n\035ListCustomTargetTypesResp" + + "onse\022E\n\023custom_target_types\030\001 \003(\0132(.goog" + + "le.cloud.deploy.v1.CustomTargetType\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + + "\t\"`\n\032GetCustomTargetTypeRequest\022B\n\004name\030" + + "\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy.googleapis.c" + + "om/CustomTargetType\"\215\002\n\035CreateCustomTarg" + + "etTypeRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+" + + "clouddeploy.googleapis.com/CustomTargetT" + + "ype\022#\n\025custom_target_type_id\030\002 \001(\tB\004\342A\001\002" + + "\022J\n\022custom_target_type\030\003 \001(\0132(.google.cl" + + "oud.deploy.v1.CustomTargetTypeB\004\342A\001\002\022\030\n\n" + + "request_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + + "\005 \001(\010B\004\342A\001\001\"\366\001\n\035UpdateCustomTargetTypeRe" + + "quest\0225\n\013update_mask\030\001 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\004\342A\001\002\022J\n\022custom_target_ty" + + "pe\030\002 \001(\0132(.google.cloud.deploy.v1.Custom" + + "TargetTypeB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A" + + "\001\001\022\033\n\rallow_missing\030\004 \001(\010B\004\342A\001\001\022\033\n\rvalid" + + "ate_only\030\005 \001(\010B\004\342A\001\001\"\313\001\n\035DeleteCustomTar" + + "getTypeRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+c" + + "louddeploy.googleapis.com/CustomTargetTy" + + "pe\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_mi" + + "ssing\030\003 \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010" + + "B\004\342A\001\001\022\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"\221\001\n\017TargetAtt" + + "ribute\022\n\n\002id\030\001 \001(\t\022C\n\006labels\030\002 \003(\01323.goo" + + "gle.cloud.deploy.v1.TargetAttribute.Labe" + + "lsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001\"\301\027\n\007Release\022\022\n\004name\030\001 \001(\t" + + "B\004\342A\001\001\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\023\n\013description" + + "\030\003 \001(\t\022E\n\013annotations\030\004 \003(\01320.google.clo" + + "ud.deploy.v1.Release.AnnotationsEntry\022;\n" + + "\006labels\030\005 \003(\0132+.google.cloud.deploy.v1.R" + + "elease.LabelsEntry\022\027\n\tabandoned\030\027 \001(\010B\004\342" + + "A\001\003\0225\n\013create_time\030\006 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\022;\n\021render_start_time\030" + + "\007 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "9\n\017render_end_time\030\010 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\022\033\n\023skaffold_config_ur" + + "i\030\021 \001(\t\022\034\n\024skaffold_config_path\030\t \001(\t\022>\n" + + "\017build_artifacts\030\n \003(\0132%.google.cloud.de" + + "ploy.v1.BuildArtifact\022R\n\032delivery_pipeli" + + "ne_snapshot\030\013 \001(\0132(.google.cloud.deploy." + + "v1.DeliveryPipelineB\004\342A\001\003\022>\n\020target_snap" + + "shots\030\014 \003(\0132\036.google.cloud.deploy.v1.Tar" + + "getB\004\342A\001\003\022T\n\034custom_target_type_snapshot" + + "s\030\033 \003(\0132(.google.cloud.deploy.v1.CustomT" + + "argetTypeB\004\342A\001\003\022G\n\014render_state\030\r \001(\0162+." + + "google.cloud.deploy.v1.Release.RenderSta" + + "teB\004\342A\001\003\022\014\n\004etag\030\020 \001(\t\022\030\n\020skaffold_versi" + + "on\030\023 \001(\t\022T\n\020target_artifacts\030\024 \003(\01324.goo" + + "gle.cloud.deploy.v1.Release.TargetArtifa" + + "ctsEntryB\004\342A\001\003\022P\n\016target_renders\030\026 \003(\01322" + + ".google.cloud.deploy.v1.Release.TargetRe" + + "ndersEntryB\004\342A\001\003\022I\n\tcondition\030\030 \001(\01320.go" + + "ogle.cloud.deploy.v1.Release.ReleaseCond" + + "itionB\004\342A\001\003\022V\n\021deploy_parameters\030\031 \003(\01325" + + ".google.cloud.deploy.v1.Release.DeployPa" + + "rametersEntryB\004\342A\001\001\032\331\005\n\014TargetRender\022A\n\017" + + "rendering_build\030\001 \001(\tB(\342A\001\003\372A!\n\037cloudbui" + + "ld.googleapis.com/Build\022]\n\017rendering_sta" + + "te\030\002 \001(\0162>.google.cloud.deploy.v1.Releas" + + "e.TargetRender.TargetRenderStateB\004\342A\001\003\022>" + + "\n\010metadata\030\006 \001(\0132&.google.cloud.deploy.v" + + "1.RenderMetadataB\004\342A\001\003\022V\n\rfailure_cause\030" + + "\004 \001(\01629.google.cloud.deploy.v1.Release.T" + + "argetRender.FailureCauseB\004\342A\001\003\022\035\n\017failur" + + "e_message\030\005 \001(\tB\004\342A\001\003\"d\n\021TargetRenderSta" + + "te\022#\n\037TARGET_RENDER_STATE_UNSPECIFIED\020\000\022" + + "\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PROGRES" + + "S\020\003\"\211\002\n\014FailureCause\022\035\n\031FAILURE_CAUSE_UN" + + "SPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAILABLE\020\001" + + "\022\024\n\020EXECUTION_FAILED\020\002\022\036\n\032CLOUD_BUILD_RE" + + "QUEST_FAILED\020\003\022!\n\035VERIFICATION_CONFIG_NO" + + "T_FOUND\020\004\022\033\n\027CUSTOM_ACTION_NOT_FOUND\020\005\022%" + + "\n!DEPLOYMENT_STRATEGY_NOT_SUPPORTED\020\006\022 \n" + + "\034RENDER_FEATURE_NOT_SUPPORTED\020\007\032\'\n\025Relea" + + "seReadyCondition\022\016\n\006status\030\001 \001(\010\032\362\001\n\032Ska" + + "ffoldSupportedCondition\022\016\n\006status\030\001 \001(\010\022" + + "L\n\026skaffold_support_state\030\002 \001(\0162,.google" + + ".cloud.deploy.v1.SkaffoldSupportState\0229\n" + + "\025maintenance_mode_time\030\003 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022;\n\027support_expiration_t" + + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\032\314\001" + + "\n\020ReleaseCondition\022V\n\027release_ready_cond" + + "ition\030\001 \001(\01325.google.cloud.deploy.v1.Rel" + + "ease.ReleaseReadyCondition\022`\n\034skaffold_s" + + "upported_condition\030\002 \001(\0132:.google.cloud." + + "deploy.v1.Release.SkaffoldSupportedCondi" + + "tion\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032^\n\024TargetArtifac" + + "tsEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.go" + + "ogle.cloud.deploy.v1.TargetArtifact:\0028\001\032" + + "b\n\022TargetRendersEntry\022\013\n\003key\030\001 \001(\t\022;\n\005va" + + "lue\030\002 \001(\0132,.google.cloud.deploy.v1.Relea" + + "se.TargetRender:\0028\001\0327\n\025DeployParametersE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"W\n\013" + + "RenderState\022\034\n\030RENDER_STATE_UNSPECIFIED\020" + + "\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PROGR" + + "ESS\020\003:\212\001\352A\206\001\n\"clouddeploy.googleapis.com" + + "/Release\022`projects/{project}/locations/{" + + "location}/deliveryPipelines/{delivery_pi" + + "peline}/releases/{release}\"+\n\rBuildArtif" + + "act\022\r\n\005image\030\003 \001(\t\022\013\n\003tag\030\002 \001(\t\"\262\003\n\016Targ" + + "etArtifact\022\034\n\014artifact_uri\030\004 \001(\tB\004\342A\001\003H\000" + + "\022\"\n\024skaffold_config_path\030\002 \001(\tB\004\342A\001\003\022\033\n\r" + + "manifest_path\030\003 \001(\tB\004\342A\001\003\022Y\n\017phase_artif" + + "acts\030\005 \003(\0132:.google.cloud.deploy.v1.Targ" + + "etArtifact.PhaseArtifactsEntryB\004\342A\001\003\032r\n\r" + + "PhaseArtifact\022\"\n\024skaffold_config_path\030\001 " + + "\001(\tB\004\342A\001\003\022\033\n\rmanifest_path\030\003 \001(\tB\004\342A\001\003\022 " + + "\n\022job_manifests_path\030\004 \001(\tB\004\342A\001\003\032k\n\023Phas" + + "eArtifactsEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 " + + "\001(\01324.google.cloud.deploy.v1.TargetArtif" + + "act.PhaseArtifact:\0028\001B\005\n\003uri\"J\n\016DeployAr" + + "tifact\022\032\n\014artifact_uri\030\001 \001(\tB\004\342A\001\003\022\034\n\016ma" + + "nifest_paths\030\002 \003(\tB\004\342A\001\003\"N\n\026CloudRunRend" + + "erMetadata\0224\n\007service\030\001 \001(\tB#\342A\001\003\372A\034\n\032ru" + + "n.googleapis.com/Service\"\227\001\n\016RenderMetad" + + "ata\022G\n\tcloud_run\030\001 \001(\0132..google.cloud.de" + + "ploy.v1.CloudRunRenderMetadataB\004\342A\001\003\022<\n\006" + + "custom\030\002 \001(\0132&.google.cloud.deploy.v1.Cu" + + "stomMetadataB\004\342A\001\003\"\274\001\n\023ListReleasesReque" + + "st\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy" + + ".googleapis.com/DeliveryPipeline\022\027\n\tpage" + + "_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342" + + "A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 " + + "\001(\tB\004\342A\001\001\"w\n\024ListReleasesResponse\0221\n\010rel" + + "eases\030\001 \003(\0132\037.google.cloud.deploy.v1.Rel", + "ease\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreach" + + "able\030\003 \003(\t\"N\n\021GetReleaseRequest\0229\n\004name\030" + + "\001 \001(\tB+\342A\001\002\372A$\n\"clouddeploy.googleapis.c" + + "om/Release\"\345\001\n\024CreateReleaseRequest\022D\n\006p" + + "arent\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy.google" + + "apis.com/DeliveryPipeline\022\030\n\nrelease_id\030" + + "\002 \001(\tB\004\342A\001\002\0226\n\007release\030\003 \001(\0132\037.google.cl" + + "oud.deploy.v1.ReleaseB\004\342A\001\002\022\030\n\nrequest_i" + + "d\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A" + + "\001\001\"\372\016\n\007Rollout\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022\021\n\003ui" + + "d\030\002 \001(\tB\004\342A\001\003\022\023\n\013description\030\003 \001(\t\022E\n\013an" + + "notations\030\004 \003(\01320.google.cloud.deploy.v1" + + ".Rollout.AnnotationsEntry\022;\n\006labels\030\005 \003(" + + "\0132+.google.cloud.deploy.v1.Rollout.Label" + + "sEntry\0225\n\013create_time\030\006 \001(\0132\032.google.pro" + + "tobuf.TimestampB\004\342A\001\003\0226\n\014approve_time\030\007 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0226\n" + + "\014enqueue_time\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\022;\n\021deploy_start_time\030\t \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\0229\n\017de" + + "ploy_end_time\030\n \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\022\027\n\ttarget_id\030\022 \001(\tB\004\342A\001\002\022K" + + "\n\016approval_state\030\014 \001(\0162-.google.cloud.de" + + "ploy.v1.Rollout.ApprovalStateB\004\342A\001\003\022:\n\005s" + + "tate\030\r \001(\0162%.google.cloud.deploy.v1.Roll" + + "out.StateB\004\342A\001\003\022\034\n\016failure_reason\030\016 \001(\tB" + + "\004\342A\001\003\022A\n\017deploying_build\030\021 \001(\tB(\342A\001\003\372A!\n" + + "\037cloudbuild.googleapis.com/Build\022\014\n\004etag" + + "\030\020 \001(\t\022P\n\024deploy_failure_cause\030\023 \001(\0162,.g" + + "oogle.cloud.deploy.v1.Rollout.FailureCau" + + "seB\004\342A\001\003\0223\n\006phases\030\027 \003(\0132\035.google.cloud." + + "deploy.v1.PhaseB\004\342A\001\003\0228\n\010metadata\030\030 \001(\0132" + + " .google.cloud.deploy.v1.MetadataB\004\342A\001\003\022" + + " \n\022controller_rollout\030\031 \001(\tB\004\342A\001\003\022!\n\023rol" + + "lback_of_rollout\030\032 \001(\tB\004\342A\001\003\022%\n\027rolled_b" + + "ack_by_rollouts\030\033 \003(\tB\004\342A\001\003\0322\n\020Annotatio" + + "nsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"{\n\rApprovalState\022\036\n\032APPROVAL_STAT" + + "E_UNSPECIFIED\020\000\022\022\n\016NEEDS_APPROVAL\020\001\022\032\n\026D" + + "OES_NOT_NEED_APPROVAL\020\002\022\014\n\010APPROVED\020\003\022\014\n" + + "\010REJECTED\020\004\"\304\001\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PR" + + "OGRESS\020\003\022\024\n\020PENDING_APPROVAL\020\004\022\025\n\021APPROV" + + "AL_REJECTED\020\005\022\013\n\007PENDING\020\006\022\023\n\017PENDING_RE" + + "LEASE\020\007\022\016\n\nCANCELLING\020\010\022\r\n\tCANCELLED\020\t\022\n" + + "\n\006HALTED\020\n\"\212\002\n\014FailureCause\022\035\n\031FAILURE_C" + + "AUSE_UNSPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAI" + + "LABLE\020\001\022\024\n\020EXECUTION_FAILED\020\002\022\025\n\021DEADLIN" + + "E_EXCEEDED\020\003\022\022\n\016RELEASE_FAILED\020\004\022\025\n\021RELE" + + "ASE_ABANDONED\020\005\022!\n\035VERIFICATION_CONFIG_N" + + "OT_FOUND\020\006\022\036\n\032CLOUD_BUILD_REQUEST_FAILED" + + "\020\007\022#\n\037OPERATION_FEATURE_NOT_SUPPORTED\020\010:" + + "\235\001\352A\231\001\n\"clouddeploy.googleapis.com/Rollo" + + "ut\022sprojects/{project}/locations/{locati" + + "on}/deliveryPipelines/{delivery_pipeline" + + "}/releases/{release}/rollouts/{rollout}\"" + + "\330\001\n\010Metadata\022A\n\tcloud_run\030\001 \001(\0132(.google" + + ".cloud.deploy.v1.CloudRunMetadataB\004\342A\001\003\022" + + "K\n\nautomation\030\002 \001(\01321.google.cloud.deplo" + + "y.v1.AutomationRolloutMetadataB\004\342A\001\003\022<\n\006" + + "custom\030\003 \001(\0132&.google.cloud.deploy.v1.Cu" + + "stomMetadataB\004\342A\001\003\"\350\001\n\024DeployJobRunMetad" + + "ata\022A\n\tcloud_run\030\001 \001(\0132(.google.cloud.de" + + "ploy.v1.CloudRunMetadataB\004\342A\001\003\022O\n\rcustom" + + "_target\030\002 \001(\01322.google.cloud.deploy.v1.C" + + "ustomTargetDeployMetadataB\004\342A\001\003\022<\n\006custo" + + "m\030\003 \001(\0132&.google.cloud.deploy.v1.CustomM" + + "etadataB\004\342A\001\003\"\252\001\n\020CloudRunMetadata\0224\n\007se" + + "rvice\030\001 \001(\tB#\342A\001\003\372A\034\n\032run.googleapis.com" + + "/Service\022\032\n\014service_urls\030\002 \003(\tB\004\342A\001\003\022\026\n\010" + + "revision\030\003 \001(\tB\004\342A\001\003\022,\n\003job\030\004 \001(\tB\037\342A\001\003\372" + + "A\030\n\026run.googleapis.com/Job\"8\n\032CustomTarg" + + "etDeployMetadata\022\032\n\014skip_message\030\001 \001(\tB\004" + + "\342A\001\003\"\216\001\n\031AutomationRolloutMetadata\022$\n\026pr" + + "omote_automation_run\030\001 \001(\tB\004\342A\001\003\022%\n\027adva" + + "nce_automation_runs\030\002 \003(\tB\004\342A\001\003\022$\n\026repai" + + "r_automation_runs\030\003 \003(\tB\004\342A\001\003\"\211\001\n\016Custom" + + "Metadata\022H\n\006values\030\001 \003(\01322.google.cloud." + + "deploy.v1.CustomMetadata.ValuesEntryB\004\342A" + + "\001\003\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\"\201\003\n\005Phase\022\020\n\002id\030\001 \001(\tB\004\342A\001\003\0228\n" + + "\005state\030\003 \001(\0162#.google.cloud.deploy.v1.Ph" + + "ase.StateB\004\342A\001\003\022\032\n\014skip_message\030\006 \001(\tB\004\342" + + "A\001\003\022G\n\017deployment_jobs\030\004 \001(\0132&.google.cl" + + "oud.deploy.v1.DeploymentJobsB\004\342A\001\003H\000\022L\n\022" + + "child_rollout_jobs\030\005 \001(\0132(.google.cloud." + + "deploy.v1.ChildRolloutJobsB\004\342A\001\003H\000\"q\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022" + + "\017\n\013IN_PROGRESS\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILE" + + "D\020\004\022\013\n\007ABORTED\020\005\022\013\n\007SKIPPED\020\006B\006\n\004jobs\"\363\001" + + "\n\016DeploymentJobs\0225\n\ndeploy_job\030\001 \001(\0132\033.g" + + "oogle.cloud.deploy.v1.JobB\004\342A\001\003\0225\n\nverif" + + "y_job\030\002 \001(\0132\033.google.cloud.deploy.v1.Job" + + "B\004\342A\001\003\0228\n\rpredeploy_job\030\003 \001(\0132\033.google.c" + + "loud.deploy.v1.JobB\004\342A\001\003\0229\n\016postdeploy_j" + + "ob\030\004 \001(\0132\033.google.cloud.deploy.v1.JobB\004\342" + + "A\001\003\"\223\001\n\020ChildRolloutJobs\022>\n\023create_rollo" + + "ut_jobs\030\001 \003(\0132\033.google.cloud.deploy.v1.J" + + "obB\004\342A\001\003\022?\n\024advance_rollout_jobs\030\002 \003(\0132\033" + + ".google.cloud.deploy.v1.JobB\004\342A\001\003\"\201\006\n\003Jo" + + "b\022\020\n\002id\030\001 \001(\tB\004\342A\001\003\0226\n\005state\030\002 \001(\0162!.goo" + + "gle.cloud.deploy.v1.Job.StateB\004\342A\001\003\022\032\n\014s" + + "kip_message\030\010 \001(\tB\004\342A\001\003\022;\n\007job_run\030\003 \001(\t" + + "B*\342A\001\003\372A#\n!clouddeploy.googleapis.com/Jo" + + "bRun\022=\n\ndeploy_job\030\004 \001(\0132!.google.cloud." + + "deploy.v1.DeployJobB\004\342A\001\003H\000\022=\n\nverify_jo" + + "b\030\005 \001(\0132!.google.cloud.deploy.v1.VerifyJ" + + "obB\004\342A\001\003H\000\022C\n\rpredeploy_job\030\t \001(\0132$.goog" + + "le.cloud.deploy.v1.PredeployJobB\004\342A\001\003H\000\022" + + "E\n\016postdeploy_job\030\n \001(\0132%.google.cloud.d" + + "eploy.v1.PostdeployJobB\004\342A\001\003H\000\022W\n\030create" + + "_child_rollout_job\030\006 \001(\0132-.google.cloud." + + "deploy.v1.CreateChildRolloutJobB\004\342A\001\003H\000\022" + + "Y\n\031advance_child_rollout_job\030\007 \001(\0132..goo" + + "gle.cloud.deploy.v1.AdvanceChildRolloutJ" + + "obB\004\342A\001\003H\000\"\214\001\n\005State\022\025\n\021STATE_UNSPECIFIE" + + "D\020\000\022\013\n\007PENDING\020\001\022\014\n\010DISABLED\020\002\022\017\n\013IN_PRO" + + "GRESS\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\013\n\007AB" + + "ORTED\020\006\022\013\n\007SKIPPED\020\007\022\013\n\007IGNORED\020\010B\n\n\010job" + + "_type\"\013\n\tDeployJob\"\013\n\tVerifyJob\"%\n\014Prede" + + "ployJob\022\025\n\007actions\030\001 \003(\tB\004\342A\001\003\"&\n\rPostde" + + "ployJob\022\025\n\007actions\030\001 \003(\tB\004\342A\001\003\"\027\n\025Create" + + "ChildRolloutJob\"\030\n\026AdvanceChildRolloutJo" + + "b\"\263\001\n\023ListRolloutsRequest\022;\n\006parent\030\001 \001(" + + "\tB+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/R" + + "elease\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_" + + "token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022" + + "\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"w\n\024ListRolloutsR" + + "esponse\0221\n\010rollouts\030\001 \003(\0132\037.google.cloud" + + ".deploy.v1.Rollout\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"N\n\021GetRolloutRe" + + "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clouddeplo" + + "y.googleapis.com/Rollout\"\375\001\n\024CreateRollo" + + "utRequest\022;\n\006parent\030\001 \001(\tB+\342A\001\002\372A$\n\"clou" + + "ddeploy.googleapis.com/Release\022\030\n\nrollou" + + "t_id\030\002 \001(\tB\004\342A\001\002\0226\n\007rollout\030\003 \001(\0132\037.goog" + + "le.cloud.deploy.v1.RolloutB\004\342A\001\002\022\030\n\nrequ" + + "est_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(" + + "\010B\004\342A\001\001\022\037\n\021starting_phase_id\030\007 \001(\tB\004\342A\001\001" + + "\"\207\002\n\021OperationMetadata\0225\n\013create_time\030\001 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0222\n" + + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\004\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030" + + "\004 \001(\tB\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001" + + "\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342A\001\003\022" + + "\031\n\013api_version\030\007 \001(\tB\004\342A\001\003\"j\n\025ApproveRol" + + "loutRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clou" + + "ddeploy.googleapis.com/Rollout\022\026\n\010approv" + + "ed\030\002 \001(\010B\004\342A\001\002\"\030\n\026ApproveRolloutResponse" + + "\"j\n\025AdvanceRolloutRequest\0229\n\004name\030\001 \001(\tB" + + "+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/Rol" + + "lout\022\026\n\010phase_id\030\002 \001(\tB\004\342A\001\002\"\030\n\026AdvanceR" + + "olloutResponse\"Q\n\024CancelRolloutRequest\0229" + + "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clouddeploy.googl" + + "eapis.com/Rollout\"\027\n\025CancelRolloutRespon" + + "se\"~\n\020IgnoreJobRequest\022<\n\007rollout\030\001 \001(\tB" + + "+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/Rol" + + "lout\022\026\n\010phase_id\030\002 \001(\tB\004\342A\001\002\022\024\n\006job_id\030\003" + + " \001(\tB\004\342A\001\002\"\023\n\021IgnoreJobResponse\"}\n\017Retry" + + "JobRequest\022<\n\007rollout\030\001 \001(\tB+\342A\001\002\372A$\n\"cl" + + "ouddeploy.googleapis.com/Rollout\022\026\n\010phas" + + "e_id\030\002 \001(\tB\004\342A\001\002\022\024\n\006job_id\030\003 \001(\tB\004\342A\001\002\"\022" + + "\n\020RetryJobResponse\"R\n\025AbandonReleaseRequ" + + "est\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clouddeploy." + + "googleapis.com/Release\"\030\n\026AbandonRelease" + + "Response\"\337\010\n\006JobRun\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022" + + "\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\026\n\010phase_id\030\003 \001(\tB\004\342A" + + "\001\003\022\024\n\006job_id\030\004 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "4\n\nstart_time\030\006 \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\0222\n\010end_time\030\007 \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003\0229\n\005state\030\010 \001(\016" + + "2$.google.cloud.deploy.v1.JobRun.StateB\004" + + "\342A\001\003\022D\n\016deploy_job_run\030\t \001(\0132$.google.cl" + + "oud.deploy.v1.DeployJobRunB\004\342A\001\003H\000\022D\n\016ve" + + "rify_job_run\030\n \001(\0132$.google.cloud.deploy" + + ".v1.VerifyJobRunB\004\342A\001\003H\000\022J\n\021predeploy_jo" + + "b_run\030\016 \001(\0132\'.google.cloud.deploy.v1.Pre" + + "deployJobRunB\004\342A\001\003H\000\022L\n\022postdeploy_job_r" + + "un\030\017 \001(\0132(.google.cloud.deploy.v1.Postde" + + "ployJobRunB\004\342A\001\003H\000\022^\n\034create_child_rollo" + + "ut_job_run\030\014 \001(\01320.google.cloud.deploy.v" + + "1.CreateChildRolloutJobRunB\004\342A\001\003H\000\022`\n\035ad" + + "vance_child_rollout_job_run\030\r \001(\01321.goog" + + "le.cloud.deploy.v1.AdvanceChildRolloutJo" + + "bRunB\004\342A\001\003H\000\022\022\n\004etag\030\013 \001(\tB\004\342A\001\003\"k\n\005Stat" + + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020" + + "\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\017\n\013TERMINAT" + + "ING\020\004\022\016\n\nTERMINATED\020\005:\257\001\352A\253\001\n!clouddeplo" + + "y.googleapis.com/JobRun\022\205\001projects/{proj" + + "ect}/locations/{location}/deliveryPipeli" + + "nes/{delivery_pipeline}/releases/{releas" + + "e}/rollouts/{rollout}/jobRuns/{job_run}B" + + "\t\n\007job_run\"\232\004\n\014DeployJobRun\0227\n\005build\030\001 \001" + + "(\tB(\342A\001\003\372A!\n\037cloudbuild.googleapis.com/B" + + "uild\022N\n\rfailure_cause\030\002 \001(\01621.google.clo" + + "ud.deploy.v1.DeployJobRun.FailureCauseB\004" + + "\342A\001\003\022\035\n\017failure_message\030\003 \001(\tB\004\342A\001\003\022D\n\010m" + + "etadata\030\004 \001(\0132,.google.cloud.deploy.v1.D" + + "eployJobRunMetadataB\004\342A\001\003\022>\n\010artifact\030\005 " + + "\001(\0132&.google.cloud.deploy.v1.DeployArtif" + + "actB\004\342A\001\003\"\333\001\n\014FailureCause\022\035\n\031FAILURE_CA" + + "USE_UNSPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAIL" + + "ABLE\020\001\022\024\n\020EXECUTION_FAILED\020\002\022\025\n\021DEADLINE" + + "_EXCEEDED\020\003\022 \n\034MISSING_RESOURCES_FOR_CAN" + + "ARY\020\004\022\036\n\032CLOUD_BUILD_REQUEST_FAILED\020\005\022 \n" + + "\034DEPLOY_FEATURE_NOT_SUPPORTED\020\006\"\255\003\n\014Veri" + + "fyJobRun\0227\n\005build\030\001 \001(\tB(\342A\001\003\372A!\n\037cloudb" + + "uild.googleapis.com/Build\022\032\n\014artifact_ur" + + "i\030\002 \001(\tB\004\342A\001\003\022\034\n\016event_log_path\030\003 \001(\tB\004\342" + + "A\001\003\022N\n\rfailure_cause\030\004 \001(\01621.google.clou" + + "d.deploy.v1.VerifyJobRun.FailureCauseB\004\342" + + "A\001\003\022\035\n\017failure_message\030\005 \001(\tB\004\342A\001\003\"\272\001\n\014F" + + "ailureCause\022\035\n\031FAILURE_CAUSE_UNSPECIFIED" + + "\020\000\022\033\n\027CLOUD_BUILD_UNAVAILABLE\020\001\022\024\n\020EXECU" + + "TION_FAILED\020\002\022\025\n\021DEADLINE_EXCEEDED\020\003\022!\n\035" + + "VERIFICATION_CONFIG_NOT_FOUND\020\004\022\036\n\032CLOUD" + + "_BUILD_REQUEST_FAILED\020\005\"\326\002\n\017PredeployJob" + + "Run\0227\n\005build\030\001 \001(\tB(\342A\001\003\372A!\n\037cloudbuild." + + "googleapis.com/Build\022Q\n\rfailure_cause\030\002 " + + "\001(\01624.google.cloud.deploy.v1.PredeployJo" + + "bRun.FailureCauseB\004\342A\001\003\022\035\n\017failure_messa" + + "ge\030\003 \001(\tB\004\342A\001\003\"\227\001\n\014FailureCause\022\035\n\031FAILU" + + "RE_CAUSE_UNSPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UN" + + "AVAILABLE\020\001\022\024\n\020EXECUTION_FAILED\020\002\022\025\n\021DEA" + + "DLINE_EXCEEDED\020\003\022\036\n\032CLOUD_BUILD_REQUEST_" + + "FAILED\020\004\"\330\002\n\020PostdeployJobRun\0227\n\005build\030\001" + + " \001(\tB(\342A\001\003\372A!\n\037cloudbuild.googleapis.com" + + "/Build\022R\n\rfailure_cause\030\002 \001(\01625.google.c" + + "loud.deploy.v1.PostdeployJobRun.FailureC" + + "auseB\004\342A\001\003\022\035\n\017failure_message\030\003 \001(\tB\004\342A\001" + + "\003\"\227\001\n\014FailureCause\022\035\n\031FAILURE_CAUSE_UNSP" + + "ECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAILABLE\020\001\022\024" + + "\n\020EXECUTION_FAILED\020\002\022\025\n\021DEADLINE_EXCEEDE" + + "D\020\003\022\036\n\032CLOUD_BUILD_REQUEST_FAILED\020\004\"Q\n\030C" + + "reateChildRolloutJobRun\022\025\n\007rollout\030\001 \001(\t" + + "B\004\342A\001\003\022\036\n\020rollout_phase_id\030\002 \001(\tB\004\342A\001\003\"R" + + "\n\031AdvanceChildRolloutJobRun\022\025\n\007rollout\030\001" + + " \001(\tB\004\342A\001\003\022\036\n\020rollout_phase_id\030\002 \001(\tB\004\342A" + + "\001\003\"\262\001\n\022ListJobRunsRequest\022;\n\006parent\030\001 \001(" + + "\tB+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/R" + + "ollout\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_" + + "token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022" + + "\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"u\n\023ListJobRunsRe" + + "sponse\0220\n\010job_runs\030\001 \003(\0132\036.google.cloud." + + "deploy.v1.JobRun\022\027\n\017next_page_token\030\002 \001(" + + "\t\022\023\n\013unreachable\030\003 \003(\t\"L\n\020GetJobRunReque" + + "st\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!clouddeploy.g" + + "oogleapis.com/JobRun\"R\n\026TerminateJobRunR" + + "equest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!clouddepl" + + "oy.googleapis.com/JobRun\"\031\n\027TerminateJob" + + "RunResponse\"\325\001\n\006Config\022\014\n\004name\030\001 \001(\t\022C\n\022" + + "supported_versions\030\002 \003(\0132\'.google.cloud." + + "deploy.v1.SkaffoldVersion\022 \n\030default_ska" + + "ffold_version\030\003 \001(\t:V\352AS\n!clouddeploy.go" + + "ogleapis.com/Config\022.projects/{project}/" + + "locations/{location}/config\"\307\001\n\017Skaffold" + + "Version\022\017\n\007version\030\001 \001(\t\0229\n\025maintenance_" + + "mode_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\022;\n\027support_expiration_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022+\n\020support_end_" + + "date\030\002 \001(\0132\021.google.type.Date\"L\n\020GetConf" + + "igRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!cloudd" + + "eploy.googleapis.com/Config\"\243\006\n\nAutomati" + + "on\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\021\n\003uid\030\002 \001(\tB\004\342A\001" + + "\003\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\0225\n\013create_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342" + + "A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\022N\n\013annotations\030\006 \003(\0132" + + "3.google.cloud.deploy.v1.Automation.Anno" + + "tationsEntryB\004\342A\001\001\022D\n\006labels\030\007 \003(\0132..goo" + + "gle.cloud.deploy.v1.Automation.LabelsEnt" + + "ryB\004\342A\001\001\022\022\n\004etag\030\010 \001(\tB\004\342A\001\001\022\027\n\tsuspende" + + "d\030\t \001(\010B\004\342A\001\001\022\035\n\017service_account\030\n \001(\tB\004" + + "\342A\001\002\022J\n\010selector\030\013 \001(\01322.google.cloud.de" + + "ploy.v1.AutomationResourceSelectorB\004\342A\001\002" + + "\022;\n\005rules\030\016 \003(\0132&.google.cloud.deploy.v1" + + ".AutomationRuleB\004\342A\001\002\0322\n\020AnnotationsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + ":\226\001\352A\222\001\n%clouddeploy.googleapis.com/Auto" + + "mation\022fprojects/{project}/locations/{lo" + + "cation}/deliveryPipelines/{delivery_pipe" + + "line}/automations/{automation}R\001\001\"V\n\032Aut" + + "omationResourceSelector\0228\n\007targets\030\001 \003(\013" + + "2\'.google.cloud.deploy.v1.TargetAttribut" + + "e\"\214\002\n\016AutomationRule\022P\n\024promote_release_" + + "rule\030\001 \001(\0132*.google.cloud.deploy.v1.Prom" + + "oteReleaseRuleB\004\342A\001\001H\000\022P\n\024advance_rollou" + + "t_rule\030\002 \001(\0132*.google.cloud.deploy.v1.Ad" + + "vanceRolloutRuleB\004\342A\001\001H\000\022N\n\023repair_rollo" + + "ut_rule\030\003 \001(\0132).google.cloud.deploy.v1.R" + + "epairRolloutRuleB\004\342A\001\001H\000B\006\n\004rule\"\345\001\n\022Pro" + + "moteReleaseRule\022\020\n\002id\030\001 \001(\tB\004\342A\001\002\022-\n\004wai" + + "t\030\002 \001(\0132\031.google.protobuf.DurationB\004\342A\001\001" + + "\022#\n\025destination_target_id\030\007 \001(\tB\004\342A\001\001\022H\n" + + "\tcondition\030\005 \001(\0132/.google.cloud.deploy.v" + + "1.AutomationRuleConditionB\004\342A\001\003\022\037\n\021desti" + + "nation_phase\030\010 \001(\tB\004\342A\001\001\"\274\001\n\022AdvanceRoll" + + "outRule\022\020\n\002id\030\001 \001(\tB\004\342A\001\002\022\033\n\rsource_phas" + + "es\030\006 \003(\tB\004\342A\001\001\022-\n\004wait\030\003 \001(\0132\031.google.pr" + + "otobuf.DurationB\004\342A\001\001\022H\n\tcondition\030\005 \001(\013" + + "2/.google.cloud.deploy.v1.AutomationRule" + + "ConditionB\004\342A\001\003\"\340\001\n\021RepairRolloutRule\022\020\n" + + "\002id\030\001 \001(\tB\004\342A\001\002\022\033\n\rsource_phases\030\002 \003(\tB\004" + + "\342A\001\001\022\022\n\004jobs\030\003 \003(\tB\004\342A\001\001\022>\n\014repair_modes" + + "\030\004 \003(\0132\".google.cloud.deploy.v1.RepairMo" + + "deB\004\342A\001\002\022H\n\tcondition\030\006 \001(\0132/.google.clo" + + "ud.deploy.v1.AutomationRuleConditionB\004\342A" + + "\001\003\"\206\001\n\nRepairMode\0224\n\005retry\030\001 \001(\0132\035.googl" + + "e.cloud.deploy.v1.RetryB\004\342A\001\001H\000\022:\n\010rollb" + + "ack\030\002 \001(\0132 .google.cloud.deploy.v1.Rollb" + + "ackB\004\342A\001\001H\000B\006\n\004mode\"\217\001\n\005Retry\022\026\n\010attempt" + + "s\030\001 \001(\003B\004\342A\001\002\022-\n\004wait\030\002 \001(\0132\031.google.pro" + + "tobuf.DurationB\004\342A\001\001\022?\n\014backoff_mode\030\003 \001" + + "(\0162#.google.cloud.deploy.v1.BackoffModeB" + + "\004\342A\001\001\"+\n\010Rollback\022\037\n\021destination_phase\030\001" + + " \001(\tB\004\342A\001\001\"s\n\027AutomationRuleCondition\022X\n" + + "\031targets_present_condition\030\001 \001(\0132/.googl" + + "e.cloud.deploy.v1.TargetsPresentConditio" + + "nB\004\342A\001\001\"\353\001\n\027CreateAutomationRequest\022>\n\006p" + + "arent\030\001 \001(\tB.\342A\001\002\372A\'\022%clouddeploy.google" + + "apis.com/Automation\022\033\n\rautomation_id\030\002 \001" + + "(\tB\004\342A\001\002\022<\n\nautomation\030\003 \001(\0132\".google.cl" + + "oud.deploy.v1.AutomationB\004\342A\001\002\022\030\n\nreques" + + "t_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B" + + "\004\342A\001\001\"\342\001\n\027UpdateAutomationRequest\0225\n\013upd" + + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + + "skB\004\342A\001\002\022<\n\nautomation\030\002 \001(\0132\".google.cl" + + "oud.deploy.v1.AutomationB\004\342A\001\002\022\030\n\nreques" + + "t_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\004 \001(\010B" + + "\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\277\001\n\027D" + + "eleteAutomationRequest\022<\n\004name\030\001 \001(\tB.\342A" + + "\001\002\372A\'\n%clouddeploy.googleapis.com/Automa" + + "tion\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_" + + "missing\030\003 \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001" + + "(\010B\004\342A\001\001\022\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"\241\001\n\026ListAut" + + "omationsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" + + "\022%clouddeploy.googleapis.com/Automation\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016" + + "\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\200\001\n\027Lis" + + "tAutomationsResponse\0227\n\013automations\030\001 \003(" + + "\0132\".google.cloud.deploy.v1.Automation\022\027\n" + + "\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 " + + "\003(\t\"T\n\024GetAutomationRequest\022<\n\004name\030\001 \001(" + + "\tB.\342A\001\002\372A\'\n%clouddeploy.googleapis.com/A" + + "utomation\"\324\010\n\rAutomationRun\022\022\n\004name\030\001 \001(" + + "\tB\004\342A\001\003\0225\n\013create_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\003 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\022\n" + + "\004etag\030\004 \001(\tB\004\342A\001\003\022\035\n\017service_account\030\005 \001" + + "(\tB\004\342A\001\003\022E\n\023automation_snapshot\030\006 \001(\0132\"." + + "google.cloud.deploy.v1.AutomationB\004\342A\001\003\022" + + "\027\n\ttarget_id\030\007 \001(\tB\004\342A\001\003\022@\n\005state\030\010 \001(\0162" + + "+.google.cloud.deploy.v1.AutomationRun.S" + + "tateB\004\342A\001\003\022\037\n\021state_description\030\t \001(\tB\004\342" + + "A\001\003\0225\n\013expire_time\030\013 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\022\025\n\007rule_id\030\014 \001(\tB\004\342A\001" + + "\003\022\033\n\rautomation_id\030\017 \001(\tB\004\342A\001\003\022Z\n\031promot" + + "e_release_operation\030\r \001(\0132/.google.cloud" + + ".deploy.v1.PromoteReleaseOperationB\004\342A\001\003" + + "H\000\022Z\n\031advance_rollout_operation\030\016 \001(\0132/." + + "google.cloud.deploy.v1.AdvanceRolloutOpe" + + "rationB\004\342A\001\003H\000\022X\n\030repair_rollout_operati" + + "on\030\021 \001(\0132..google.cloud.deploy.v1.Repair" + + "RolloutOperationB\004\342A\001\003H\000\0229\n\017wait_until_t" + + "ime\030\020 \001(\0132\032.google.protobuf.TimestampB\004\342" + + "A\001\003\"f\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tS" + + "UCCEEDED\020\001\022\r\n\tCANCELLED\020\002\022\n\n\006FAILED\020\003\022\017\n" + + "\013IN_PROGRESS\020\004\022\013\n\007PENDING\020\005:\235\001\352A\231\001\n(clou" + + "ddeploy.googleapis.com/AutomationRun\022mpr" + + "ojects/{project}/locations/{location}/de" + + "liveryPipelines/{delivery_pipeline}/auto" + + "mationRuns/{automation_run}B\013\n\toperation" + + "\"\215\001\n\027PromoteReleaseOperation\022\027\n\ttarget_i" + + "d\030\001 \001(\tB\004\342A\001\003\022-\n\004wait\030\002 \001(\0132\031.google.pro" + + "tobuf.DurationB\004\342A\001\003\022\025\n\007rollout\030\003 \001(\tB\004\342" + + "A\001\003\022\023\n\005phase\030\004 \001(\tB\004\342A\001\003\"\234\001\n\027AdvanceRoll" + + "outOperation\022\032\n\014source_phase\030\005 \001(\tB\004\342A\001\003" + + "\022-\n\004wait\030\002 \001(\0132\031.google.protobuf.Duratio" + + "nB\004\342A\001\003\022\025\n\007rollout\030\003 \001(\tB\004\342A\001\003\022\037\n\021destin" + + "ation_phase\030\004 \001(\tB\004\342A\001\003\"\232\001\n\026RepairRollou" + + "tOperation\022\025\n\007rollout\030\001 \001(\tB\004\342A\001\003\022\'\n\031cur" + + "rent_repair_mode_index\030\002 \001(\003B\004\342A\001\003\022@\n\rre" + + "pair_phases\030\003 \003(\0132#.google.cloud.deploy." + + "v1.RepairPhaseB\004\342A\001\003\"\233\001\n\013RepairPhase\0229\n\005" + + "retry\030\001 \001(\0132\".google.cloud.deploy.v1.Ret" + + "ryPhaseB\004\342A\001\003H\000\022A\n\010rollback\030\002 \001(\0132\'.goog" + + "le.cloud.deploy.v1.RollbackAttemptB\004\342A\001\003" + + "H\000B\016\n\014repair_phase\"\327\001\n\nRetryPhase\022\034\n\016tot" + + "al_attempts\030\001 \001(\003B\004\342A\001\003\022?\n\014backoff_mode\030" + + "\002 \001(\0162#.google.cloud.deploy.v1.BackoffMo" + + "deB\004\342A\001\003\022\026\n\010phase_id\030\003 \001(\tB\004\342A\001\003\022\024\n\006job_" + + "id\030\004 \001(\tB\004\342A\001\003\022<\n\010attempts\030\005 \003(\0132$.googl" + + "e.cloud.deploy.v1.RetryAttemptB\004\342A\001\003\"\250\001\n" + + "\014RetryAttempt\022\025\n\007attempt\030\001 \001(\003B\004\342A\001\003\022-\n\004" + + "wait\030\002 \001(\0132\031.google.protobuf.DurationB\004\342" + + "A\001\003\0228\n\005state\030\005 \001(\0162#.google.cloud.deploy" + + ".v1.RepairStateB\004\342A\001\003\022\030\n\nstate_desc\030\006 \001(", + "\tB\004\342A\001\003\"\240\001\n\017RollbackAttempt\022\037\n\021destinati" + + "on_phase\030\001 \001(\tB\004\342A\001\003\022\030\n\nrollout_id\030\002 \001(\t" + + "B\004\342A\001\003\0228\n\005state\030\003 \001(\0162#.google.cloud.dep" + + "loy.v1.RepairStateB\004\342A\001\003\022\030\n\nstate_desc\030\004" + + " \001(\tB\004\342A\001\003\"\247\001\n\031ListAutomationRunsRequest" + + "\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(clouddeploy.g" + + "oogleapis.com/AutomationRun\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001" + + "(\t\022\020\n\010order_by\030\005 \001(\t\"\212\001\n\032ListAutomationR" + + "unsResponse\022>\n\017automation_runs\030\001 \003(\0132%.g" + + "oogle.cloud.deploy.v1.AutomationRun\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + + "\t\"Z\n\027GetAutomationRunRequest\022?\n\004name\030\001 \001" + + "(\tB1\342A\001\002\372A*\n(clouddeploy.googleapis.com/" + + "AutomationRun\"]\n\032CancelAutomationRunRequ" + + "est\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(clouddeploy." + + "googleapis.com/AutomationRun\"\035\n\033CancelAu" + + "tomationRunResponse*\271\001\n\024SkaffoldSupportS" + + "tate\022&\n\"SKAFFOLD_SUPPORT_STATE_UNSPECIFI" + + "ED\020\000\022$\n SKAFFOLD_SUPPORT_STATE_SUPPORTED" + + "\020\001\022+\n\'SKAFFOLD_SUPPORT_STATE_MAINTENANCE" + + "_MODE\020\002\022&\n\"SKAFFOLD_SUPPORT_STATE_UNSUPP" + + "ORTED\020\003*b\n\013BackoffMode\022\034\n\030BACKOFF_MODE_U" + + "NSPECIFIED\020\000\022\027\n\023BACKOFF_MODE_LINEAR\020\001\022\034\n" + + "\030BACKOFF_MODE_EXPONENTIAL\020\002*\316\001\n\013RepairSt" + + "ate\022\034\n\030REPAIR_STATE_UNSPECIFIED\020\000\022\032\n\026REP" + + "AIR_STATE_SUCCEEDED\020\001\022\032\n\026REPAIR_STATE_CA" + + "NCELLED\020\002\022\027\n\023REPAIR_STATE_FAILED\020\003\022\034\n\030RE" + + "PAIR_STATE_IN_PROGRESS\020\004\022\030\n\024REPAIR_STATE" + + "_PENDING\020\005\022\030\n\024REPAIR_STATE_SKIPPED\020\0062\242D\n" + + "\013CloudDeploy\022\314\001\n\025ListDeliveryPipelines\0224" + + ".google.cloud.deploy.v1.ListDeliveryPipe" + + "linesRequest\0325.google.cloud.deploy.v1.Li" + + "stDeliveryPipelinesResponse\"F\332A\006parent\202\323" + + "\344\223\0027\0225/v1/{parent=projects/*/locations/*" + + "}/deliveryPipelines\022\271\001\n\023GetDeliveryPipel" + + "ine\0222.google.cloud.deploy.v1.GetDelivery" + + "PipelineRequest\032(.google.cloud.deploy.v1" + + ".DeliveryPipeline\"D\332A\004name\202\323\344\223\0027\0225/v1/{n" + + "ame=projects/*/locations/*/deliveryPipel" + + "ines/*}\022\231\002\n\026CreateDeliveryPipeline\0225.goo" + + "gle.cloud.deploy.v1.CreateDeliveryPipeli" + + "neRequest\032\035.google.longrunning.Operation" + + "\"\250\001\312A%\n\020DeliveryPipeline\022\021OperationMetad" + + "ata\332A-parent,delivery_pipeline,delivery_" + + "pipeline_id\202\323\344\223\002J\"5/v1/{parent=projects/" + + "*/locations/*}/deliveryPipelines:\021delive" + + "ry_pipeline\022\233\002\n\026UpdateDeliveryPipeline\0225" + + ".google.cloud.deploy.v1.UpdateDeliveryPi" + + "pelineRequest\032\035.google.longrunning.Opera" + + "tion\"\252\001\312A%\n\020DeliveryPipeline\022\021OperationM" + + "etadata\332A\035delivery_pipeline,update_mask\202" + + "\323\344\223\002\\2G/v1/{delivery_pipeline.name=proje" + + "cts/*/locations/*/deliveryPipelines/*}:\021" + + "delivery_pipeline\022\341\001\n\026DeleteDeliveryPipe" + + "line\0225.google.cloud.deploy.v1.DeleteDeli" + + "veryPipelineRequest\032\035.google.longrunning" + + ".Operation\"q\312A*\n\025google.protobuf.Empty\022\021" + + "OperationMetadata\332A\004name\202\323\344\223\0027*5/v1/{nam" + + "e=projects/*/locations/*/deliveryPipelin" + + "es/*}\022\244\001\n\013ListTargets\022*.google.cloud.dep" + + "loy.v1.ListTargetsRequest\032+.google.cloud" + + ".deploy.v1.ListTargetsResponse\"<\332A\006paren" + + "t\202\323\344\223\002-\022+/v1/{parent=projects/*/location" + + "s/*}/targets\022\334\001\n\016RollbackTarget\022-.google" + + ".cloud.deploy.v1.RollbackTargetRequest\032." + + ".google.cloud.deploy.v1.RollbackTargetRe" + + "sponse\"k\332A\031name,target_id,rollout_id\202\323\344\223" + + "\002I\"D/v1/{name=projects/*/locations/*/del" + + "iveryPipelines/*}:rollbackTarget:\001*\022\221\001\n\t" + + "GetTarget\022(.google.cloud.deploy.v1.GetTa" + + "rgetRequest\032\036.google.cloud.deploy.v1.Tar" + + "get\":\332A\004name\202\323\344\223\002-\022+/v1/{name=projects/*" + + "/locations/*/targets/*}\022\317\001\n\014CreateTarget" + + "\022+.google.cloud.deploy.v1.CreateTargetRe" + + "quest\032\035.google.longrunning.Operation\"s\312A" + + "\033\n\006Target\022\021OperationMetadata\332A\027parent,ta" + + "rget,target_id\202\323\344\223\0025\"+/v1/{parent=projec" + + "ts/*/locations/*}/targets:\006target\022\321\001\n\014Up" + + "dateTarget\022+.google.cloud.deploy.v1.Upda" + + "teTargetRequest\032\035.google.longrunning.Ope" + + "ration\"u\312A\033\n\006Target\022\021OperationMetadata\332A" + + "\022target,update_mask\202\323\344\223\002<22/v1/{target.n" + + "ame=projects/*/locations/*/targets/*}:\006t" + + "arget\022\303\001\n\014DeleteTarget\022+.google.cloud.de" + + "ploy.v1.DeleteTargetRequest\032\035.google.lon" + + "grunning.Operation\"g\312A*\n\025google.protobuf" + + ".Empty\022\021OperationMetadata\332A\004name\202\323\344\223\002-*+" + + "/v1/{name=projects/*/locations/*/targets" + + "/*}\022\314\001\n\025ListCustomTargetTypes\0224.google.c" + + "loud.deploy.v1.ListCustomTargetTypesRequ" + + "est\0325.google.cloud.deploy.v1.ListCustomT" + + "argetTypesResponse\"F\332A\006parent\202\323\344\223\0027\0225/v1" + + "/{parent=projects/*/locations/*}/customT" + + "argetTypes\022\271\001\n\023GetCustomTargetType\0222.goo" + + "gle.cloud.deploy.v1.GetCustomTargetTypeR" + + "equest\032(.google.cloud.deploy.v1.CustomTa" + + "rgetType\"D\332A\004name\202\323\344\223\0027\0225/v1/{name=proje" + + "cts/*/locations/*/customTargetTypes/*}\022\234" + + "\002\n\026CreateCustomTargetType\0225.google.cloud" + + ".deploy.v1.CreateCustomTargetTypeRequest" + + "\032\035.google.longrunning.Operation\"\253\001\312A%\n\020C" + + "ustomTargetType\022\021OperationMetadata\332A/par" + + "ent,custom_target_type,custom_target_typ" + + "e_id\202\323\344\223\002K\"5/v1/{parent=projects/*/locat" + + "ions/*}/customTargetTypes:\022custom_target" + + "_type\022\236\002\n\026UpdateCustomTargetType\0225.googl" + + "e.cloud.deploy.v1.UpdateCustomTargetType" + + "Request\032\035.google.longrunning.Operation\"\255" + + "\001\312A%\n\020CustomTargetType\022\021OperationMetadat" + + "a\332A\036custom_target_type,update_mask\202\323\344\223\002^" + + "2H/v1/{custom_target_type.name=projects/" + + "*/locations/*/customTargetTypes/*}:\022cust" + + "om_target_type\022\341\001\n\026DeleteCustomTargetTyp" + + "e\0225.google.cloud.deploy.v1.DeleteCustomT" + + "argetTypeRequest\032\035.google.longrunning.Op" + + "eration\"q\312A*\n\025google.protobuf.Empty\022\021Ope" + + "rationMetadata\332A\004name\202\323\344\223\0027*5/v1/{name=p" + + "rojects/*/locations/*/customTargetTypes/" + + "*}\022\274\001\n\014ListReleases\022+.google.cloud.deplo" + + "y.v1.ListReleasesRequest\032,.google.cloud." + + "deploy.v1.ListReleasesResponse\"Q\332A\006paren" + + "t\202\323\344\223\002B\022@/v1/{parent=projects/*/location" + + "s/*/deliveryPipelines/*}/releases\022\251\001\n\nGe" + + "tRelease\022).google.cloud.deploy.v1.GetRel" + + "easeRequest\032\037.google.cloud.deploy.v1.Rel" + + "ease\"O\332A\004name\202\323\344\223\002B\022@/v1/{name=projects/" + + "*/locations/*/deliveryPipelines/*/releas" + + "es/*}\022\353\001\n\rCreateRelease\022,.google.cloud.d" + + "eploy.v1.CreateReleaseRequest\032\035.google.l" + + "ongrunning.Operation\"\214\001\312A\034\n\007Release\022\021Ope" + + "rationMetadata\332A\031parent,release,release_" + + "id\202\323\344\223\002K\"@/v1/{parent=projects/*/locatio" + + "ns/*/deliveryPipelines/*}/releases:\007rele" + + "ase\022\313\001\n\016AbandonRelease\022-.google.cloud.de" + + "ploy.v1.AbandonReleaseRequest\032..google.c" + + "loud.deploy.v1.AbandonReleaseResponse\"Z\332" + + "A\004name\202\323\344\223\002M\"H/v1/{name=projects/*/locat" + + "ions/*/deliveryPipelines/*/releases/*}:a" + + "bandon:\001*\022\326\001\n\016ApproveRollout\022-.google.cl" + + "oud.deploy.v1.ApproveRolloutRequest\032..go" + + "ogle.cloud.deploy.v1.ApproveRolloutRespo" + + "nse\"e\332A\004name\202\323\344\223\002X\"S/v1/{name=projects/*" + + "/locations/*/deliveryPipelines/*/release" + + "s/*/rollouts/*}:approve:\001*\022\337\001\n\016AdvanceRo" + + "llout\022-.google.cloud.deploy.v1.AdvanceRo" + + "lloutRequest\032..google.cloud.deploy.v1.Ad" + + "vanceRolloutResponse\"n\332A\rname,phase_id\202\323" + + "\344\223\002X\"S/v1/{name=projects/*/locations/*/d" + + "eliveryPipelines/*/releases/*/rollouts/*" + + "}:advance:\001*\022\322\001\n\rCancelRollout\022,.google." + + "cloud.deploy.v1.CancelRolloutRequest\032-.g" + + "oogle.cloud.deploy.v1.CancelRolloutRespo" + + "nse\"d\332A\004name\202\323\344\223\002W\"R/v1/{name=projects/*" + + "/locations/*/deliveryPipelines/*/release" + + "s/*/rollouts/*}:cancel:\001*\022\307\001\n\014ListRollou" + + "ts\022+.google.cloud.deploy.v1.ListRollouts" + + "Request\032,.google.cloud.deploy.v1.ListRol" + + "loutsResponse\"\\\332A\006parent\202\323\344\223\002M\022K/v1/{par" + + "ent=projects/*/locations/*/deliveryPipel" + + "ines/*/releases/*}/rollouts\022\264\001\n\nGetRollo" + + "ut\022).google.cloud.deploy.v1.GetRolloutRe" + + "quest\032\037.google.cloud.deploy.v1.Rollout\"Z" + + "\332A\004name\202\323\344\223\002M\022K/v1/{name=projects/*/loca" + + "tions/*/deliveryPipelines/*/releases/*/r" + + "ollouts/*}\022\366\001\n\rCreateRollout\022,.google.cl" + + "oud.deploy.v1.CreateRolloutRequest\032\035.goo" + + "gle.longrunning.Operation\"\227\001\312A\034\n\007Rollout" + + "\022\021OperationMetadata\332A\031parent,rollout,rol" + + "lout_id\202\323\344\223\002V\"K/v1/{parent=projects/*/lo" + + "cations/*/deliveryPipelines/*/releases/*" + + "}/rollouts:\007rollout\022\337\001\n\tIgnoreJob\022(.goog" + + "le.cloud.deploy.v1.IgnoreJobRequest\032).go" + + "ogle.cloud.deploy.v1.IgnoreJobResponse\"}" + + "\332A\027rollout,phase_id,job_id\202\323\344\223\002]\"X/v1/{r" + + "ollout=projects/*/locations/*/deliveryPi" + + "pelines/*/releases/*/rollouts/*}:ignoreJ" + + "ob:\001*\022\333\001\n\010RetryJob\022\'.google.cloud.deploy" + + ".v1.RetryJobRequest\032(.google.cloud.deplo" + + "y.v1.RetryJobResponse\"|\332A\027rollout,phase_" + + "id,job_id\202\323\344\223\002\\\"W/v1/{rollout=projects/*" + + "/locations/*/deliveryPipelines/*/release" + + "s/*/rollouts/*}:retryJob:\001*\022\316\001\n\013ListJobR" + + "uns\022*.google.cloud.deploy.v1.ListJobRuns" + + "Request\032+.google.cloud.deploy.v1.ListJob" + + "RunsResponse\"f\332A\006parent\202\323\344\223\002W\022U/v1/{pare" + + "nt=projects/*/locations/*/deliveryPipeli" + + "nes/*/releases/*/rollouts/*}/jobRuns\022\273\001\n" + + "\tGetJobRun\022(.google.cloud.deploy.v1.GetJ" + + "obRunRequest\032\036.google.cloud.deploy.v1.Jo" + + "bRun\"d\332A\004name\202\323\344\223\002W\022U/v1/{name=projects/" + + "*/locations/*/deliveryPipelines/*/releas" + + "es/*/rollouts/*/jobRuns/*}\022\345\001\n\017Terminate" + + "JobRun\022..google.cloud.deploy.v1.Terminat" + + "eJobRunRequest\032/.google.cloud.deploy.v1." + + "TerminateJobRunResponse\"q\332A\004name\202\323\344\223\002d\"_" + + "/v1/{name=projects/*/locations/*/deliver" + + "yPipelines/*/releases/*/rollouts/*/jobRu" + + "ns/*}:terminate:\001*\022\216\001\n\tGetConfig\022(.googl" + + "e.cloud.deploy.v1.GetConfigRequest\032\036.goo" + + "gle.cloud.deploy.v1.Config\"7\332A\004name\202\323\344\223\002" + + "*\022(/v1/{name=projects/*/locations/*/conf" + + "ig}\022\200\002\n\020CreateAutomation\022/.google.cloud." + + "deploy.v1.CreateAutomationRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\312A\037\n\nAutomati" + + "on\022\021OperationMetadata\332A\037parent,automatio" + + "n,automation_id\202\323\344\223\002Q\"C/v1/{parent=proje" + + "cts/*/locations/*/deliveryPipelines/*}/a" + + "utomations:\nautomation\022\202\002\n\020UpdateAutomat" + + "ion\022/.google.cloud.deploy.v1.UpdateAutom" + + "ationRequest\032\035.google.longrunning.Operat" + + "ion\"\235\001\312A\037\n\nAutomation\022\021OperationMetadata" + + "\332A\026automation,update_mask\202\323\344\223\002\\2N/v1/{au" + + "tomation.name=projects/*/locations/*/del" + + "iveryPipelines/*/automations/*}:\nautomat" + + "ion\022\343\001\n\020DeleteAutomation\022/.google.cloud." + + "deploy.v1.DeleteAutomationRequest\032\035.goog" + + "le.longrunning.Operation\"\177\312A*\n\025google.pr" + + "otobuf.Empty\022\021OperationMetadata\332A\004name\202\323" + + "\344\223\002E*C/v1/{name=projects/*/locations/*/d" + + "eliveryPipelines/*/automations/*}\022\265\001\n\rGe" + + "tAutomation\022,.google.cloud.deploy.v1.Get" + + "AutomationRequest\032\".google.cloud.deploy." + + "v1.Automation\"R\332A\004name\202\323\344\223\002E\022C/v1/{name=" + + "projects/*/locations/*/deliveryPipelines" + + "/*/automations/*}\022\310\001\n\017ListAutomations\022.." + + "google.cloud.deploy.v1.ListAutomationsRe" + + "quest\032/.google.cloud.deploy.v1.ListAutom" + + "ationsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1/{pa" + + "rent=projects/*/locations/*/deliveryPipe" + + "lines/*}/automations\022\301\001\n\020GetAutomationRu" + + "n\022/.google.cloud.deploy.v1.GetAutomation" + + "RunRequest\032%.google.cloud.deploy.v1.Auto" + + "mationRun\"U\332A\004name\202\323\344\223\002H\022F/v1/{name=proj" + + "ects/*/locations/*/deliveryPipelines/*/a" + + "utomationRuns/*}\022\324\001\n\022ListAutomationRuns\022" + + "1.google.cloud.deploy.v1.ListAutomationR" + + "unsRequest\0322.google.cloud.deploy.v1.List" + + "AutomationRunsResponse\"W\332A\006parent\202\323\344\223\002H\022" + + "F/v1/{parent=projects/*/locations/*/deli" + + "veryPipelines/*}/automationRuns\022\337\001\n\023Canc" + + "elAutomationRun\0222.google.cloud.deploy.v1" + + ".CancelAutomationRunRequest\0323.google.clo" + + "ud.deploy.v1.CancelAutomationRunResponse" + + "\"_\332A\004name\202\323\344\223\002R\"M/v1/{name=projects/*/lo" + + "cations/*/deliveryPipelines/*/automation" + + "Runs/*}:cancel:\001*\032N\312A\032clouddeploy.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\207\006\n\032com.google.cloud.d" + + "eploy.v1B\020CloudDeployProtoP\001Z2cloud.goog" + + "le.com/go/deploy/apiv1/deploypb;deploypb" + + "\352AY\n\037cloudbuild.googleapis.com/Build\0226pr" + + "ojects/{project}/locations/{location}/bu" + + "ilds/{build}\352A^\n container.googleapis.co" + + "m/Cluster\022:projects/{project}/locations/" + + "{location}/clusters/{cluster}\352Af\n$cloudd" + + "eploy.googleapis.com/Operation\022>projects" + + "/{project}/locations/{location}/operatio" + + "ns/{operation}\352Ai\n$cloudbuild.googleapis" + + ".com/WorkerPool\022Aprojects/{project}/loca" + + "tions/{location}/workerPools/{worker_poo" + + "l}\352Ad\n gkehub.googleapis.com/Membership\022" + + "@projects/{project}/locations/{location}" + + "/memberships/{membership}\352AX\n\032run.google" + + "apis.com/Service\022:projects/{project}/loc" + + "ations/{location}/services/{service}\352AL\n" + + "\026run.googleapis.com/Job\0222projects/{proje" + + "ct}/locations/{location}/jobs/{job}b\006pro" + + "to3" + }; + 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.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Description", + "Annotations", + "Labels", + "CreateTime", + "UpdateTime", + "SerialPipeline", + "Condition", + "Etag", + "Suspended", + "Pipeline", + }); + internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor = + internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor, + new java.lang.String[] { + "Stages", + }); + internal_static_google_cloud_deploy_v1_Stage_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Stage_descriptor, + new java.lang.String[] { + "TargetId", "Profiles", "Strategy", "DeployParameters", + }); + internal_static_google_cloud_deploy_v1_DeployParameters_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeployParameters_descriptor, + new java.lang.String[] { + "Values", "MatchTargetLabels", + }); + internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor = + internal_static_google_cloud_deploy_v1_DeployParameters_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_DeployParameters_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Strategy_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Strategy_descriptor, + new java.lang.String[] { + "Standard", "Canary", "DeploymentStrategy", + }); + internal_static_google_cloud_deploy_v1_Predeploy_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Predeploy_descriptor, + new java.lang.String[] { + "Actions", + }); + internal_static_google_cloud_deploy_v1_Postdeploy_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Postdeploy_descriptor, + new java.lang.String[] { + "Actions", + }); + internal_static_google_cloud_deploy_v1_Standard_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Standard_descriptor, + new java.lang.String[] { + "Verify", "Predeploy", "Postdeploy", + }); + internal_static_google_cloud_deploy_v1_Canary_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Canary_descriptor, + new java.lang.String[] { + "RuntimeConfig", "CanaryDeployment", "CustomCanaryDeployment", "Mode", + }); + internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor, + new java.lang.String[] { + "Percentages", "Verify", "Predeploy", "Postdeploy", + }); + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor, + new java.lang.String[] { + "PhaseConfigs", + }); + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor = + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor, + new java.lang.String[] { + "PhaseId", "Percentage", "Profiles", "Verify", "Predeploy", "Postdeploy", + }); + internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor, + new java.lang.String[] { + "GatewayServiceMesh", "ServiceNetworking", "ServiceDefinition", + }); + internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor = + internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor, + new java.lang.String[] { + "HttpRoute", "Service", "Deployment", "RouteUpdateWaitTime", "StableCutbackDuration", + }); + internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor = + internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor, + new java.lang.String[] { + "Service", "Deployment", "DisablePodOverprovisioning", + }); + internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor, + new java.lang.String[] { + "AutomaticTrafficControl", + "CanaryRevisionTags", + "PriorRevisionTags", + "StableRevisionTags", + }); + internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor, + new java.lang.String[] { + "Kubernetes", "CloudRun", "RuntimeConfig", + }); + internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor, + new java.lang.String[] { + "Status", "UpdateTime", + }); + internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor, + new java.lang.String[] { + "Status", "MissingTargets", "UpdateTime", + }); + internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor, + new java.lang.String[] { + "Status", "ErrorDetails", + }); + internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor, + new java.lang.String[] { + "PipelineReadyCondition", "TargetsPresentCondition", "TargetsTypeCondition", + }); + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor, + new java.lang.String[] { + "DeliveryPipelines", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor, + new java.lang.String[] { + "Parent", "DeliveryPipelineId", "DeliveryPipeline", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "DeliveryPipeline", "RequestId", "AllowMissing", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "AllowMissing", "ValidateOnly", "Force", "Etag", + }); + internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor, + new java.lang.String[] { + "Rollout", "StartingPhaseId", + }); + internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor, + new java.lang.String[] { + "Name", + "TargetId", + "RolloutId", + "ReleaseId", + "RolloutToRollBack", + "RollbackConfig", + "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor, + new java.lang.String[] { + "RollbackConfig", + }); + internal_static_google_cloud_deploy_v1_Target_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Target_descriptor, + new java.lang.String[] { + "Name", + "TargetId", + "Uid", + "Description", + "Annotations", + "Labels", + "RequireApproval", + "CreateTime", + "UpdateTime", + "Gke", + "AnthosCluster", + "Run", + "MultiTarget", + "CustomTarget", + "Etag", + "ExecutionConfigs", + "DeployParameters", + "DeploymentTarget", + }); + internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Target_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Target_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_Target_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor = + internal_static_google_cloud_deploy_v1_Target_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor, + new java.lang.String[] { + "Usages", + "DefaultPool", + "PrivatePool", + "WorkerPool", + "ServiceAccount", + "ArtifactStorage", + "ExecutionTimeout", + "ExecutionEnvironment", + }); + internal_static_google_cloud_deploy_v1_DefaultPool_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DefaultPool_descriptor, + new java.lang.String[] { + "ServiceAccount", "ArtifactStorage", + }); + internal_static_google_cloud_deploy_v1_PrivatePool_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PrivatePool_descriptor, + new java.lang.String[] { + "WorkerPool", "ServiceAccount", "ArtifactStorage", + }); + internal_static_google_cloud_deploy_v1_GkeCluster_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GkeCluster_descriptor, + new java.lang.String[] { + "Cluster", "InternalIp", + }); + internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor, + new java.lang.String[] { + "Membership", + }); + internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor, + new java.lang.String[] { + "Location", + }); + internal_static_google_cloud_deploy_v1_MultiTarget_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_MultiTarget_descriptor, + new java.lang.String[] { + "TargetIds", + }); + internal_static_google_cloud_deploy_v1_CustomTarget_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomTarget_descriptor, + new java.lang.String[] { + "CustomTargetType", + }); + internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor, + new java.lang.String[] { + "Targets", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor, + new java.lang.String[] { + "Parent", "TargetId", "Target", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Target", "RequestId", "AllowMissing", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "AllowMissing", "ValidateOnly", "Etag", + }); + internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor, + new java.lang.String[] { + "Name", + "CustomTargetTypeId", + "Uid", + "Description", + "Annotations", + "Labels", + "CreateTime", + "UpdateTime", + "Etag", + "CustomActions", + "Definition", + }); + internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor = + internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor, + new java.lang.String[] { + "RenderAction", "DeployAction", "IncludeSkaffoldModules", + }); + internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor, + new java.lang.String[] { + "Configs", "Git", "GoogleCloudStorage", "Source", + }); + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor = + internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor, + new java.lang.String[] { + "Repo", "Path", "Ref", + }); + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor = + internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor, + new java.lang.String[] { + "Source", "Path", + }); + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor, + new java.lang.String[] { + "CustomTargetTypes", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor, + new java.lang.String[] { + "Parent", "CustomTargetTypeId", "CustomTargetType", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "CustomTargetType", "RequestId", "AllowMissing", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "AllowMissing", "ValidateOnly", "Etag", + }); + internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor, + new java.lang.String[] { + "Id", "Labels", + }); + internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Release_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Description", + "Annotations", + "Labels", + "Abandoned", + "CreateTime", + "RenderStartTime", + "RenderEndTime", + "SkaffoldConfigUri", + "SkaffoldConfigPath", + "BuildArtifacts", + "DeliveryPipelineSnapshot", + "TargetSnapshots", + "CustomTargetTypeSnapshots", + "RenderState", + "Etag", + "SkaffoldVersion", + "TargetArtifacts", + "TargetRenders", + "Condition", + "DeployParameters", + }); + internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor, + new java.lang.String[] { + "RenderingBuild", "RenderingState", "Metadata", "FailureCause", "FailureMessage", + }); + internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor, + new java.lang.String[] { + "Status", + }); + internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor, + new java.lang.String[] { + "Status", "SkaffoldSupportState", "MaintenanceModeTime", "SupportExpirationTime", + }); + internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor, + new java.lang.String[] { + "ReleaseReadyCondition", "SkaffoldSupportedCondition", + }); + internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_deploy_v1_Release_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor, + new java.lang.String[] { + "Image", "Tag", + }); + internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor, + new java.lang.String[] { + "ArtifactUri", "SkaffoldConfigPath", "ManifestPath", "PhaseArtifacts", "Uri", + }); + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor = + internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor, + new java.lang.String[] { + "SkaffoldConfigPath", "ManifestPath", "JobManifestsPath", + }); + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor = + internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor, + new java.lang.String[] { + "ArtifactUri", "ManifestPaths", + }); + internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor, + new java.lang.String[] { + "Service", + }); + internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor, + new java.lang.String[] { + "CloudRun", "Custom", + }); + internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor, + new java.lang.String[] { + "Releases", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor, + new java.lang.String[] { + "Parent", "ReleaseId", "Release", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_Rollout_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Rollout_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Description", + "Annotations", + "Labels", + "CreateTime", + "ApproveTime", + "EnqueueTime", + "DeployStartTime", + "DeployEndTime", + "TargetId", + "ApprovalState", + "State", + "FailureReason", + "DeployingBuild", + "Etag", + "DeployFailureCause", + "Phases", + "Metadata", + "ControllerRollout", + "RollbackOfRollout", + "RolledBackByRollouts", + }); + internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Rollout_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Rollout_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Metadata_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Metadata_descriptor, + new java.lang.String[] { + "CloudRun", "Automation", "Custom", + }); + internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor, + new java.lang.String[] { + "CloudRun", "CustomTarget", "Custom", + }); + internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor, + new java.lang.String[] { + "Service", "ServiceUrls", "Revision", "Job", + }); + internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor, + new java.lang.String[] { + "SkipMessage", + }); + internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor, + new java.lang.String[] { + "PromoteAutomationRun", "AdvanceAutomationRuns", "RepairAutomationRuns", + }); + internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor, + new java.lang.String[] { + "Values", + }); + internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor = + internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Phase_descriptor = + getDescriptor().getMessageTypes().get(69); + internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Phase_descriptor, + new java.lang.String[] { + "Id", "State", "SkipMessage", "DeploymentJobs", "ChildRolloutJobs", "Jobs", + }); + internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor = + getDescriptor().getMessageTypes().get(70); + internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor, + new java.lang.String[] { + "DeployJob", "VerifyJob", "PredeployJob", "PostdeployJob", + }); + internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor = + getDescriptor().getMessageTypes().get(71); + internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor, + new java.lang.String[] { + "CreateRolloutJobs", "AdvanceRolloutJobs", + }); + internal_static_google_cloud_deploy_v1_Job_descriptor = + getDescriptor().getMessageTypes().get(72); + internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Job_descriptor, + new java.lang.String[] { + "Id", + "State", + "SkipMessage", + "JobRun", + "DeployJob", + "VerifyJob", + "PredeployJob", + "PostdeployJob", + "CreateChildRolloutJob", + "AdvanceChildRolloutJob", + "JobType", + }); + internal_static_google_cloud_deploy_v1_DeployJob_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeployJob_descriptor, new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_VerifyJob_descriptor = + getDescriptor().getMessageTypes().get(74); + internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_VerifyJob_descriptor, new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_PredeployJob_descriptor = + getDescriptor().getMessageTypes().get(75); + internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PredeployJob_descriptor, + new java.lang.String[] { + "Actions", + }); + internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor = + getDescriptor().getMessageTypes().get(76); + internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor, + new java.lang.String[] { + "Actions", + }); + internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor = + getDescriptor().getMessageTypes().get(77); + internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor = + getDescriptor().getMessageTypes().get(78); + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor = + getDescriptor().getMessageTypes().get(79); + internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor = + getDescriptor().getMessageTypes().get(80); + internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor, + new java.lang.String[] { + "Rollouts", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor = + getDescriptor().getMessageTypes().get(81); + internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor = + getDescriptor().getMessageTypes().get(82); + internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor, + new java.lang.String[] { + "Parent", "RolloutId", "Rollout", "RequestId", "ValidateOnly", "StartingPhaseId", + }); + internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(83); + internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusMessage", + "RequestedCancellation", + "ApiVersion", + }); + internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor = + getDescriptor().getMessageTypes().get(84); + internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor, + new java.lang.String[] { + "Name", "Approved", + }); + internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor = + getDescriptor().getMessageTypes().get(85); + internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor = + getDescriptor().getMessageTypes().get(86); + internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor, + new java.lang.String[] { + "Name", "PhaseId", + }); + internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor = + getDescriptor().getMessageTypes().get(87); + internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor = + getDescriptor().getMessageTypes().get(88); + internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor = + getDescriptor().getMessageTypes().get(89); + internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor = + getDescriptor().getMessageTypes().get(90); + internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor, + new java.lang.String[] { + "Rollout", "PhaseId", "JobId", + }); + internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor = + getDescriptor().getMessageTypes().get(91); + internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor = + getDescriptor().getMessageTypes().get(92); + internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor, + new java.lang.String[] { + "Rollout", "PhaseId", "JobId", + }); + internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor = + getDescriptor().getMessageTypes().get(93); + internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor = + getDescriptor().getMessageTypes().get(94); + internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor = + getDescriptor().getMessageTypes().get(95); + internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_JobRun_descriptor = + getDescriptor().getMessageTypes().get(96); + internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_JobRun_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "PhaseId", + "JobId", + "CreateTime", + "StartTime", + "EndTime", + "State", + "DeployJobRun", + "VerifyJobRun", + "PredeployJobRun", + "PostdeployJobRun", + "CreateChildRolloutJobRun", + "AdvanceChildRolloutJobRun", + "Etag", + "JobRun", + }); + internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor = + getDescriptor().getMessageTypes().get(97); + internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor, + new java.lang.String[] { + "Build", "FailureCause", "FailureMessage", "Metadata", "Artifact", + }); + internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor = + getDescriptor().getMessageTypes().get(98); + internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor, + new java.lang.String[] { + "Build", "ArtifactUri", "EventLogPath", "FailureCause", "FailureMessage", + }); + internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor = + getDescriptor().getMessageTypes().get(99); + internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor, + new java.lang.String[] { + "Build", "FailureCause", "FailureMessage", + }); + internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor = + getDescriptor().getMessageTypes().get(100); + internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor, + new java.lang.String[] { + "Build", "FailureCause", "FailureMessage", + }); + internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor = + getDescriptor().getMessageTypes().get(101); + internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor, + new java.lang.String[] { + "Rollout", "RolloutPhaseId", + }); + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor = + getDescriptor().getMessageTypes().get(102); + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor, + new java.lang.String[] { + "Rollout", "RolloutPhaseId", + }); + internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(103); + internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(104); + internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor, + new java.lang.String[] { + "JobRuns", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor = + getDescriptor().getMessageTypes().get(105); + internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor = + getDescriptor().getMessageTypes().get(106); + internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor = + getDescriptor().getMessageTypes().get(107); + internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_deploy_v1_Config_descriptor = + getDescriptor().getMessageTypes().get(108); + internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Config_descriptor, + new java.lang.String[] { + "Name", "SupportedVersions", "DefaultSkaffoldVersion", + }); + internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor = + getDescriptor().getMessageTypes().get(109); + internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor, + new java.lang.String[] { + "Version", "MaintenanceModeTime", "SupportExpirationTime", "SupportEndDate", + }); + internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(110); + internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_Automation_descriptor = + getDescriptor().getMessageTypes().get(111); + internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Automation_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Description", + "CreateTime", + "UpdateTime", + "Annotations", + "Labels", + "Etag", + "Suspended", + "ServiceAccount", + "Selector", + "Rules", + }); + internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Automation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Automation_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor = + getDescriptor().getMessageTypes().get(112); + internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor, + new java.lang.String[] { + "Targets", + }); + internal_static_google_cloud_deploy_v1_AutomationRule_descriptor = + getDescriptor().getMessageTypes().get(113); + internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AutomationRule_descriptor, + new java.lang.String[] { + "PromoteReleaseRule", "AdvanceRolloutRule", "RepairRolloutRule", "Rule", + }); + internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor = + getDescriptor().getMessageTypes().get(114); + internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor, + new java.lang.String[] { + "Id", "Wait", "DestinationTargetId", "Condition", "DestinationPhase", + }); + internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor = + getDescriptor().getMessageTypes().get(115); + internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor, + new java.lang.String[] { + "Id", "SourcePhases", "Wait", "Condition", + }); + internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor = + getDescriptor().getMessageTypes().get(116); + internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor, + new java.lang.String[] { + "Id", "SourcePhases", "Jobs", "RepairModes", "Condition", + }); + internal_static_google_cloud_deploy_v1_RepairMode_descriptor = + getDescriptor().getMessageTypes().get(117); + internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RepairMode_descriptor, + new java.lang.String[] { + "Retry", "Rollback", "Mode", + }); + internal_static_google_cloud_deploy_v1_Retry_descriptor = + getDescriptor().getMessageTypes().get(118); + internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Retry_descriptor, + new java.lang.String[] { + "Attempts", "Wait", "BackoffMode", + }); + internal_static_google_cloud_deploy_v1_Rollback_descriptor = + getDescriptor().getMessageTypes().get(119); + internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_Rollback_descriptor, + new java.lang.String[] { + "DestinationPhase", + }); + internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor = + getDescriptor().getMessageTypes().get(120); + internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor, + new java.lang.String[] { + "TargetsPresentCondition", + }); + internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor = + getDescriptor().getMessageTypes().get(121); + internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor, + new java.lang.String[] { + "Parent", "AutomationId", "Automation", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor = + getDescriptor().getMessageTypes().get(122); + internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Automation", "RequestId", "AllowMissing", "ValidateOnly", + }); + internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor = + getDescriptor().getMessageTypes().get(123); + internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "AllowMissing", "ValidateOnly", "Etag", + }); + internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor = + getDescriptor().getMessageTypes().get(124); + internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor = + getDescriptor().getMessageTypes().get(125); + internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor, + new java.lang.String[] { + "Automations", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor = + getDescriptor().getMessageTypes().get(126); + internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_AutomationRun_descriptor = + getDescriptor().getMessageTypes().get(127); + internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AutomationRun_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Etag", + "ServiceAccount", + "AutomationSnapshot", + "TargetId", + "State", + "StateDescription", + "ExpireTime", + "RuleId", + "AutomationId", + "PromoteReleaseOperation", + "AdvanceRolloutOperation", + "RepairRolloutOperation", + "WaitUntilTime", + "Operation", + }); + internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor = + getDescriptor().getMessageTypes().get(128); + internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor, + new java.lang.String[] { + "TargetId", "Wait", "Rollout", "Phase", + }); + internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor = + getDescriptor().getMessageTypes().get(129); + internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor, + new java.lang.String[] { + "SourcePhase", "Wait", "Rollout", "DestinationPhase", + }); + internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor = + getDescriptor().getMessageTypes().get(130); + internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor, + new java.lang.String[] { + "Rollout", "CurrentRepairModeIndex", "RepairPhases", + }); + internal_static_google_cloud_deploy_v1_RepairPhase_descriptor = + getDescriptor().getMessageTypes().get(131); + internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RepairPhase_descriptor, + new java.lang.String[] { + "Retry", "Rollback", "RepairPhase", + }); + internal_static_google_cloud_deploy_v1_RetryPhase_descriptor = + getDescriptor().getMessageTypes().get(132); + internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RetryPhase_descriptor, + new java.lang.String[] { + "TotalAttempts", "BackoffMode", "PhaseId", "JobId", "Attempts", + }); + internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor = + getDescriptor().getMessageTypes().get(133); + internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor, + new java.lang.String[] { + "Attempt", "Wait", "State", "StateDesc", + }); + internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor = + getDescriptor().getMessageTypes().get(134); + internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor, + new java.lang.String[] { + "DestinationPhase", "RolloutId", "State", "StateDesc", + }); + internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor = + getDescriptor().getMessageTypes().get(135); + internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor = + getDescriptor().getMessageTypes().get(136); + internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor, + new java.lang.String[] { + "AutomationRuns", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor = + getDescriptor().getMessageTypes().get(137); + internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor = + getDescriptor().getMessageTypes().get(138); + internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor = + getDescriptor().getMessageTypes().get(139); + internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java index 08cce418b0df..99a1803012a5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java @@ -1,56 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CloudRunConfig contains the Cloud Run runtime configuration.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CloudRunConfig} */ -public final class CloudRunConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudRunConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CloudRunConfig) CloudRunConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudRunConfig.newBuilder() to construct. private CloudRunConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudRunConfig() { - canaryRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - priorRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - stableRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + canaryRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + priorRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + stableRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudRunConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CloudRunConfig.class, com.google.cloud.deploy.v1.CloudRunConfig.Builder.class); + com.google.cloud.deploy.v1.CloudRunConfig.class, + com.google.cloud.deploy.v1.CloudRunConfig.Builder.class); } public static final int AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER = 1; private boolean automaticTrafficControl_ = false; /** + * + * *
    * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
    * Service on the user's behalf to facilitate traffic splitting. This is
@@ -59,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * bool automatic_traffic_control = 1; + * * @return The automaticTrafficControl. */ @java.lang.Override @@ -67,41 +86,53 @@ public boolean getAutomaticTrafficControl() { } public static final int CANARY_REVISION_TAGS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList canaryRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the canaryRevisionTags. */ - public com.google.protobuf.ProtocolStringList - getCanaryRevisionTagsList() { + public com.google.protobuf.ProtocolStringList getCanaryRevisionTagsList() { return canaryRevisionTags_; } /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of canaryRevisionTags. */ public int getCanaryRevisionTagsCount() { return canaryRevisionTags_.size(); } /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The canaryRevisionTags at the given index. */ @@ -109,56 +140,68 @@ public java.lang.String getCanaryRevisionTags(int index) { return canaryRevisionTags_.get(index); } /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the canaryRevisionTags at the given index. */ - public com.google.protobuf.ByteString - getCanaryRevisionTagsBytes(int index) { + public com.google.protobuf.ByteString getCanaryRevisionTagsBytes(int index) { return canaryRevisionTags_.getByteString(index); } public static final int PRIOR_REVISION_TAGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList priorRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the priorRevisionTags. */ - public com.google.protobuf.ProtocolStringList - getPriorRevisionTagsList() { + public com.google.protobuf.ProtocolStringList getPriorRevisionTagsList() { return priorRevisionTags_; } /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of priorRevisionTags. */ public int getPriorRevisionTagsCount() { return priorRevisionTags_.size(); } /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The priorRevisionTags at the given index. */ @@ -166,56 +209,70 @@ public java.lang.String getPriorRevisionTags(int index) { return priorRevisionTags_.get(index); } /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the priorRevisionTags at the given index. */ - public com.google.protobuf.ByteString - getPriorRevisionTagsBytes(int index) { + public com.google.protobuf.ByteString getPriorRevisionTagsBytes(int index) { return priorRevisionTags_.getByteString(index); } public static final int STABLE_REVISION_TAGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList stableRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the stableRevisionTags. */ - public com.google.protobuf.ProtocolStringList - getStableRevisionTagsList() { + public com.google.protobuf.ProtocolStringList getStableRevisionTagsList() { return stableRevisionTags_; } /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of stableRevisionTags. */ public int getStableRevisionTagsCount() { return stableRevisionTags_.size(); } /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The stableRevisionTags at the given index. */ @@ -223,21 +280,25 @@ public java.lang.String getStableRevisionTags(int index) { return stableRevisionTags_.get(index); } /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the stableRevisionTags at the given index. */ - public com.google.protobuf.ByteString - getStableRevisionTagsBytes(int index) { + public com.google.protobuf.ByteString getStableRevisionTagsBytes(int index) { return stableRevisionTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +310,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 (automaticTrafficControl_ != false) { output.writeBool(1, automaticTrafficControl_); } @@ -273,8 +333,7 @@ public int getSerializedSize() { size = 0; if (automaticTrafficControl_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, automaticTrafficControl_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, automaticTrafficControl_); } { int dataSize = 0; @@ -308,21 +367,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.cloud.deploy.v1.CloudRunConfig)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CloudRunConfig other = (com.google.cloud.deploy.v1.CloudRunConfig) obj; + com.google.cloud.deploy.v1.CloudRunConfig other = + (com.google.cloud.deploy.v1.CloudRunConfig) obj; - if (getAutomaticTrafficControl() - != other.getAutomaticTrafficControl()) return false; - if (!getCanaryRevisionTagsList() - .equals(other.getCanaryRevisionTagsList())) return false; - if (!getPriorRevisionTagsList() - .equals(other.getPriorRevisionTagsList())) return false; - if (!getStableRevisionTagsList() - .equals(other.getStableRevisionTagsList())) return false; + if (getAutomaticTrafficControl() != other.getAutomaticTrafficControl()) return false; + if (!getCanaryRevisionTagsList().equals(other.getCanaryRevisionTagsList())) return false; + if (!getPriorRevisionTagsList().equals(other.getPriorRevisionTagsList())) return false; + if (!getStableRevisionTagsList().equals(other.getStableRevisionTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,8 +391,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutomaticTrafficControl()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutomaticTrafficControl()); if (getCanaryRevisionTagsCount() > 0) { hash = (37 * hash) + CANARY_REVISION_TAGS_FIELD_NUMBER; hash = (53 * hash) + getCanaryRevisionTagsList().hashCode(); @@ -354,150 +409,151 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CloudRunConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CloudRunConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CloudRunConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CloudRunConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CloudRunConfig contains the Cloud Run runtime configuration.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CloudRunConfig} */ - 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.cloud.deploy.v1.CloudRunConfig) com.google.cloud.deploy.v1.CloudRunConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CloudRunConfig.class, com.google.cloud.deploy.v1.CloudRunConfig.Builder.class); + com.google.cloud.deploy.v1.CloudRunConfig.class, + com.google.cloud.deploy.v1.CloudRunConfig.Builder.class); } // Construct using com.google.cloud.deploy.v1.CloudRunConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; automaticTrafficControl_ = false; - canaryRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - priorRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - stableRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + canaryRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + priorRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + stableRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; } @java.lang.Override @@ -516,8 +572,11 @@ public com.google.cloud.deploy.v1.CloudRunConfig build() { @java.lang.Override public com.google.cloud.deploy.v1.CloudRunConfig buildPartial() { - com.google.cloud.deploy.v1.CloudRunConfig result = new com.google.cloud.deploy.v1.CloudRunConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CloudRunConfig result = + new com.google.cloud.deploy.v1.CloudRunConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -545,38 +604,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CloudRunConfig result) { 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) { + 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) { + 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.cloud.deploy.v1.CloudRunConfig) { - return mergeFrom((com.google.cloud.deploy.v1.CloudRunConfig)other); + return mergeFrom((com.google.cloud.deploy.v1.CloudRunConfig) other); } else { super.mergeFrom(other); return this; @@ -644,35 +704,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - automaticTrafficControl_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCanaryRevisionTagsIsMutable(); - canaryRevisionTags_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePriorRevisionTagsIsMutable(); - priorRevisionTags_.add(s); - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureStableRevisionTagsIsMutable(); - stableRevisionTags_.add(s); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + automaticTrafficControl_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCanaryRevisionTagsIsMutable(); + canaryRevisionTags_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePriorRevisionTagsIsMutable(); + priorRevisionTags_.add(s); + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureStableRevisionTagsIsMutable(); + stableRevisionTags_.add(s); + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,10 +747,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean automaticTrafficControl_ ; + private boolean automaticTrafficControl_; /** + * + * *
      * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
      * Service on the user's behalf to facilitate traffic splitting. This is
@@ -694,6 +762,7 @@ public Builder mergeFrom(
      * 
* * bool automatic_traffic_control = 1; + * * @return The automaticTrafficControl. */ @java.lang.Override @@ -701,6 +770,8 @@ public boolean getAutomaticTrafficControl() { return automaticTrafficControl_; } /** + * + * *
      * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
      * Service on the user's behalf to facilitate traffic splitting. This is
@@ -709,6 +780,7 @@ public boolean getAutomaticTrafficControl() {
      * 
* * bool automatic_traffic_control = 1; + * * @param value The automaticTrafficControl to set. * @return This builder for chaining. */ @@ -720,6 +792,8 @@ public Builder setAutomaticTrafficControl(boolean value) { return this; } /** + * + * *
      * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
      * Service on the user's behalf to facilitate traffic splitting. This is
@@ -728,6 +802,7 @@ public Builder setAutomaticTrafficControl(boolean value) {
      * 
* * bool automatic_traffic_control = 1; + * * @return This builder for chaining. */ public Builder clearAutomaticTrafficControl() { @@ -739,6 +814,7 @@ public Builder clearAutomaticTrafficControl() { private com.google.protobuf.LazyStringArrayList canaryRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureCanaryRevisionTagsIsMutable() { if (!canaryRevisionTags_.isModifiable()) { canaryRevisionTags_ = new com.google.protobuf.LazyStringArrayList(canaryRevisionTags_); @@ -746,38 +822,49 @@ private void ensureCanaryRevisionTagsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the canaryRevisionTags. */ - public com.google.protobuf.ProtocolStringList - getCanaryRevisionTagsList() { + public com.google.protobuf.ProtocolStringList getCanaryRevisionTagsList() { canaryRevisionTags_.makeImmutable(); return canaryRevisionTags_; } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of canaryRevisionTags. */ public int getCanaryRevisionTagsCount() { return canaryRevisionTags_.size(); } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The canaryRevisionTags at the given index. */ @@ -785,33 +872,41 @@ public java.lang.String getCanaryRevisionTags(int index) { return canaryRevisionTags_.get(index); } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the canaryRevisionTags at the given index. */ - public com.google.protobuf.ByteString - getCanaryRevisionTagsBytes(int index) { + public com.google.protobuf.ByteString getCanaryRevisionTagsBytes(int index) { return canaryRevisionTags_.getByteString(index); } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The canaryRevisionTags to set. * @return This builder for chaining. */ - public Builder setCanaryRevisionTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCanaryRevisionTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCanaryRevisionTagsIsMutable(); canaryRevisionTags_.set(index, value); bitField0_ |= 0x00000002; @@ -819,18 +914,23 @@ public Builder setCanaryRevisionTags( return this; } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The canaryRevisionTags to add. * @return This builder for chaining. */ - public Builder addCanaryRevisionTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCanaryRevisionTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCanaryRevisionTagsIsMutable(); canaryRevisionTags_.add(value); bitField0_ |= 0x00000002; @@ -838,53 +938,64 @@ public Builder addCanaryRevisionTags( return this; } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The canaryRevisionTags to add. * @return This builder for chaining. */ - public Builder addAllCanaryRevisionTags( - java.lang.Iterable values) { + public Builder addAllCanaryRevisionTags(java.lang.Iterable values) { ensureCanaryRevisionTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, canaryRevisionTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, canaryRevisionTags_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCanaryRevisionTags() { - canaryRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + canaryRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Optional. A list of tags that are added to the canary revision while the
      * canary phase is in progress.
      * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the canaryRevisionTags to add. * @return This builder for chaining. */ - public Builder addCanaryRevisionTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCanaryRevisionTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCanaryRevisionTagsIsMutable(); canaryRevisionTags_.add(value); @@ -895,6 +1006,7 @@ public Builder addCanaryRevisionTagsBytes( private com.google.protobuf.LazyStringArrayList priorRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePriorRevisionTagsIsMutable() { if (!priorRevisionTags_.isModifiable()) { priorRevisionTags_ = new com.google.protobuf.LazyStringArrayList(priorRevisionTags_); @@ -902,38 +1014,49 @@ private void ensurePriorRevisionTagsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the priorRevisionTags. */ - public com.google.protobuf.ProtocolStringList - getPriorRevisionTagsList() { + public com.google.protobuf.ProtocolStringList getPriorRevisionTagsList() { priorRevisionTags_.makeImmutable(); return priorRevisionTags_; } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of priorRevisionTags. */ public int getPriorRevisionTagsCount() { return priorRevisionTags_.size(); } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The priorRevisionTags at the given index. */ @@ -941,33 +1064,41 @@ public java.lang.String getPriorRevisionTags(int index) { return priorRevisionTags_.get(index); } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the priorRevisionTags at the given index. */ - public com.google.protobuf.ByteString - getPriorRevisionTagsBytes(int index) { + public com.google.protobuf.ByteString getPriorRevisionTagsBytes(int index) { return priorRevisionTags_.getByteString(index); } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The priorRevisionTags to set. * @return This builder for chaining. */ - public Builder setPriorRevisionTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPriorRevisionTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePriorRevisionTagsIsMutable(); priorRevisionTags_.set(index, value); bitField0_ |= 0x00000004; @@ -975,18 +1106,23 @@ public Builder setPriorRevisionTags( return this; } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The priorRevisionTags to add. * @return This builder for chaining. */ - public Builder addPriorRevisionTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPriorRevisionTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePriorRevisionTagsIsMutable(); priorRevisionTags_.add(value); bitField0_ |= 0x00000004; @@ -994,53 +1130,64 @@ public Builder addPriorRevisionTags( return this; } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The priorRevisionTags to add. * @return This builder for chaining. */ - public Builder addAllPriorRevisionTags( - java.lang.Iterable values) { + public Builder addAllPriorRevisionTags(java.lang.Iterable values) { ensurePriorRevisionTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, priorRevisionTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, priorRevisionTags_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPriorRevisionTags() { - priorRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + priorRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Optional. A list of tags that are added to the prior revision while the
      * canary phase is in progress.
      * 
* - * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the priorRevisionTags to add. * @return This builder for chaining. */ - public Builder addPriorRevisionTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPriorRevisionTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePriorRevisionTagsIsMutable(); priorRevisionTags_.add(value); @@ -1051,6 +1198,7 @@ public Builder addPriorRevisionTagsBytes( private com.google.protobuf.LazyStringArrayList stableRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureStableRevisionTagsIsMutable() { if (!stableRevisionTags_.isModifiable()) { stableRevisionTags_ = new com.google.protobuf.LazyStringArrayList(stableRevisionTags_); @@ -1058,38 +1206,49 @@ private void ensureStableRevisionTagsIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the stableRevisionTags. */ - public com.google.protobuf.ProtocolStringList - getStableRevisionTagsList() { + public com.google.protobuf.ProtocolStringList getStableRevisionTagsList() { stableRevisionTags_.makeImmutable(); return stableRevisionTags_; } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of stableRevisionTags. */ public int getStableRevisionTagsCount() { return stableRevisionTags_.size(); } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The stableRevisionTags at the given index. */ @@ -1097,33 +1256,41 @@ public java.lang.String getStableRevisionTags(int index) { return stableRevisionTags_.get(index); } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the stableRevisionTags at the given index. */ - public com.google.protobuf.ByteString - getStableRevisionTagsBytes(int index) { + public com.google.protobuf.ByteString getStableRevisionTagsBytes(int index) { return stableRevisionTags_.getByteString(index); } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The stableRevisionTags to set. * @return This builder for chaining. */ - public Builder setStableRevisionTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStableRevisionTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStableRevisionTagsIsMutable(); stableRevisionTags_.set(index, value); bitField0_ |= 0x00000008; @@ -1131,18 +1298,23 @@ public Builder setStableRevisionTags( return this; } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The stableRevisionTags to add. * @return This builder for chaining. */ - public Builder addStableRevisionTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStableRevisionTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStableRevisionTagsIsMutable(); stableRevisionTags_.add(value); bitField0_ |= 0x00000008; @@ -1150,53 +1322,64 @@ public Builder addStableRevisionTags( return this; } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The stableRevisionTags to add. * @return This builder for chaining. */ - public Builder addAllStableRevisionTags( - java.lang.Iterable values) { + public Builder addAllStableRevisionTags(java.lang.Iterable values) { ensureStableRevisionTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stableRevisionTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stableRevisionTags_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearStableRevisionTags() { - stableRevisionTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + stableRevisionTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * Optional. A list of tags that are added to the final stable revision when
      * the stable phase is applied.
      * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the stableRevisionTags to add. * @return This builder for chaining. */ - public Builder addStableRevisionTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStableRevisionTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureStableRevisionTagsIsMutable(); stableRevisionTags_.add(value); @@ -1204,9 +1387,9 @@ public Builder addStableRevisionTagsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1216,12 +1399,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CloudRunConfig) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CloudRunConfig) private static final com.google.cloud.deploy.v1.CloudRunConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CloudRunConfig(); } @@ -1230,27 +1413,27 @@ public static com.google.cloud.deploy.v1.CloudRunConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1265,6 +1448,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CloudRunConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java index d39d8924c975..b41914fb7356 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CloudRunConfigOrBuilder extends +public interface CloudRunConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CloudRunConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
    * Service on the user's behalf to facilitate traffic splitting. This is
@@ -16,142 +34,181 @@ public interface CloudRunConfigOrBuilder extends
    * 
* * bool automatic_traffic_control = 1; + * * @return The automaticTrafficControl. */ boolean getAutomaticTrafficControl(); /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the canaryRevisionTags. */ - java.util.List - getCanaryRevisionTagsList(); + java.util.List getCanaryRevisionTagsList(); /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of canaryRevisionTags. */ int getCanaryRevisionTagsCount(); /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The canaryRevisionTags at the given index. */ java.lang.String getCanaryRevisionTags(int index); /** + * + * *
    * Optional. A list of tags that are added to the canary revision while the
    * canary phase is in progress.
    * 
* - * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the canaryRevisionTags at the given index. */ - com.google.protobuf.ByteString - getCanaryRevisionTagsBytes(int index); + com.google.protobuf.ByteString getCanaryRevisionTagsBytes(int index); /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the priorRevisionTags. */ - java.util.List - getPriorRevisionTagsList(); + java.util.List getPriorRevisionTagsList(); /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of priorRevisionTags. */ int getPriorRevisionTagsCount(); /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The priorRevisionTags at the given index. */ java.lang.String getPriorRevisionTags(int index); /** + * + * *
    * Optional. A list of tags that are added to the prior revision while the
    * canary phase is in progress.
    * 
* * repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the priorRevisionTags at the given index. */ - com.google.protobuf.ByteString - getPriorRevisionTagsBytes(int index); + com.google.protobuf.ByteString getPriorRevisionTagsBytes(int index); /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the stableRevisionTags. */ - java.util.List - getStableRevisionTagsList(); + java.util.List getStableRevisionTagsList(); /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of stableRevisionTags. */ int getStableRevisionTagsCount(); /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The stableRevisionTags at the given index. */ java.lang.String getStableRevisionTags(int index); /** + * + * *
    * Optional. A list of tags that are added to the final stable revision when
    * the stable phase is applied.
    * 
* - * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the stableRevisionTags at the given index. */ - com.google.protobuf.ByteString - getStableRevisionTagsBytes(int index); + com.google.protobuf.ByteString getStableRevisionTagsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocation.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocation.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocation.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocation.java index 99a396b49e82..53b8e8cb7705 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocation.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocation.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Information specifying where to deploy a Cloud Run Service.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CloudRunLocation} */ -public final class CloudRunLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudRunLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CloudRunLocation) CloudRunLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudRunLocation.newBuilder() to construct. private CloudRunLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudRunLocation() { location_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudRunLocation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CloudRunLocation.class, com.google.cloud.deploy.v1.CloudRunLocation.Builder.class); + com.google.cloud.deploy.v1.CloudRunLocation.class, + com.google.cloud.deploy.v1.CloudRunLocation.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Required. The location for the Cloud Run Service. Format must be
    * `projects/{project}/locations/{location}`.
    * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -61,30 +86,32 @@ 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; } } /** + * + * *
    * Required. The location for the Cloud Run Service. Format must be
    * `projects/{project}/locations/{location}`.
    * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.CloudRunLocation)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CloudRunLocation other = (com.google.cloud.deploy.v1.CloudRunLocation) obj; + com.google.cloud.deploy.v1.CloudRunLocation other = + (com.google.cloud.deploy.v1.CloudRunLocation) obj; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CloudRunLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CloudRunLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CloudRunLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CloudRunLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information specifying where to deploy a Cloud Run Service.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CloudRunLocation} */ - 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.cloud.deploy.v1.CloudRunLocation) com.google.cloud.deploy.v1.CloudRunLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CloudRunLocation.class, com.google.cloud.deploy.v1.CloudRunLocation.Builder.class); + com.google.cloud.deploy.v1.CloudRunLocation.class, + com.google.cloud.deploy.v1.CloudRunLocation.Builder.class); } // Construct using com.google.cloud.deploy.v1.CloudRunLocation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.CloudRunLocation build() { @java.lang.Override public com.google.cloud.deploy.v1.CloudRunLocation buildPartial() { - com.google.cloud.deploy.v1.CloudRunLocation result = new com.google.cloud.deploy.v1.CloudRunLocation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CloudRunLocation result = + new com.google.cloud.deploy.v1.CloudRunLocation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CloudRunLocation result) { 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) { + 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) { + 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.cloud.deploy.v1.CloudRunLocation) { - return mergeFrom((com.google.cloud.deploy.v1.CloudRunLocation)other); + return mergeFrom((com.google.cloud.deploy.v1.CloudRunLocation) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location for the Cloud Run Service. Format must be
      * `projects/{project}/locations/{location}`.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +487,24 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location for the Cloud Run Service. Format must be
      * `projects/{project}/locations/{location}`.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +512,41 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location for the Cloud Run Service. Format must be
      * `projects/{project}/locations/{location}`.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location for the Cloud Run Service. Format must be
      * `projects/{project}/locations/{location}`.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -500,27 +556,33 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Required. The location for the Cloud Run Service. Format must be
      * `projects/{project}/locations/{location}`.
      * 
* - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CloudRunLocation) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CloudRunLocation) private static final com.google.cloud.deploy.v1.CloudRunLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CloudRunLocation(); } @@ -544,27 +606,27 @@ public static com.google.cloud.deploy.v1.CloudRunLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CloudRunLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocationOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocationOrBuilder.java new file mode 100644 index 000000000000..0897c4d4deca --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocationOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CloudRunLocationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CloudRunLocation) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The location for the Cloud Run Service. Format must be
+   * `projects/{project}/locations/{location}`.
+   * 
+ * + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The location. + */ + java.lang.String getLocation(); + /** + * + * + *
+   * Required. The location for the Cloud Run Service. Format must be
+   * `projects/{project}/locations/{location}`.
+   * 
+ * + * + * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for location. + */ + com.google.protobuf.ByteString getLocationBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadata.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadata.java index 6db250cf5156..be1d96230268 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadata.java @@ -1,63 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CloudRunMetadata contains information from a Cloud Run deployment.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CloudRunMetadata} */ -public final class CloudRunMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudRunMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CloudRunMetadata) CloudRunMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudRunMetadata.newBuilder() to construct. private CloudRunMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudRunMetadata() { service_ = ""; - serviceUrls_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + serviceUrls_ = com.google.protobuf.LazyStringArrayList.emptyList(); revision_ = ""; job_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudRunMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CloudRunMetadata.class, com.google.cloud.deploy.v1.CloudRunMetadata.Builder.class); + com.google.cloud.deploy.v1.CloudRunMetadata.class, + com.google.cloud.deploy.v1.CloudRunMetadata.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object service_ = ""; /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/services/{service}`.
    * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The service. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getService() { 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(); service_ = s; return s; } } /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/services/{service}`.
    * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -99,41 +125,50 @@ public java.lang.String getService() { } public static final int SERVICE_URLS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList serviceUrls_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the serviceUrls. */ - public com.google.protobuf.ProtocolStringList - getServiceUrlsList() { + public com.google.protobuf.ProtocolStringList getServiceUrlsList() { return serviceUrls_; } /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of serviceUrls. */ public int getServiceUrlsCount() { return serviceUrls_.size(); } /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The serviceUrls at the given index. */ @@ -141,29 +176,35 @@ public java.lang.String getServiceUrls(int index) { return serviceUrls_.get(index); } /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the serviceUrls at the given index. */ - public com.google.protobuf.ByteString - getServiceUrlsBytes(int index) { + public com.google.protobuf.ByteString getServiceUrlsBytes(int index) { return serviceUrls_.getByteString(index); } public static final int REVISION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object revision_ = ""; /** + * + * *
    * Output only. The Cloud Run Revision id associated with a `Rollout`.
    * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revision. */ @java.lang.Override @@ -172,29 +213,29 @@ public java.lang.String getRevision() { 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(); revision_ = s; return s; } } /** + * + * *
    * Output only. The Cloud Run Revision id associated with a `Rollout`.
    * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revision. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionBytes() { + public com.google.protobuf.ByteString getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -203,16 +244,22 @@ public java.lang.String getRevision() { } public static final int JOB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object job_ = ""; /** + * + * *
    * Output only. The name of the Cloud Run job that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/jobs/{job_name}`.
    * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The job. */ @java.lang.Override @@ -221,31 +268,33 @@ public java.lang.String getJob() { 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(); job_ = s; return s; } } /** + * + * *
    * Output only. The name of the Cloud Run job that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/jobs/{job_name}`.
    * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for job. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobBytes() { + public com.google.protobuf.ByteString getJobBytes() { java.lang.Object ref = job_; 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); job_ = b; return b; } else { @@ -254,6 +303,7 @@ public java.lang.String getJob() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +315,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(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -313,21 +362,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.cloud.deploy.v1.CloudRunMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CloudRunMetadata other = (com.google.cloud.deploy.v1.CloudRunMetadata) obj; + com.google.cloud.deploy.v1.CloudRunMetadata other = + (com.google.cloud.deploy.v1.CloudRunMetadata) obj; - if (!getService() - .equals(other.getService())) return false; - if (!getServiceUrlsList() - .equals(other.getServiceUrlsList())) return false; - if (!getRevision() - .equals(other.getRevision())) return false; - if (!getJob() - .equals(other.getJob())) return false; + if (!getService().equals(other.getService())) return false; + if (!getServiceUrlsList().equals(other.getServiceUrlsList())) return false; + if (!getRevision().equals(other.getRevision())) return false; + if (!getJob().equals(other.getJob())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -354,148 +400,151 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CloudRunMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CloudRunMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CloudRunMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CloudRunMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CloudRunMetadata contains information from a Cloud Run deployment.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CloudRunMetadata} */ - 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.cloud.deploy.v1.CloudRunMetadata) com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CloudRunMetadata.class, com.google.cloud.deploy.v1.CloudRunMetadata.Builder.class); + com.google.cloud.deploy.v1.CloudRunMetadata.class, + com.google.cloud.deploy.v1.CloudRunMetadata.Builder.class); } // Construct using com.google.cloud.deploy.v1.CloudRunMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; service_ = ""; - serviceUrls_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + serviceUrls_ = com.google.protobuf.LazyStringArrayList.emptyList(); revision_ = ""; job_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; } @java.lang.Override @@ -514,8 +563,11 @@ public com.google.cloud.deploy.v1.CloudRunMetadata build() { @java.lang.Override public com.google.cloud.deploy.v1.CloudRunMetadata buildPartial() { - com.google.cloud.deploy.v1.CloudRunMetadata result = new com.google.cloud.deploy.v1.CloudRunMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CloudRunMetadata result = + new com.google.cloud.deploy.v1.CloudRunMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -541,38 +593,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CloudRunMetadata result) { 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) { + 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) { + 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.cloud.deploy.v1.CloudRunMetadata) { - return mergeFrom((com.google.cloud.deploy.v1.CloudRunMetadata)other); + return mergeFrom((com.google.cloud.deploy.v1.CloudRunMetadata) other); } else { super.mergeFrom(other); return this; @@ -632,33 +685,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - service_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureServiceUrlsIsMutable(); - serviceUrls_.add(s); - break; - } // case 18 - case 26: { - revision_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - job_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + service_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureServiceUrlsIsMutable(); + serviceUrls_.add(s); + break; + } // case 18 + case 26: + { + revision_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + job_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -668,24 +726,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object service_ = ""; /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; 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(); service_ = s; return s; @@ -694,22 +757,25 @@ public java.lang.String getService() { } } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -717,32 +783,43 @@ public java.lang.String getService() { } } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearService() { @@ -752,19 +829,25 @@ public Builder clearService() { return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); service_ = value; bitField0_ |= 0x00000001; @@ -774,6 +857,7 @@ public Builder setServiceBytes( private com.google.protobuf.LazyStringArrayList serviceUrls_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureServiceUrlsIsMutable() { if (!serviceUrls_.isModifiable()) { serviceUrls_ = new com.google.protobuf.LazyStringArrayList(serviceUrls_); @@ -781,38 +865,46 @@ private void ensureServiceUrlsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the serviceUrls. */ - public com.google.protobuf.ProtocolStringList - getServiceUrlsList() { + public com.google.protobuf.ProtocolStringList getServiceUrlsList() { serviceUrls_.makeImmutable(); return serviceUrls_; } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of serviceUrls. */ public int getServiceUrlsCount() { return serviceUrls_.size(); } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The serviceUrls at the given index. */ @@ -820,33 +912,39 @@ public java.lang.String getServiceUrls(int index) { return serviceUrls_.get(index); } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the serviceUrls at the given index. */ - public com.google.protobuf.ByteString - getServiceUrlsBytes(int index) { + public com.google.protobuf.ByteString getServiceUrlsBytes(int index) { return serviceUrls_.getByteString(index); } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The serviceUrls to set. * @return This builder for chaining. */ - public Builder setServiceUrls( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceUrls(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureServiceUrlsIsMutable(); serviceUrls_.set(index, value); bitField0_ |= 0x00000002; @@ -854,18 +952,22 @@ public Builder setServiceUrls( return this; } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The serviceUrls to add. * @return This builder for chaining. */ - public Builder addServiceUrls( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addServiceUrls(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureServiceUrlsIsMutable(); serviceUrls_.add(value); bitField0_ |= 0x00000002; @@ -873,53 +975,61 @@ public Builder addServiceUrls( return this; } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The serviceUrls to add. * @return This builder for chaining. */ - public Builder addAllServiceUrls( - java.lang.Iterable values) { + public Builder addAllServiceUrls(java.lang.Iterable values) { ensureServiceUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, serviceUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceUrls_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearServiceUrls() { - serviceUrls_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + serviceUrls_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. The Cloud Run Service urls that are associated with a
      * `Rollout`.
      * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the serviceUrls to add. * @return This builder for chaining. */ - public Builder addServiceUrlsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addServiceUrlsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureServiceUrlsIsMutable(); serviceUrls_.add(value); @@ -930,18 +1040,20 @@ public Builder addServiceUrlsBytes( private java.lang.Object revision_ = ""; /** + * + * *
      * Output only. The Cloud Run Revision id associated with a `Rollout`.
      * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revision. */ public java.lang.String getRevision() { java.lang.Object ref = revision_; 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(); revision_ = s; return s; @@ -950,20 +1062,21 @@ public java.lang.String getRevision() { } } /** + * + * *
      * Output only. The Cloud Run Revision id associated with a `Rollout`.
      * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revision. */ - public com.google.protobuf.ByteString - getRevisionBytes() { + public com.google.protobuf.ByteString getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -971,28 +1084,35 @@ public java.lang.String getRevision() { } } /** + * + * *
      * Output only. The Cloud Run Revision id associated with a `Rollout`.
      * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The revision to set. * @return This builder for chaining. */ - public Builder setRevision( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRevision(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } revision_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The Cloud Run Revision id associated with a `Rollout`.
      * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRevision() { @@ -1002,17 +1122,21 @@ public Builder clearRevision() { return this; } /** + * + * *
      * Output only. The Cloud Run Revision id associated with a `Rollout`.
      * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for revision to set. * @return This builder for chaining. */ - public Builder setRevisionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRevisionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); revision_ = value; bitField0_ |= 0x00000004; @@ -1022,20 +1146,24 @@ public Builder setRevisionBytes( private java.lang.Object job_ = ""; /** + * + * *
      * Output only. The name of the Cloud Run job that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/jobs/{job_name}`.
      * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The job. */ public java.lang.String getJob() { java.lang.Object ref = job_; 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(); job_ = s; return s; @@ -1044,22 +1172,25 @@ public java.lang.String getJob() { } } /** + * + * *
      * Output only. The name of the Cloud Run job that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/jobs/{job_name}`.
      * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for job. */ - public com.google.protobuf.ByteString - getJobBytes() { + public com.google.protobuf.ByteString getJobBytes() { java.lang.Object ref = job_; 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); job_ = b; return b; } else { @@ -1067,32 +1198,43 @@ public java.lang.String getJob() { } } /** + * + * *
      * Output only. The name of the Cloud Run job that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/jobs/{job_name}`.
      * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The job to set. * @return This builder for chaining. */ - public Builder setJob( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJob(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } job_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The name of the Cloud Run job that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/jobs/{job_name}`.
      * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearJob() { @@ -1102,28 +1244,34 @@ public Builder clearJob() { return this; } /** + * + * *
      * Output only. The name of the Cloud Run job that is associated with a
      * `Rollout`. Format is
      * `projects/{project}/locations/{location}/jobs/{job_name}`.
      * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for job to set. * @return This builder for chaining. */ - public Builder setJobBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); job_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1133,12 +1281,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CloudRunMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CloudRunMetadata) private static final com.google.cloud.deploy.v1.CloudRunMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CloudRunMetadata(); } @@ -1147,27 +1295,27 @@ public static com.google.cloud.deploy.v1.CloudRunMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,6 +1330,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CloudRunMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadataOrBuilder.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadataOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadataOrBuilder.java index 41a08900e65d..480b291c4631 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadataOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunMetadataOrBuilder.java @@ -1,122 +1,171 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CloudRunMetadataOrBuilder extends +public interface CloudRunMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CloudRunMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/services/{service}`.
    * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/services/{service}`.
    * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the serviceUrls. */ - java.util.List - getServiceUrlsList(); + java.util.List getServiceUrlsList(); /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of serviceUrls. */ int getServiceUrlsCount(); /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The serviceUrls at the given index. */ java.lang.String getServiceUrls(int index); /** + * + * *
    * Output only. The Cloud Run Service urls that are associated with a
    * `Rollout`.
    * 
* * repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the serviceUrls at the given index. */ - com.google.protobuf.ByteString - getServiceUrlsBytes(int index); + com.google.protobuf.ByteString getServiceUrlsBytes(int index); /** + * + * *
    * Output only. The Cloud Run Revision id associated with a `Rollout`.
    * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revision. */ java.lang.String getRevision(); /** + * + * *
    * Output only. The Cloud Run Revision id associated with a `Rollout`.
    * 
* * string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revision. */ - com.google.protobuf.ByteString - getRevisionBytes(); + com.google.protobuf.ByteString getRevisionBytes(); /** + * + * *
    * Output only. The name of the Cloud Run job that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/jobs/{job_name}`.
    * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The job. */ java.lang.String getJob(); /** + * + * *
    * Output only. The name of the Cloud Run job that is associated with a
    * `Rollout`. Format is
    * `projects/{project}/locations/{location}/jobs/{job_name}`.
    * 
* - * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for job. */ - com.google.protobuf.ByteString - getJobBytes(); + com.google.protobuf.ByteString getJobBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadata.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadata.java index b0ba6e17915d..f4afa0bc80c4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CloudRunRenderMetadata contains Cloud Run information associated with a
  * `Release` render.
@@ -11,49 +28,57 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.CloudRunRenderMetadata}
  */
-public final class CloudRunRenderMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudRunRenderMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CloudRunRenderMetadata)
     CloudRunRenderMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudRunRenderMetadata.newBuilder() to construct.
   private CloudRunRenderMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudRunRenderMetadata() {
     service_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloudRunRenderMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.CloudRunRenderMetadata.class, com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder.class);
+            com.google.cloud.deploy.v1.CloudRunRenderMetadata.class,
+            com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object service_ = "";
   /**
+   *
+   *
    * 
    * Output only. The name of the Cloud Run Service in the rendered manifest.
    * Format is `projects/{project}/locations/{location}/services/{service}`.
    * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The service. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getService() { 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(); service_ = s; return s; } } /** + * + * *
    * Output only. The name of the Cloud Run Service in the rendered manifest.
    * Format is `projects/{project}/locations/{location}/services/{service}`.
    * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -94,6 +121,7 @@ public java.lang.String getService() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,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(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -130,15 +157,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.cloud.deploy.v1.CloudRunRenderMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CloudRunRenderMetadata other = (com.google.cloud.deploy.v1.CloudRunRenderMetadata) obj; + com.google.cloud.deploy.v1.CloudRunRenderMetadata other = + (com.google.cloud.deploy.v1.CloudRunRenderMetadata) obj; - if (!getService() - .equals(other.getService())) return false; + if (!getService().equals(other.getService())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,98 +185,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CloudRunRenderMetadata 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.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CloudRunRenderMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CloudRunRenderMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CloudRunRenderMetadata contains Cloud Run information associated with a
    * `Release` render.
@@ -257,33 +289,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.CloudRunRenderMetadata}
    */
-  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.cloud.deploy.v1.CloudRunRenderMetadata)
       com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.CloudRunRenderMetadata.class, com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder.class);
+              com.google.cloud.deploy.v1.CloudRunRenderMetadata.class,
+              com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.CloudRunRenderMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -314,8 +345,11 @@ public com.google.cloud.deploy.v1.CloudRunRenderMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.CloudRunRenderMetadata buildPartial() {
-      com.google.cloud.deploy.v1.CloudRunRenderMetadata result = new com.google.cloud.deploy.v1.CloudRunRenderMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.CloudRunRenderMetadata result =
+          new com.google.cloud.deploy.v1.CloudRunRenderMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -331,38 +365,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CloudRunRenderMetadata res
     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) {
+        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) {
+        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.cloud.deploy.v1.CloudRunRenderMetadata) {
-        return mergeFrom((com.google.cloud.deploy.v1.CloudRunRenderMetadata)other);
+        return mergeFrom((com.google.cloud.deploy.v1.CloudRunRenderMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -370,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.CloudRunRenderMetadata other) {
-      if (other == com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         bitField0_ |= 0x00000001;
@@ -402,17 +438,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              service_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                service_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -422,23 +460,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of the Cloud Run Service in the rendered manifest.
      * Format is `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; 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(); service_ = s; return s; @@ -447,21 +490,24 @@ public java.lang.String getService() { } } /** + * + * *
      * Output only. The name of the Cloud Run Service in the rendered manifest.
      * Format is `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -469,30 +515,41 @@ public java.lang.String getService() { } } /** + * + * *
      * Output only. The name of the Cloud Run Service in the rendered manifest.
      * Format is `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service in the rendered manifest.
      * Format is `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearService() { @@ -502,27 +559,33 @@ public Builder clearService() { return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service in the rendered manifest.
      * Format is `projects/{project}/locations/{location}/services/{service}`.
      * 
* - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -532,12 +595,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CloudRunRenderMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CloudRunRenderMetadata) private static final com.google.cloud.deploy.v1.CloudRunRenderMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CloudRunRenderMetadata(); } @@ -546,27 +609,27 @@ public static com.google.cloud.deploy.v1.CloudRunRenderMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunRenderMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunRenderMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -581,6 +644,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CloudRunRenderMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadataOrBuilder.java new file mode 100644 index 000000000000..04d24243619f --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadataOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CloudRunRenderMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CloudRunRenderMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The name of the Cloud Run Service in the rendered manifest.
+   * Format is `projects/{project}/locations/{location}/services/{service}`.
+   * 
+ * + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The service. + */ + java.lang.String getService(); + /** + * + * + *
+   * Output only. The name of the Cloud Run Service in the rendered manifest.
+   * Format is `projects/{project}/locations/{location}/services/{service}`.
+   * 
+ * + * + * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for service. + */ + com.google.protobuf.ByteString getServiceBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java similarity index 73% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java index 80635ee14558..aa5cc4a1acc2 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Service-wide configuration.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Config} */ -public final class Config extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Config extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Config) ConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Config.newBuilder() to construct. private Config(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Config() { name_ = ""; supportedVersions_ = java.util.Collections.emptyList(); @@ -27,33 +45,38 @@ private Config() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Config(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Config_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Config_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Config.class, com.google.cloud.deploy.v1.Config.Builder.class); + com.google.cloud.deploy.v1.Config.class, + com.google.cloud.deploy.v1.Config.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Name of the configuration.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -62,29 +85,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; } } /** + * + * *
    * Name of the configuration.
    * 
* * 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 { @@ -93,9 +116,12 @@ public java.lang.String getName() { } public static final int SUPPORTED_VERSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List supportedVersions_; /** + * + * *
    * All supported versions of Skaffold.
    * 
@@ -107,6 +133,8 @@ public java.util.List getSupportedVe return supportedVersions_; } /** + * + * *
    * All supported versions of Skaffold.
    * 
@@ -114,11 +142,13 @@ public java.util.List getSupportedVe * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSupportedVersionsOrBuilderList() { return supportedVersions_; } /** + * + * *
    * All supported versions of Skaffold.
    * 
@@ -130,6 +160,8 @@ public int getSupportedVersionsCount() { return supportedVersions_.size(); } /** + * + * *
    * All supported versions of Skaffold.
    * 
@@ -141,6 +173,8 @@ public com.google.cloud.deploy.v1.SkaffoldVersion getSupportedVersions(int index return supportedVersions_.get(index); } /** + * + * *
    * All supported versions of Skaffold.
    * 
@@ -154,15 +188,19 @@ public com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsO } public static final int DEFAULT_SKAFFOLD_VERSION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object defaultSkaffoldVersion_ = ""; /** + * + * *
    * Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3; + * * @return The defaultSkaffoldVersion. */ @java.lang.Override @@ -171,30 +209,30 @@ public java.lang.String getDefaultSkaffoldVersion() { 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(); defaultSkaffoldVersion_ = s; return s; } } /** + * + * *
    * Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3; + * * @return The bytes for defaultSkaffoldVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultSkaffoldVersionBytes() { + public com.google.protobuf.ByteString getDefaultSkaffoldVersionBytes() { java.lang.Object ref = defaultSkaffoldVersion_; 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); defaultSkaffoldVersion_ = b; return b; } else { @@ -203,6 +241,7 @@ public java.lang.String getDefaultSkaffoldVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +253,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_); } @@ -238,8 +276,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < supportedVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, supportedVersions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, supportedVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSkaffoldVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultSkaffoldVersion_); @@ -252,19 +290,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.cloud.deploy.v1.Config)) { return super.equals(obj); } com.google.cloud.deploy.v1.Config other = (com.google.cloud.deploy.v1.Config) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getSupportedVersionsList() - .equals(other.getSupportedVersionsList())) return false; - if (!getDefaultSkaffoldVersion() - .equals(other.getDefaultSkaffoldVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getSupportedVersionsList().equals(other.getSupportedVersionsList())) return false; + if (!getDefaultSkaffoldVersion().equals(other.getDefaultSkaffoldVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,132 +324,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Config parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Config parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Config parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Config parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Config parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Config parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Config parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Config parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Config parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Config parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Config parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Config parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Config parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Config prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Service-wide configuration.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Config} */ - 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.cloud.deploy.v1.Config) com.google.cloud.deploy.v1.ConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Config_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Config_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Config.class, com.google.cloud.deploy.v1.Config.Builder.class); + com.google.cloud.deploy.v1.Config.class, + com.google.cloud.deploy.v1.Config.Builder.class); } // Construct using com.google.cloud.deploy.v1.Config.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -432,9 +470,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Config_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Config_descriptor; } @java.lang.Override @@ -455,7 +493,9 @@ public com.google.cloud.deploy.v1.Config build() { public com.google.cloud.deploy.v1.Config buildPartial() { com.google.cloud.deploy.v1.Config result = new com.google.cloud.deploy.v1.Config(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -486,38 +526,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Config result) { 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) { + 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) { + 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.cloud.deploy.v1.Config) { - return mergeFrom((com.google.cloud.deploy.v1.Config)other); + return mergeFrom((com.google.cloud.deploy.v1.Config) other); } else { super.mergeFrom(other); return this; @@ -549,9 +590,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Config other) { supportedVersionsBuilder_ = null; supportedVersions_ = other.supportedVersions_; bitField0_ = (bitField0_ & ~0x00000002); - supportedVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSupportedVersionsFieldBuilder() : null; + supportedVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSupportedVersionsFieldBuilder() + : null; } else { supportedVersionsBuilder_.addAllMessages(other.supportedVersions_); } @@ -588,35 +630,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.deploy.v1.SkaffoldVersion m = - input.readMessage( - com.google.cloud.deploy.v1.SkaffoldVersion.parser(), - extensionRegistry); - if (supportedVersionsBuilder_ == null) { - ensureSupportedVersionsIsMutable(); - supportedVersions_.add(m); - } else { - supportedVersionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - defaultSkaffoldVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.deploy.v1.SkaffoldVersion m = + input.readMessage( + com.google.cloud.deploy.v1.SkaffoldVersion.parser(), extensionRegistry); + if (supportedVersionsBuilder_ == null) { + ensureSupportedVersionsIsMutable(); + supportedVersions_.add(m); + } else { + supportedVersionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + defaultSkaffoldVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -626,22 +671,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Name of the configuration.
      * 
* * 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; @@ -650,20 +698,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the configuration.
      * 
* * 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 { @@ -671,28 +720,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the configuration.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the configuration.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -702,17 +758,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the configuration.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -721,18 +781,25 @@ public Builder setNameBytes( } private java.util.List supportedVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSupportedVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - supportedVersions_ = new java.util.ArrayList(supportedVersions_); + supportedVersions_ = + new java.util.ArrayList(supportedVersions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldVersion, com.google.cloud.deploy.v1.SkaffoldVersion.Builder, com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder> supportedVersionsBuilder_; + com.google.cloud.deploy.v1.SkaffoldVersion, + com.google.cloud.deploy.v1.SkaffoldVersion.Builder, + com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder> + supportedVersionsBuilder_; /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -747,6 +814,8 @@ public java.util.List getSupportedVe } } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -761,6 +830,8 @@ public int getSupportedVersionsCount() { } } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -775,6 +846,8 @@ public com.google.cloud.deploy.v1.SkaffoldVersion getSupportedVersions(int index } } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -796,6 +869,8 @@ public Builder setSupportedVersions( return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -814,6 +889,8 @@ public Builder setSupportedVersions( return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -834,6 +911,8 @@ public Builder addSupportedVersions(com.google.cloud.deploy.v1.SkaffoldVersion v return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -855,6 +934,8 @@ public Builder addSupportedVersions( return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -873,6 +954,8 @@ public Builder addSupportedVersions( return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -891,6 +974,8 @@ public Builder addSupportedVersions( return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -901,8 +986,7 @@ public Builder addAllSupportedVersions( java.lang.Iterable values) { if (supportedVersionsBuilder_ == null) { ensureSupportedVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedVersions_); onChanged(); } else { supportedVersionsBuilder_.addAllMessages(values); @@ -910,6 +994,8 @@ public Builder addAllSupportedVersions( return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -927,6 +1013,8 @@ public Builder clearSupportedVersions() { return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -944,6 +1032,8 @@ public Builder removeSupportedVersions(int index) { return this; } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -955,6 +1045,8 @@ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder getSupportedVersionsBu return getSupportedVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -964,19 +1056,22 @@ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder getSupportedVersionsBu public com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsOrBuilder( int index) { if (supportedVersionsBuilder_ == null) { - return supportedVersions_.get(index); } else { + return supportedVersions_.get(index); + } else { return supportedVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All supported versions of Skaffold.
      * 
* * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2; */ - public java.util.List - getSupportedVersionsOrBuilderList() { + public java.util.List + getSupportedVersionsOrBuilderList() { if (supportedVersionsBuilder_ != null) { return supportedVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -984,6 +1079,8 @@ public com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsO } } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -991,10 +1088,12 @@ public com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsO * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2; */ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder addSupportedVersionsBuilder() { - return getSupportedVersionsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.SkaffoldVersion.getDefaultInstance()); + return getSupportedVersionsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.SkaffoldVersion.getDefaultInstance()); } /** + * + * *
      * All supported versions of Skaffold.
      * 
@@ -1003,26 +1102,34 @@ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder addSupportedVersionsBu */ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder addSupportedVersionsBuilder( int index) { - return getSupportedVersionsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.SkaffoldVersion.getDefaultInstance()); + return getSupportedVersionsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.SkaffoldVersion.getDefaultInstance()); } /** + * + * *
      * All supported versions of Skaffold.
      * 
* * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2; */ - public java.util.List - getSupportedVersionsBuilderList() { + public java.util.List + getSupportedVersionsBuilderList() { return getSupportedVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldVersion, com.google.cloud.deploy.v1.SkaffoldVersion.Builder, com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder> + com.google.cloud.deploy.v1.SkaffoldVersion, + com.google.cloud.deploy.v1.SkaffoldVersion.Builder, + com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder> getSupportedVersionsFieldBuilder() { if (supportedVersionsBuilder_ == null) { - supportedVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldVersion, com.google.cloud.deploy.v1.SkaffoldVersion.Builder, com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder>( + supportedVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.SkaffoldVersion, + com.google.cloud.deploy.v1.SkaffoldVersion.Builder, + com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder>( supportedVersions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1034,19 +1141,21 @@ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder addSupportedVersionsBu private java.lang.Object defaultSkaffoldVersion_ = ""; /** + * + * *
      * Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* * string default_skaffold_version = 3; + * * @return The defaultSkaffoldVersion. */ public java.lang.String getDefaultSkaffoldVersion() { java.lang.Object ref = defaultSkaffoldVersion_; 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(); defaultSkaffoldVersion_ = s; return s; @@ -1055,21 +1164,22 @@ public java.lang.String getDefaultSkaffoldVersion() { } } /** + * + * *
      * Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* * string default_skaffold_version = 3; + * * @return The bytes for defaultSkaffoldVersion. */ - public com.google.protobuf.ByteString - getDefaultSkaffoldVersionBytes() { + public com.google.protobuf.ByteString getDefaultSkaffoldVersionBytes() { java.lang.Object ref = defaultSkaffoldVersion_; 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); defaultSkaffoldVersion_ = b; return b; } else { @@ -1077,30 +1187,37 @@ public java.lang.String getDefaultSkaffoldVersion() { } } /** + * + * *
      * Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* * string default_skaffold_version = 3; + * * @param value The defaultSkaffoldVersion to set. * @return This builder for chaining. */ - public Builder setDefaultSkaffoldVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultSkaffoldVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultSkaffoldVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* * string default_skaffold_version = 3; + * * @return This builder for chaining. */ public Builder clearDefaultSkaffoldVersion() { @@ -1110,27 +1227,31 @@ public Builder clearDefaultSkaffoldVersion() { return this; } /** + * + * *
      * Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* * string default_skaffold_version = 3; + * * @param value The bytes for defaultSkaffoldVersion to set. * @return This builder for chaining. */ - public Builder setDefaultSkaffoldVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultSkaffoldVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultSkaffoldVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1140,12 +1261,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Config) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Config) private static final com.google.cloud.deploy.v1.Config DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Config(); } @@ -1154,27 +1275,27 @@ public static com.google.cloud.deploy.v1.Config getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Config parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Config parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,6 +1310,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Config getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java index 63eeecfb872d..3d433fa2b7bb 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java @@ -1,42 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ConfigOrBuilder extends +public interface ConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Config) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the configuration.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the configuration.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * All supported versions of Skaffold.
    * 
* * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2; */ - java.util.List - getSupportedVersionsList(); + java.util.List getSupportedVersionsList(); /** + * + * *
    * All supported versions of Skaffold.
    * 
@@ -45,6 +69,8 @@ public interface ConfigOrBuilder extends */ com.google.cloud.deploy.v1.SkaffoldVersion getSupportedVersions(int index); /** + * + * *
    * All supported versions of Skaffold.
    * 
@@ -53,43 +79,51 @@ public interface ConfigOrBuilder extends */ int getSupportedVersionsCount(); /** + * + * *
    * All supported versions of Skaffold.
    * 
* * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2; */ - java.util.List + java.util.List getSupportedVersionsOrBuilderList(); /** + * + * *
    * All supported versions of Skaffold.
    * 
* * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2; */ - com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsOrBuilder( - int index); + com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsOrBuilder(int index); /** + * + * *
    * Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3; + * * @return The defaultSkaffoldVersion. */ java.lang.String getDefaultSkaffoldVersion(); /** + * + * *
    * Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3; + * * @return The bytes for defaultSkaffoldVersion. */ - com.google.protobuf.ByteString - getDefaultSkaffoldVersionBytes(); + com.google.protobuf.ByteString getDefaultSkaffoldVersionBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequest.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequest.java index 166f817275da..e3d39a8e433b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `CreateAutomation`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateAutomationRequest} */ -public final class CreateAutomationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAutomationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateAutomationRequest) CreateAutomationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAutomationRequest.newBuilder() to construct. private CreateAutomationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAutomationRequest() { parent_ = ""; automationId_ = ""; @@ -27,35 +45,42 @@ private CreateAutomationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAutomationRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateAutomationRequest.class, com.google.cloud.deploy.v1.CreateAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.CreateAutomationRequest.class, + com.google.cloud.deploy.v1.CreateAutomationRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent collection in which the `Automation` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent collection in which the `Automation` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -97,14 +124,18 @@ public java.lang.String getParent() { } public static final int AUTOMATION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object automationId_ = ""; /** + * + * *
    * Required. ID of the `Automation`.
    * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The automationId. */ @java.lang.Override @@ -113,29 +144,29 @@ public java.lang.String getAutomationId() { 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(); automationId_ = s; return s; } } /** + * + * *
    * Required. ID of the `Automation`.
    * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for automationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAutomationIdBytes() { + public com.google.protobuf.ByteString getAutomationIdBytes() { java.lang.Object ref = automationId_; 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); automationId_ = b; return b; } else { @@ -146,11 +177,16 @@ public java.lang.String getAutomationId() { public static final int AUTOMATION_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.Automation automation_; /** + * + * *
    * Required. The `Automation` to create.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the automation field is set. */ @java.lang.Override @@ -158,33 +194,49 @@ public boolean hasAutomation() { return automation_ != null; } /** + * + * *
    * Required. The `Automation` to create.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The automation. */ @java.lang.Override public com.google.cloud.deploy.v1.Automation getAutomation() { - return automation_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } /** + * + * *
    * Required. The `Automation` to create.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() { - return automation_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -202,6 +254,7 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -210,14 +263,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -235,16 +289,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -255,12 +308,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -269,6 +325,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +337,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -313,15 +369,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, automationId_); } if (automation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAutomation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAutomation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,26 +385,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.cloud.deploy.v1.CreateAutomationRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateAutomationRequest other = (com.google.cloud.deploy.v1.CreateAutomationRequest) obj; + com.google.cloud.deploy.v1.CreateAutomationRequest other = + (com.google.cloud.deploy.v1.CreateAutomationRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getAutomationId() - .equals(other.getAutomationId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getAutomationId().equals(other.getAutomationId())) return false; if (hasAutomation() != other.hasAutomation()) return false; if (hasAutomation()) { - if (!getAutomation() - .equals(other.getAutomation())) return false; + if (!getAutomation().equals(other.getAutomation())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,139 +423,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.CreateAutomationRequest 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.cloud.deploy.v1.CreateAutomationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateAutomationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateAutomationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateAutomationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CreateAutomationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `CreateAutomation`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateAutomationRequest} */ - 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.cloud.deploy.v1.CreateAutomationRequest) com.google.cloud.deploy.v1.CreateAutomationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateAutomationRequest.class, com.google.cloud.deploy.v1.CreateAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.CreateAutomationRequest.class, + com.google.cloud.deploy.v1.CreateAutomationRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CreateAutomationRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; } @java.lang.Override @@ -544,8 +597,11 @@ public com.google.cloud.deploy.v1.CreateAutomationRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CreateAutomationRequest buildPartial() { - com.google.cloud.deploy.v1.CreateAutomationRequest result = new com.google.cloud.deploy.v1.CreateAutomationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CreateAutomationRequest result = + new com.google.cloud.deploy.v1.CreateAutomationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -559,9 +615,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateAutomationRequest re result.automationId_ = automationId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.automation_ = automationBuilder_ == null - ? automation_ - : automationBuilder_.build(); + result.automation_ = automationBuilder_ == null ? automation_ : automationBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -575,38 +629,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateAutomationRequest re 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) { + 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) { + 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.cloud.deploy.v1.CreateAutomationRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CreateAutomationRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CreateAutomationRequest) other); } else { super.mergeFrom(other); return this; @@ -614,7 +669,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CreateAutomationRequest other) { - if (other == com.google.cloud.deploy.v1.CreateAutomationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CreateAutomationRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -662,39 +718,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - automationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getAutomationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + automationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getAutomationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -704,24 +764,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent collection in which the `Automation` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -730,22 +795,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Automation` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -753,32 +821,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Automation` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent collection in which the `Automation` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -788,19 +867,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent collection in which the `Automation` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -810,18 +895,20 @@ public Builder setParentBytes( private java.lang.Object automationId_ = ""; /** + * + * *
      * Required. ID of the `Automation`.
      * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The automationId. */ public java.lang.String getAutomationId() { java.lang.Object ref = automationId_; 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(); automationId_ = s; return s; @@ -830,20 +917,21 @@ public java.lang.String getAutomationId() { } } /** + * + * *
      * Required. ID of the `Automation`.
      * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for automationId. */ - public com.google.protobuf.ByteString - getAutomationIdBytes() { + public com.google.protobuf.ByteString getAutomationIdBytes() { java.lang.Object ref = automationId_; 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); automationId_ = b; return b; } else { @@ -851,28 +939,35 @@ public java.lang.String getAutomationId() { } } /** + * + * *
      * Required. ID of the `Automation`.
      * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The automationId to set. * @return This builder for chaining. */ - public Builder setAutomationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } automationId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the `Automation`.
      * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAutomationId() { @@ -882,17 +977,21 @@ public Builder clearAutomationId() { return this; } /** + * + * *
      * Required. ID of the `Automation`.
      * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for automationId to set. * @return This builder for chaining. */ - public Builder setAutomationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutomationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); automationId_ = value; bitField0_ |= 0x00000002; @@ -902,39 +1001,58 @@ public Builder setAutomationIdBytes( private com.google.cloud.deploy.v1.Automation automation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> automationBuilder_; + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> + automationBuilder_; /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the automation field is set. */ public boolean hasAutomation() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The automation. */ public com.google.cloud.deploy.v1.Automation getAutomation() { if (automationBuilder_ == null) { - return automation_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } else { return automationBuilder_.getMessage(); } } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutomation(com.google.cloud.deploy.v1.Automation value) { if (automationBuilder_ == null) { @@ -950,14 +1068,17 @@ public Builder setAutomation(com.google.cloud.deploy.v1.Automation value) { return this; } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAutomation( - com.google.cloud.deploy.v1.Automation.Builder builderForValue) { + public Builder setAutomation(com.google.cloud.deploy.v1.Automation.Builder builderForValue) { if (automationBuilder_ == null) { automation_ = builderForValue.build(); } else { @@ -968,17 +1089,21 @@ public Builder setAutomation( return this; } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAutomation(com.google.cloud.deploy.v1.Automation value) { if (automationBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - automation_ != null && - automation_ != com.google.cloud.deploy.v1.Automation.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && automation_ != null + && automation_ != com.google.cloud.deploy.v1.Automation.getDefaultInstance()) { getAutomationBuilder().mergeFrom(value); } else { automation_ = value; @@ -991,11 +1116,15 @@ public Builder mergeAutomation(com.google.cloud.deploy.v1.Automation value) { return this; } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAutomation() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1008,11 +1137,15 @@ public Builder clearAutomation() { return this; } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.Automation.Builder getAutomationBuilder() { bitField0_ |= 0x00000004; @@ -1020,36 +1153,48 @@ public com.google.cloud.deploy.v1.Automation.Builder getAutomationBuilder() { return getAutomationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() { if (automationBuilder_ != null) { return automationBuilder_.getMessageOrBuilder(); } else { - return automation_ == null ? - com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } } /** + * + * *
      * Required. The `Automation` to create.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> getAutomationFieldBuilder() { if (automationBuilder_ == null) { - automationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder>( - getAutomation(), - getParentForChildren(), - isClean()); + automationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder>( + getAutomation(), getParentForChildren(), isClean()); automation_ = null; } return automationBuilder_; @@ -1057,6 +1202,8 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1074,13 +1221,13 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1089,6 +1236,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1106,15 +1255,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1122,6 +1270,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1139,18 +1289,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1168,6 +1322,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1177,6 +1332,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1194,12 +1351,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1207,14 +1366,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1222,12 +1384,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1239,12 +1404,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1253,9 +1421,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1433,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateAutomationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateAutomationRequest) private static final com.google.cloud.deploy.v1.CreateAutomationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateAutomationRequest(); } @@ -1279,27 +1447,27 @@ public static com.google.cloud.deploy.v1.CreateAutomationRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAutomationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAutomationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,6 +1482,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateAutomationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequestOrBuilder.java index 7403bf4b8e11..e7c13bace275 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequestOrBuilder.java @@ -1,84 +1,130 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CreateAutomationRequestOrBuilder extends +public interface CreateAutomationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateAutomationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent collection in which the `Automation` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent collection in which the `Automation` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. ID of the `Automation`.
    * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The automationId. */ java.lang.String getAutomationId(); /** + * + * *
    * Required. ID of the `Automation`.
    * 
* * string automation_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for automationId. */ - com.google.protobuf.ByteString - getAutomationIdBytes(); + com.google.protobuf.ByteString getAutomationIdBytes(); /** + * + * *
    * Required. The `Automation` to create.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the automation field is set. */ boolean hasAutomation(); /** + * + * *
    * Required. The `Automation` to create.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The automation. */ com.google.cloud.deploy.v1.Automation getAutomation(); /** + * + * *
    * Required. The `Automation` to create.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -96,10 +142,13 @@ public interface CreateAutomationRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -117,18 +166,21 @@ public interface CreateAutomationRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJob.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJob.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJob.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJob.java index d7a1da5adbe5..4239fdb59e0d 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJob.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJob.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A createChildRollout Job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateChildRolloutJob} */ -public final class CreateChildRolloutJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateChildRolloutJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateChildRolloutJob) CreateChildRolloutJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateChildRolloutJob.newBuilder() to construct. private CreateChildRolloutJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateChildRolloutJob() { - } + + private CreateChildRolloutJob() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateChildRolloutJob(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateChildRolloutJob.class, com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder.class); + com.google.cloud.deploy.v1.CreateChildRolloutJob.class, + com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.CreateChildRolloutJob)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateChildRolloutJob other = (com.google.cloud.deploy.v1.CreateChildRolloutJob) obj; + com.google.cloud.deploy.v1.CreateChildRolloutJob other = + (com.google.cloud.deploy.v1.CreateChildRolloutJob) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -96,132 +115,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CreateChildRolloutJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A createChildRollout Job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateChildRolloutJob} */ - 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.cloud.deploy.v1.CreateChildRolloutJob) com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateChildRolloutJob.class, com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder.class); + com.google.cloud.deploy.v1.CreateChildRolloutJob.class, + com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder.class); } // Construct using com.google.cloud.deploy.v1.CreateChildRolloutJob.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJob build() { @java.lang.Override public com.google.cloud.deploy.v1.CreateChildRolloutJob buildPartial() { - com.google.cloud.deploy.v1.CreateChildRolloutJob result = new com.google.cloud.deploy.v1.CreateChildRolloutJob(this); + com.google.cloud.deploy.v1.CreateChildRolloutJob result = + new com.google.cloud.deploy.v1.CreateChildRolloutJob(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJob 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) { + 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) { + 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.cloud.deploy.v1.CreateChildRolloutJob) { - return mergeFrom((com.google.cloud.deploy.v1.CreateChildRolloutJob)other); + return mergeFrom((com.google.cloud.deploy.v1.CreateChildRolloutJob) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CreateChildRolloutJob other) { - if (other == com.google.cloud.deploy.v1.CreateChildRolloutJob.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CreateChildRolloutJob.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateChildRolloutJob) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateChildRolloutJob) private static final com.google.cloud.deploy.v1.CreateChildRolloutJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateChildRolloutJob(); } @@ -366,27 +393,27 @@ public static com.google.cloud.deploy.v1.CreateChildRolloutJob getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChildRolloutJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChildRolloutJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateChildRolloutJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobOrBuilder.java new file mode 100644 index 000000000000..6f0360a83647 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CreateChildRolloutJobOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateChildRolloutJob) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRun.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRun.java index 62ed77ed4ad5..c20fe178b56b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRun.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CreateChildRolloutJobRun contains information specific to a
  * createChildRollout `JobRun`.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.CreateChildRolloutJobRun}
  */
-public final class CreateChildRolloutJobRun extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateChildRolloutJobRun extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateChildRolloutJobRun)
     CreateChildRolloutJobRunOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateChildRolloutJobRun.newBuilder() to construct.
   private CreateChildRolloutJobRun(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateChildRolloutJobRun() {
     rollout_ = "";
     rolloutPhaseId_ = "";
@@ -27,34 +45,39 @@ private CreateChildRolloutJobRun() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateChildRolloutJobRun();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.CreateChildRolloutJobRun.class, com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder.class);
+            com.google.cloud.deploy.v1.CreateChildRolloutJobRun.class,
+            com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder.class);
   }
 
   public static final int ROLLOUT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object rollout_ = "";
   /**
+   *
+   *
    * 
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ @java.lang.Override @@ -63,30 +86,30 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -95,14 +118,18 @@ public java.lang.String getRollout() { } public static final int ROLLOUT_PHASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutPhaseId_ = ""; /** + * + * *
    * Output only. The ID of the childRollout Phase initiated by this JobRun.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutPhaseId. */ @java.lang.Override @@ -111,29 +138,29 @@ public java.lang.String getRolloutPhaseId() { 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(); rolloutPhaseId_ = s; return s; } } /** + * + * *
    * Output only. The ID of the childRollout Phase initiated by this JobRun.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutPhaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutPhaseIdBytes() { + public com.google.protobuf.ByteString getRolloutPhaseIdBytes() { java.lang.Object ref = rolloutPhaseId_; 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); rolloutPhaseId_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getRolloutPhaseId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,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(rollout_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rollout_); } @@ -184,17 +211,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.cloud.deploy.v1.CreateChildRolloutJobRun)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateChildRolloutJobRun other = (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) obj; + com.google.cloud.deploy.v1.CreateChildRolloutJobRun other = + (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) obj; - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getRolloutPhaseId() - .equals(other.getRolloutPhaseId())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getRolloutPhaseId().equals(other.getRolloutPhaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,98 +242,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun 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.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CreateChildRolloutJobRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CreateChildRolloutJobRun contains information specific to a
    * createChildRollout `JobRun`.
@@ -315,33 +346,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.CreateChildRolloutJobRun}
    */
-  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.cloud.deploy.v1.CreateChildRolloutJobRun)
       com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.CreateChildRolloutJobRun.class, com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder.class);
+              com.google.cloud.deploy.v1.CreateChildRolloutJobRun.class,
+              com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.CreateChildRolloutJobRun.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,9 +382,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor;
     }
 
     @java.lang.Override
@@ -373,8 +403,11 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJobRun build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.CreateChildRolloutJobRun buildPartial() {
-      com.google.cloud.deploy.v1.CreateChildRolloutJobRun result = new com.google.cloud.deploy.v1.CreateChildRolloutJobRun(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.CreateChildRolloutJobRun result =
+          new com.google.cloud.deploy.v1.CreateChildRolloutJobRun(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -393,38 +426,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateChildRolloutJobRun r
     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) {
+        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) {
+        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.cloud.deploy.v1.CreateChildRolloutJobRun) {
-        return mergeFrom((com.google.cloud.deploy.v1.CreateChildRolloutJobRun)other);
+        return mergeFrom((com.google.cloud.deploy.v1.CreateChildRolloutJobRun) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +466,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.CreateChildRolloutJobRun other) {
-      if (other == com.google.cloud.deploy.v1.CreateChildRolloutJobRun.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.CreateChildRolloutJobRun.getDefaultInstance())
+        return this;
       if (!other.getRollout().isEmpty()) {
         rollout_ = other.rollout_;
         bitField0_ |= 0x00000001;
@@ -469,22 +504,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              rollout_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              rolloutPhaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                rollout_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                rolloutPhaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -494,23 +532,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object rollout_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -519,21 +560,22 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -541,30 +583,37 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -574,18 +623,22 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Output only. Name of the `ChildRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000001; @@ -595,18 +648,20 @@ public Builder setRolloutBytes( private java.lang.Object rolloutPhaseId_ = ""; /** + * + * *
      * Output only. The ID of the childRollout Phase initiated by this JobRun.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutPhaseId. */ public java.lang.String getRolloutPhaseId() { java.lang.Object ref = rolloutPhaseId_; 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(); rolloutPhaseId_ = s; return s; @@ -615,20 +670,21 @@ public java.lang.String getRolloutPhaseId() { } } /** + * + * *
      * Output only. The ID of the childRollout Phase initiated by this JobRun.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutPhaseId. */ - public com.google.protobuf.ByteString - getRolloutPhaseIdBytes() { + public com.google.protobuf.ByteString getRolloutPhaseIdBytes() { java.lang.Object ref = rolloutPhaseId_; 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); rolloutPhaseId_ = b; return b; } else { @@ -636,28 +692,35 @@ public java.lang.String getRolloutPhaseId() { } } /** + * + * *
      * Output only. The ID of the childRollout Phase initiated by this JobRun.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rolloutPhaseId to set. * @return This builder for chaining. */ - public Builder setRolloutPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutPhaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the childRollout Phase initiated by this JobRun.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRolloutPhaseId() { @@ -667,26 +730,30 @@ public Builder clearRolloutPhaseId() { return this; } /** + * + * *
      * Output only. The ID of the childRollout Phase initiated by this JobRun.
      * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rolloutPhaseId to set. * @return This builder for chaining. */ - public Builder setRolloutPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutPhaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -696,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateChildRolloutJobRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateChildRolloutJobRun) private static final com.google.cloud.deploy.v1.CreateChildRolloutJobRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateChildRolloutJobRun(); } @@ -710,27 +777,27 @@ public static com.google.cloud.deploy.v1.CreateChildRolloutJobRun getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChildRolloutJobRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChildRolloutJobRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,6 +812,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateChildRolloutJobRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRunOrBuilder.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRunOrBuilder.java index 92967c134796..f83512083ce4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobRunOrBuilder.java @@ -1,51 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CreateChildRolloutJobRunOrBuilder extends +public interface CreateChildRolloutJobRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateChildRolloutJobRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * Output only. Name of the `ChildRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * Output only. The ID of the childRollout Phase initiated by this JobRun.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutPhaseId. */ java.lang.String getRolloutPhaseId(); /** + * + * *
    * Output only. The ID of the childRollout Phase initiated by this JobRun.
    * 
* * string rollout_phase_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutPhaseId. */ - com.google.protobuf.ByteString - getRolloutPhaseIdBytes(); + com.google.protobuf.ByteString getRolloutPhaseIdBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequest.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequest.java index 81cf01e224e9..e990c9b41bcf 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `CreateCustomTargetType`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateCustomTargetTypeRequest} */ -public final class CreateCustomTargetTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCustomTargetTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateCustomTargetTypeRequest) CreateCustomTargetTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCustomTargetTypeRequest.newBuilder() to construct. private CreateCustomTargetTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCustomTargetTypeRequest() { parent_ = ""; customTargetTypeId_ = ""; @@ -27,35 +45,42 @@ private CreateCustomTargetTypeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCustomTargetTypeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent collection in which the `CustomTargetType` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent collection in which the `CustomTargetType` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -97,14 +124,18 @@ public java.lang.String getParent() { } public static final int CUSTOM_TARGET_TYPE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object customTargetTypeId_ = ""; /** + * + * *
    * Required. ID of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The customTargetTypeId. */ @java.lang.Override @@ -113,29 +144,29 @@ public java.lang.String getCustomTargetTypeId() { 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(); customTargetTypeId_ = s; return s; } } /** + * + * *
    * Required. ID of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for customTargetTypeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomTargetTypeIdBytes() { + public com.google.protobuf.ByteString getCustomTargetTypeIdBytes() { java.lang.Object ref = customTargetTypeId_; 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); customTargetTypeId_ = b; return b; } else { @@ -146,11 +177,16 @@ public java.lang.String getCustomTargetTypeId() { public static final int CUSTOM_TARGET_TYPE_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.CustomTargetType customTargetType_; /** + * + * *
    * Required. The `CustomTargetType` to create.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customTargetType field is set. */ @java.lang.Override @@ -158,33 +194,49 @@ public boolean hasCustomTargetType() { return customTargetType_ != null; } /** + * + * *
    * Required. The `CustomTargetType` to create.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customTargetType. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType() { - return customTargetType_ == null ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } /** + * + * *
    * Required. The `CustomTargetType` to create.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeOrBuilder() { - return customTargetType_ == null ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -202,6 +254,7 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeO
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -210,14 +263,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -235,16 +289,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -255,12 +308,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -269,6 +325,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +337,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -313,15 +369,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, customTargetTypeId_); } if (customTargetType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCustomTargetType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCustomTargetType()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,26 +385,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.cloud.deploy.v1.CreateCustomTargetTypeRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest other = (com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest) obj; + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest other = + (com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCustomTargetTypeId() - .equals(other.getCustomTargetTypeId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCustomTargetTypeId().equals(other.getCustomTargetTypeId())) return false; if (hasCustomTargetType() != other.hasCustomTargetType()) return false; if (hasCustomTargetType()) { - if (!getCustomTargetType() - .equals(other.getCustomTargetType())) return false; + if (!getCustomTargetType().equals(other.getCustomTargetType())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,139 +423,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest 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.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `CreateCustomTargetType`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateCustomTargetTypeRequest} */ - 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.cloud.deploy.v1.CreateCustomTargetTypeRequest) com.google.cloud.deploy.v1.CreateCustomTargetTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; } @java.lang.Override @@ -544,8 +598,11 @@ public com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest buildPartial() { - com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest result = new com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest result = + new com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -559,9 +616,8 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequ result.customTargetTypeId_ = customTargetTypeId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.customTargetType_ = customTargetTypeBuilder_ == null - ? customTargetType_ - : customTargetTypeBuilder_.build(); + result.customTargetType_ = + customTargetTypeBuilder_ == null ? customTargetType_ : customTargetTypeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -575,38 +631,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequ 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) { + 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) { + 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.cloud.deploy.v1.CreateCustomTargetTypeRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -614,7 +671,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest other) { - if (other == com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -662,39 +720,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - customTargetTypeId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCustomTargetTypeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + customTargetTypeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getCustomTargetTypeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -704,24 +767,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent collection in which the `CustomTargetType` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -730,22 +798,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `CustomTargetType` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -753,32 +824,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `CustomTargetType` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent collection in which the `CustomTargetType` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -788,19 +870,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent collection in which the `CustomTargetType` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -810,18 +898,20 @@ public Builder setParentBytes( private java.lang.Object customTargetTypeId_ = ""; /** + * + * *
      * Required. ID of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The customTargetTypeId. */ public java.lang.String getCustomTargetTypeId() { java.lang.Object ref = customTargetTypeId_; 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(); customTargetTypeId_ = s; return s; @@ -830,20 +920,21 @@ public java.lang.String getCustomTargetTypeId() { } } /** + * + * *
      * Required. ID of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for customTargetTypeId. */ - public com.google.protobuf.ByteString - getCustomTargetTypeIdBytes() { + public com.google.protobuf.ByteString getCustomTargetTypeIdBytes() { java.lang.Object ref = customTargetTypeId_; 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); customTargetTypeId_ = b; return b; } else { @@ -851,28 +942,35 @@ public java.lang.String getCustomTargetTypeId() { } } /** + * + * *
      * Required. ID of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The customTargetTypeId to set. * @return This builder for chaining. */ - public Builder setCustomTargetTypeId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomTargetTypeId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customTargetTypeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCustomTargetTypeId() { @@ -882,17 +980,21 @@ public Builder clearCustomTargetTypeId() { return this; } /** + * + * *
      * Required. ID of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for customTargetTypeId to set. * @return This builder for chaining. */ - public Builder setCustomTargetTypeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomTargetTypeIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customTargetTypeId_ = value; bitField0_ |= 0x00000002; @@ -902,39 +1004,58 @@ public Builder setCustomTargetTypeIdBytes( private com.google.cloud.deploy.v1.CustomTargetType customTargetType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> customTargetTypeBuilder_; + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + customTargetTypeBuilder_; /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customTargetType field is set. */ public boolean hasCustomTargetType() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customTargetType. */ public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType() { if (customTargetTypeBuilder_ == null) { - return customTargetType_ == null ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } else { return customTargetTypeBuilder_.getMessage(); } } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType value) { if (customTargetTypeBuilder_ == null) { @@ -950,11 +1071,15 @@ public Builder setCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType v return this; } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomTargetType( com.google.cloud.deploy.v1.CustomTargetType.Builder builderForValue) { @@ -968,17 +1093,22 @@ public Builder setCustomTargetType( return this; } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType value) { if (customTargetTypeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - customTargetType_ != null && - customTargetType_ != com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && customTargetType_ != null + && customTargetType_ + != com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()) { getCustomTargetTypeBuilder().mergeFrom(value); } else { customTargetType_ = value; @@ -991,11 +1121,15 @@ public Builder mergeCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType return this; } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomTargetType() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1008,11 +1142,15 @@ public Builder clearCustomTargetType() { return this; } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.CustomTargetType.Builder getCustomTargetTypeBuilder() { bitField0_ |= 0x00000004; @@ -1020,36 +1158,48 @@ public com.google.cloud.deploy.v1.CustomTargetType.Builder getCustomTargetTypeBu return getCustomTargetTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeOrBuilder() { if (customTargetTypeBuilder_ != null) { return customTargetTypeBuilder_.getMessageOrBuilder(); } else { - return customTargetType_ == null ? - com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } } /** + * + * *
      * Required. The `CustomTargetType` to create.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> getCustomTargetTypeFieldBuilder() { if (customTargetTypeBuilder_ == null) { - customTargetTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( - getCustomTargetType(), - getParentForChildren(), - isClean()); + customTargetTypeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( + getCustomTargetType(), getParentForChildren(), isClean()); customTargetType_ = null; } return customTargetTypeBuilder_; @@ -1057,6 +1207,8 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeO private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1074,13 +1226,13 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeO
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1089,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1106,15 +1260,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1122,6 +1275,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1139,18 +1294,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1168,6 +1327,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1177,6 +1337,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1194,12 +1356,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1207,14 +1371,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1222,12 +1389,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1239,12 +1409,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1253,9 +1426,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateCustomTargetTypeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateCustomTargetTypeRequest) private static final com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest(); } @@ -1279,27 +1452,27 @@ public static com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomTargetTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomTargetTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,6 +1487,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequestOrBuilder.java index e20fef8b3beb..3a67e7a8759e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateCustomTargetTypeRequestOrBuilder.java @@ -1,84 +1,130 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CreateCustomTargetTypeRequestOrBuilder extends +public interface CreateCustomTargetTypeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateCustomTargetTypeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent collection in which the `CustomTargetType` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent collection in which the `CustomTargetType` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. ID of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The customTargetTypeId. */ java.lang.String getCustomTargetTypeId(); /** + * + * *
    * Required. ID of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for customTargetTypeId. */ - com.google.protobuf.ByteString - getCustomTargetTypeIdBytes(); + com.google.protobuf.ByteString getCustomTargetTypeIdBytes(); /** + * + * *
    * Required. The `CustomTargetType` to create.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customTargetType field is set. */ boolean hasCustomTargetType(); /** + * + * *
    * Required. The `CustomTargetType` to create.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customTargetType. */ com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType(); /** + * + * *
    * Required. The `CustomTargetType` to create.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -96,10 +142,13 @@ public interface CreateCustomTargetTypeRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -117,18 +166,21 @@ public interface CreateCustomTargetTypeRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java index f51fe76a8fc2..d04079c9473f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `CreateDeliveryPipeline`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateDeliveryPipelineRequest} */ -public final class CreateDeliveryPipelineRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDeliveryPipelineRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateDeliveryPipelineRequest) CreateDeliveryPipelineRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDeliveryPipelineRequest.newBuilder() to construct. private CreateDeliveryPipelineRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDeliveryPipelineRequest() { parent_ = ""; deliveryPipelineId_ = ""; @@ -27,35 +45,42 @@ private CreateDeliveryPipelineRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDeliveryPipelineRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent collection in which the `DeliveryPipeline` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent collection in which the `DeliveryPipeline` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -97,14 +124,18 @@ public java.lang.String getParent() { } public static final int DELIVERY_PIPELINE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object deliveryPipelineId_ = ""; /** + * + * *
    * Required. ID of the `DeliveryPipeline`.
    * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deliveryPipelineId. */ @java.lang.Override @@ -113,29 +144,29 @@ public java.lang.String getDeliveryPipelineId() { 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(); deliveryPipelineId_ = s; return s; } } /** + * + * *
    * Required. ID of the `DeliveryPipeline`.
    * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deliveryPipelineId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeliveryPipelineIdBytes() { + public com.google.protobuf.ByteString getDeliveryPipelineIdBytes() { java.lang.Object ref = deliveryPipelineId_; 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); deliveryPipelineId_ = b; return b; } else { @@ -146,11 +177,16 @@ public java.lang.String getDeliveryPipelineId() { public static final int DELIVERY_PIPELINE_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.DeliveryPipeline deliveryPipeline_; /** + * + * *
    * Required. The `DeliveryPipeline` to create.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deliveryPipeline field is set. */ @java.lang.Override @@ -158,33 +194,49 @@ public boolean hasDeliveryPipeline() { return deliveryPipeline_ != null; } /** + * + * *
    * Required. The `DeliveryPipeline` to create.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deliveryPipeline. */ @java.lang.Override public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline() { - return deliveryPipeline_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } /** + * + * *
    * Required. The `DeliveryPipeline` to create.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineOrBuilder() { - return deliveryPipeline_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -202,6 +254,7 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -210,14 +263,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -235,16 +289,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -255,12 +308,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -269,6 +325,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +337,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -313,15 +369,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPipelineId_); } if (deliveryPipeline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDeliveryPipeline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeliveryPipeline()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,26 +385,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.cloud.deploy.v1.CreateDeliveryPipelineRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest other = (com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest) obj; + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest other = + (com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDeliveryPipelineId() - .equals(other.getDeliveryPipelineId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDeliveryPipelineId().equals(other.getDeliveryPipelineId())) return false; if (hasDeliveryPipeline() != other.hasDeliveryPipeline()) return false; if (hasDeliveryPipeline()) { - if (!getDeliveryPipeline() - .equals(other.getDeliveryPipeline())) return false; + if (!getDeliveryPipeline().equals(other.getDeliveryPipeline())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,139 +423,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest 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.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `CreateDeliveryPipeline`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateDeliveryPipelineRequest} */ - 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.cloud.deploy.v1.CreateDeliveryPipelineRequest) com.google.cloud.deploy.v1.CreateDeliveryPipelineRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; } @java.lang.Override @@ -544,8 +598,11 @@ public com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest buildPartial() { - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest result = + new com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -559,9 +616,8 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequ result.deliveryPipelineId_ = deliveryPipelineId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.deliveryPipeline_ = deliveryPipelineBuilder_ == null - ? deliveryPipeline_ - : deliveryPipelineBuilder_.build(); + result.deliveryPipeline_ = + deliveryPipelineBuilder_ == null ? deliveryPipeline_ : deliveryPipelineBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -575,38 +631,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequ 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) { + 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) { + 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.cloud.deploy.v1.CreateDeliveryPipelineRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest) other); } else { super.mergeFrom(other); return this; @@ -614,7 +671,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest other) { - if (other == com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -662,39 +720,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - deliveryPipelineId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getDeliveryPipelineFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + deliveryPipelineId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getDeliveryPipelineFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -704,24 +767,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent collection in which the `DeliveryPipeline` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -730,22 +798,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `DeliveryPipeline` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -753,32 +824,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `DeliveryPipeline` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent collection in which the `DeliveryPipeline` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -788,19 +870,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent collection in which the `DeliveryPipeline` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -810,18 +898,20 @@ public Builder setParentBytes( private java.lang.Object deliveryPipelineId_ = ""; /** + * + * *
      * Required. ID of the `DeliveryPipeline`.
      * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deliveryPipelineId. */ public java.lang.String getDeliveryPipelineId() { java.lang.Object ref = deliveryPipelineId_; 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(); deliveryPipelineId_ = s; return s; @@ -830,20 +920,21 @@ public java.lang.String getDeliveryPipelineId() { } } /** + * + * *
      * Required. ID of the `DeliveryPipeline`.
      * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deliveryPipelineId. */ - public com.google.protobuf.ByteString - getDeliveryPipelineIdBytes() { + public com.google.protobuf.ByteString getDeliveryPipelineIdBytes() { java.lang.Object ref = deliveryPipelineId_; 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); deliveryPipelineId_ = b; return b; } else { @@ -851,28 +942,35 @@ public java.lang.String getDeliveryPipelineId() { } } /** + * + * *
      * Required. ID of the `DeliveryPipeline`.
      * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The deliveryPipelineId to set. * @return This builder for chaining. */ - public Builder setDeliveryPipelineId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeliveryPipelineId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deliveryPipelineId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the `DeliveryPipeline`.
      * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDeliveryPipelineId() { @@ -882,17 +980,21 @@ public Builder clearDeliveryPipelineId() { return this; } /** + * + * *
      * Required. ID of the `DeliveryPipeline`.
      * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for deliveryPipelineId to set. * @return This builder for chaining. */ - public Builder setDeliveryPipelineIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeliveryPipelineIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deliveryPipelineId_ = value; bitField0_ |= 0x00000002; @@ -902,39 +1004,58 @@ public Builder setDeliveryPipelineIdBytes( private com.google.cloud.deploy.v1.DeliveryPipeline deliveryPipeline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> deliveryPipelineBuilder_; + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + deliveryPipelineBuilder_; /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deliveryPipeline field is set. */ public boolean hasDeliveryPipeline() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deliveryPipeline. */ public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline() { if (deliveryPipelineBuilder_ == null) { - return deliveryPipeline_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } else { return deliveryPipelineBuilder_.getMessage(); } } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline value) { if (deliveryPipelineBuilder_ == null) { @@ -950,11 +1071,15 @@ public Builder setDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline v return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeliveryPipeline( com.google.cloud.deploy.v1.DeliveryPipeline.Builder builderForValue) { @@ -968,17 +1093,22 @@ public Builder setDeliveryPipeline( return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline value) { if (deliveryPipelineBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - deliveryPipeline_ != null && - deliveryPipeline_ != com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && deliveryPipeline_ != null + && deliveryPipeline_ + != com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()) { getDeliveryPipelineBuilder().mergeFrom(value); } else { deliveryPipeline_ = value; @@ -991,11 +1121,15 @@ public Builder mergeDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDeliveryPipeline() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1008,11 +1142,15 @@ public Builder clearDeliveryPipeline() { return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelineBuilder() { bitField0_ |= 0x00000004; @@ -1020,36 +1158,48 @@ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelineBu return getDeliveryPipelineFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineOrBuilder() { if (deliveryPipelineBuilder_ != null) { return deliveryPipelineBuilder_.getMessageOrBuilder(); } else { - return deliveryPipeline_ == null ? - com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } } /** + * + * *
      * Required. The `DeliveryPipeline` to create.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> getDeliveryPipelineFieldBuilder() { if (deliveryPipelineBuilder_ == null) { - deliveryPipelineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( - getDeliveryPipeline(), - getParentForChildren(), - isClean()); + deliveryPipelineBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( + getDeliveryPipeline(), getParentForChildren(), isClean()); deliveryPipeline_ = null; } return deliveryPipelineBuilder_; @@ -1057,6 +1207,8 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1074,13 +1226,13 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1089,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1106,15 +1260,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1122,6 +1275,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1139,18 +1294,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1168,6 +1327,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1177,6 +1337,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1194,12 +1356,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1207,14 +1371,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1222,12 +1389,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1239,12 +1409,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1253,9 +1426,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateDeliveryPipelineRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateDeliveryPipelineRequest) private static final com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest(); } @@ -1279,27 +1452,27 @@ public static com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDeliveryPipelineRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDeliveryPipelineRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,6 +1487,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java index 34d063f4ce95..090e8dfbfe52 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java @@ -1,84 +1,130 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CreateDeliveryPipelineRequestOrBuilder extends +public interface CreateDeliveryPipelineRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateDeliveryPipelineRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent collection in which the `DeliveryPipeline` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent collection in which the `DeliveryPipeline` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. ID of the `DeliveryPipeline`.
    * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deliveryPipelineId. */ java.lang.String getDeliveryPipelineId(); /** + * + * *
    * Required. ID of the `DeliveryPipeline`.
    * 
* * string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deliveryPipelineId. */ - com.google.protobuf.ByteString - getDeliveryPipelineIdBytes(); + com.google.protobuf.ByteString getDeliveryPipelineIdBytes(); /** + * + * *
    * Required. The `DeliveryPipeline` to create.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deliveryPipeline field is set. */ boolean hasDeliveryPipeline(); /** + * + * *
    * Required. The `DeliveryPipeline` to create.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deliveryPipeline. */ com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline(); /** + * + * *
    * Required. The `DeliveryPipeline` to create.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -96,10 +142,13 @@ public interface CreateDeliveryPipelineRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -117,18 +166,21 @@ public interface CreateDeliveryPipelineRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java index 815b36aa3bc0..03a6fff7e585 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `CreateRelease`,
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateReleaseRequest} */ -public final class CreateReleaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateReleaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateReleaseRequest) CreateReleaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateReleaseRequest.newBuilder() to construct. private CreateReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateReleaseRequest() { parent_ = ""; releaseId_ = ""; @@ -27,35 +45,42 @@ private CreateReleaseRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateReleaseRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateReleaseRequest.class, com.google.cloud.deploy.v1.CreateReleaseRequest.Builder.class); + com.google.cloud.deploy.v1.CreateReleaseRequest.class, + com.google.cloud.deploy.v1.CreateReleaseRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent collection in which the `Release` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent collection in which the `Release` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -97,14 +124,18 @@ public java.lang.String getParent() { } public static final int RELEASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object releaseId_ = ""; /** + * + * *
    * Required. ID of the `Release`.
    * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The releaseId. */ @java.lang.Override @@ -113,29 +144,29 @@ public java.lang.String getReleaseId() { 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(); releaseId_ = s; return s; } } /** + * + * *
    * Required. ID of the `Release`.
    * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for releaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseIdBytes() { + public com.google.protobuf.ByteString getReleaseIdBytes() { java.lang.Object ref = releaseId_; 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); releaseId_ = b; return b; } else { @@ -146,11 +177,15 @@ public java.lang.String getReleaseId() { public static final int RELEASE_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.Release release_; /** + * + * *
    * Required. The `Release` to create.
    * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the release field is set. */ @java.lang.Override @@ -158,11 +193,15 @@ public boolean hasRelease() { return release_ != null; } /** + * + * *
    * Required. The `Release` to create.
    * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The release. */ @java.lang.Override @@ -170,11 +209,14 @@ public com.google.cloud.deploy.v1.Release getRelease() { return release_ == null ? com.google.cloud.deploy.v1.Release.getDefaultInstance() : release_; } /** + * + * *
    * Required. The `Release` to create.
    * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() { @@ -182,9 +224,12 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -202,6 +247,7 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -210,14 +256,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -235,16 +282,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -255,12 +301,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -269,6 +318,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +330,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -313,15 +362,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, releaseId_); } if (release_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRelease()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRelease()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,26 +378,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.cloud.deploy.v1.CreateReleaseRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateReleaseRequest other = (com.google.cloud.deploy.v1.CreateReleaseRequest) obj; + com.google.cloud.deploy.v1.CreateReleaseRequest other = + (com.google.cloud.deploy.v1.CreateReleaseRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getReleaseId() - .equals(other.getReleaseId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getReleaseId().equals(other.getReleaseId())) return false; if (hasRelease() != other.hasRelease()) return false; if (hasRelease()) { - if (!getRelease() - .equals(other.getRelease())) return false; + if (!getRelease().equals(other.getRelease())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,139 +416,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateReleaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateReleaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateReleaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CreateReleaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `CreateRelease`,
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateReleaseRequest} */ - 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.cloud.deploy.v1.CreateReleaseRequest) com.google.cloud.deploy.v1.CreateReleaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateReleaseRequest.class, com.google.cloud.deploy.v1.CreateReleaseRequest.Builder.class); + com.google.cloud.deploy.v1.CreateReleaseRequest.class, + com.google.cloud.deploy.v1.CreateReleaseRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CreateReleaseRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; } @java.lang.Override @@ -544,8 +590,11 @@ public com.google.cloud.deploy.v1.CreateReleaseRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CreateReleaseRequest buildPartial() { - com.google.cloud.deploy.v1.CreateReleaseRequest result = new com.google.cloud.deploy.v1.CreateReleaseRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CreateReleaseRequest result = + new com.google.cloud.deploy.v1.CreateReleaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -559,9 +608,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateReleaseRequest resul result.releaseId_ = releaseId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.release_ = releaseBuilder_ == null - ? release_ - : releaseBuilder_.build(); + result.release_ = releaseBuilder_ == null ? release_ : releaseBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -575,38 +622,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateReleaseRequest resul 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) { + 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) { + 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.cloud.deploy.v1.CreateReleaseRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CreateReleaseRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CreateReleaseRequest) other); } else { super.mergeFrom(other); return this; @@ -614,7 +662,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CreateReleaseRequest other) { - if (other == com.google.cloud.deploy.v1.CreateReleaseRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CreateReleaseRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -662,39 +711,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - releaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getReleaseFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + releaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getReleaseFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -704,24 +757,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent collection in which the `Release` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -730,22 +788,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Release` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -753,32 +814,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Release` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent collection in which the `Release` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -788,19 +860,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent collection in which the `Release` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -810,18 +888,20 @@ public Builder setParentBytes( private java.lang.Object releaseId_ = ""; /** + * + * *
      * Required. ID of the `Release`.
      * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The releaseId. */ public java.lang.String getReleaseId() { java.lang.Object ref = releaseId_; 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(); releaseId_ = s; return s; @@ -830,20 +910,21 @@ public java.lang.String getReleaseId() { } } /** + * + * *
      * Required. ID of the `Release`.
      * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for releaseId. */ - public com.google.protobuf.ByteString - getReleaseIdBytes() { + public com.google.protobuf.ByteString getReleaseIdBytes() { java.lang.Object ref = releaseId_; 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); releaseId_ = b; return b; } else { @@ -851,28 +932,35 @@ public java.lang.String getReleaseId() { } } /** + * + * *
      * Required. ID of the `Release`.
      * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The releaseId to set. * @return This builder for chaining. */ - public Builder setReleaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } releaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the `Release`.
      * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearReleaseId() { @@ -882,17 +970,21 @@ public Builder clearReleaseId() { return this; } /** + * + * *
      * Required. ID of the `Release`.
      * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for releaseId to set. * @return This builder for chaining. */ - public Builder setReleaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); releaseId_ = value; bitField0_ |= 0x00000002; @@ -902,39 +994,55 @@ public Builder setReleaseIdBytes( private com.google.cloud.deploy.v1.Release release_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release, com.google.cloud.deploy.v1.Release.Builder, com.google.cloud.deploy.v1.ReleaseOrBuilder> releaseBuilder_; + com.google.cloud.deploy.v1.Release, + com.google.cloud.deploy.v1.Release.Builder, + com.google.cloud.deploy.v1.ReleaseOrBuilder> + releaseBuilder_; /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the release field is set. */ public boolean hasRelease() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The release. */ public com.google.cloud.deploy.v1.Release getRelease() { if (releaseBuilder_ == null) { - return release_ == null ? com.google.cloud.deploy.v1.Release.getDefaultInstance() : release_; + return release_ == null + ? com.google.cloud.deploy.v1.Release.getDefaultInstance() + : release_; } else { return releaseBuilder_.getMessage(); } } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRelease(com.google.cloud.deploy.v1.Release value) { if (releaseBuilder_ == null) { @@ -950,14 +1058,16 @@ public Builder setRelease(com.google.cloud.deploy.v1.Release value) { return this; } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRelease( - com.google.cloud.deploy.v1.Release.Builder builderForValue) { + public Builder setRelease(com.google.cloud.deploy.v1.Release.Builder builderForValue) { if (releaseBuilder_ == null) { release_ = builderForValue.build(); } else { @@ -968,17 +1078,20 @@ public Builder setRelease( return this; } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRelease(com.google.cloud.deploy.v1.Release value) { if (releaseBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - release_ != null && - release_ != com.google.cloud.deploy.v1.Release.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && release_ != null + && release_ != com.google.cloud.deploy.v1.Release.getDefaultInstance()) { getReleaseBuilder().mergeFrom(value); } else { release_ = value; @@ -991,11 +1104,14 @@ public Builder mergeRelease(com.google.cloud.deploy.v1.Release value) { return this; } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRelease() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1008,11 +1124,14 @@ public Builder clearRelease() { return this; } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.Release.Builder getReleaseBuilder() { bitField0_ |= 0x00000004; @@ -1020,36 +1139,46 @@ public com.google.cloud.deploy.v1.Release.Builder getReleaseBuilder() { return getReleaseFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() { if (releaseBuilder_ != null) { return releaseBuilder_.getMessageOrBuilder(); } else { - return release_ == null ? - com.google.cloud.deploy.v1.Release.getDefaultInstance() : release_; + return release_ == null + ? com.google.cloud.deploy.v1.Release.getDefaultInstance() + : release_; } } /** + * + * *
      * Required. The `Release` to create.
      * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release, com.google.cloud.deploy.v1.Release.Builder, com.google.cloud.deploy.v1.ReleaseOrBuilder> + com.google.cloud.deploy.v1.Release, + com.google.cloud.deploy.v1.Release.Builder, + com.google.cloud.deploy.v1.ReleaseOrBuilder> getReleaseFieldBuilder() { if (releaseBuilder_ == null) { - releaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release, com.google.cloud.deploy.v1.Release.Builder, com.google.cloud.deploy.v1.ReleaseOrBuilder>( - getRelease(), - getParentForChildren(), - isClean()); + releaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Release, + com.google.cloud.deploy.v1.Release.Builder, + com.google.cloud.deploy.v1.ReleaseOrBuilder>( + getRelease(), getParentForChildren(), isClean()); release_ = null; } return releaseBuilder_; @@ -1057,6 +1186,8 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1074,13 +1205,13 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1089,6 +1220,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1106,15 +1239,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1122,6 +1254,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1139,18 +1273,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1168,6 +1306,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1177,6 +1316,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1194,12 +1335,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1207,14 +1350,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1222,12 +1368,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1239,12 +1388,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1253,9 +1405,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateReleaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateReleaseRequest) private static final com.google.cloud.deploy.v1.CreateReleaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateReleaseRequest(); } @@ -1279,27 +1431,27 @@ public static com.google.cloud.deploy.v1.CreateReleaseRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReleaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReleaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,6 +1466,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateReleaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java index a4df2debd5fd..b88cda6dd8c5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java @@ -1,84 +1,127 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CreateReleaseRequestOrBuilder extends +public interface CreateReleaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateReleaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent collection in which the `Release` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent collection in which the `Release` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. ID of the `Release`.
    * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The releaseId. */ java.lang.String getReleaseId(); /** + * + * *
    * Required. ID of the `Release`.
    * 
* * string release_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for releaseId. */ - com.google.protobuf.ByteString - getReleaseIdBytes(); + com.google.protobuf.ByteString getReleaseIdBytes(); /** + * + * *
    * Required. The `Release` to create.
    * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the release field is set. */ boolean hasRelease(); /** + * + * *
    * Required. The `Release` to create.
    * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The release. */ com.google.cloud.deploy.v1.Release getRelease(); /** + * + * *
    * Required. The `Release` to create.
    * 
* - * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Release release = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -96,10 +139,13 @@ public interface CreateReleaseRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -117,18 +163,21 @@ public interface CreateReleaseRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java similarity index 73% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java index 0d33e9b61f24..c1d3f0b45e3b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CreateRolloutRequest is the request object used by `CreateRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateRolloutRequest} */ -public final class CreateRolloutRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRolloutRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateRolloutRequest) CreateRolloutRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRolloutRequest.newBuilder() to construct. private CreateRolloutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRolloutRequest() { parent_ = ""; rolloutId_ = ""; @@ -28,35 +46,42 @@ private CreateRolloutRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRolloutRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateRolloutRequest.class, com.google.cloud.deploy.v1.CreateRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.CreateRolloutRequest.class, + com.google.cloud.deploy.v1.CreateRolloutRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent collection in which the `Rollout` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent collection in which the `Rollout` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -98,14 +125,18 @@ public java.lang.String getParent() { } public static final int ROLLOUT_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutId_ = ""; /** + * + * *
    * Required. ID of the `Rollout`.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rolloutId. */ @java.lang.Override @@ -114,29 +145,29 @@ public java.lang.String getRolloutId() { 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(); rolloutId_ = s; return s; } } /** + * + * *
    * Required. ID of the `Rollout`.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rolloutId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutIdBytes() { + public com.google.protobuf.ByteString getRolloutIdBytes() { java.lang.Object ref = rolloutId_; 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); rolloutId_ = b; return b; } else { @@ -147,11 +178,15 @@ public java.lang.String getRolloutId() { public static final int ROLLOUT_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.Rollout rollout_; /** + * + * *
    * Required. The `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -159,11 +194,15 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
    * Required. The `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ @java.lang.Override @@ -171,11 +210,14 @@ public com.google.cloud.deploy.v1.Rollout getRollout() { return rollout_ == null ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() : rollout_; } /** + * + * *
    * Required. The `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { @@ -183,9 +225,12 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -203,6 +248,7 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -211,14 +257,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -236,16 +283,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -256,12 +302,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -270,15 +319,19 @@ public boolean getValidateOnly() { } public static final int STARTING_PHASE_ID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object startingPhaseId_ = ""; /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
    * will start at the first phase.
    * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The startingPhaseId. */ @java.lang.Override @@ -287,30 +340,30 @@ public java.lang.String getStartingPhaseId() { 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(); startingPhaseId_ = s; return s; } } /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
    * will start at the first phase.
    * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for startingPhaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartingPhaseIdBytes() { + public com.google.protobuf.ByteString getStartingPhaseIdBytes() { java.lang.Object ref = startingPhaseId_; 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); startingPhaseId_ = b; return b; } else { @@ -319,6 +372,7 @@ public java.lang.String getStartingPhaseId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,8 +384,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -366,15 +419,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rolloutId_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRollout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startingPhaseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, startingPhaseId_); @@ -387,28 +438,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.cloud.deploy.v1.CreateRolloutRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateRolloutRequest other = (com.google.cloud.deploy.v1.CreateRolloutRequest) obj; + com.google.cloud.deploy.v1.CreateRolloutRequest other = + (com.google.cloud.deploy.v1.CreateRolloutRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRolloutId() - .equals(other.getRolloutId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRolloutId().equals(other.getRolloutId())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getStartingPhaseId() - .equals(other.getStartingPhaseId())) return false; + if (!getRollout().equals(other.getRollout())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getStartingPhaseId().equals(other.getStartingPhaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -431,8 +477,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + STARTING_PHASE_ID_FIELD_NUMBER; hash = (53 * hash) + getStartingPhaseId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -440,132 +485,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateRolloutRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateRolloutRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateRolloutRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CreateRolloutRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CreateRolloutRequest is the request object used by `CreateRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateRolloutRequest} */ - 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.cloud.deploy.v1.CreateRolloutRequest) com.google.cloud.deploy.v1.CreateRolloutRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateRolloutRequest.class, com.google.cloud.deploy.v1.CreateRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.CreateRolloutRequest.class, + com.google.cloud.deploy.v1.CreateRolloutRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CreateRolloutRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -584,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; } @java.lang.Override @@ -605,8 +654,11 @@ public com.google.cloud.deploy.v1.CreateRolloutRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CreateRolloutRequest buildPartial() { - com.google.cloud.deploy.v1.CreateRolloutRequest result = new com.google.cloud.deploy.v1.CreateRolloutRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CreateRolloutRequest result = + new com.google.cloud.deploy.v1.CreateRolloutRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -620,9 +672,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateRolloutRequest resul result.rolloutId_ = rolloutId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.rollout_ = rolloutBuilder_ == null - ? rollout_ - : rolloutBuilder_.build(); + result.rollout_ = rolloutBuilder_ == null ? rollout_ : rolloutBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -639,38 +689,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateRolloutRequest resul 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) { + 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) { + 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.cloud.deploy.v1.CreateRolloutRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CreateRolloutRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CreateRolloutRequest) other); } else { super.mergeFrom(other); return this; @@ -678,7 +729,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.CreateRolloutRequest other) { - if (other == com.google.cloud.deploy.v1.CreateRolloutRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.CreateRolloutRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -731,44 +783,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - rolloutId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRolloutFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 58: { - startingPhaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + rolloutId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRolloutFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 58: + { + startingPhaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -778,24 +835,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent collection in which the `Rollout` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -804,22 +866,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Rollout` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -827,32 +892,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Rollout` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent collection in which the `Rollout` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -862,19 +938,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent collection in which the `Rollout` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -884,18 +966,20 @@ public Builder setParentBytes( private java.lang.Object rolloutId_ = ""; /** + * + * *
      * Required. ID of the `Rollout`.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rolloutId. */ public java.lang.String getRolloutId() { java.lang.Object ref = rolloutId_; 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(); rolloutId_ = s; return s; @@ -904,20 +988,21 @@ public java.lang.String getRolloutId() { } } /** + * + * *
      * Required. ID of the `Rollout`.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rolloutId. */ - public com.google.protobuf.ByteString - getRolloutIdBytes() { + public com.google.protobuf.ByteString getRolloutIdBytes() { java.lang.Object ref = rolloutId_; 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); rolloutId_ = b; return b; } else { @@ -925,28 +1010,35 @@ public java.lang.String getRolloutId() { } } /** + * + * *
      * Required. ID of the `Rollout`.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the `Rollout`.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRolloutId() { @@ -956,17 +1048,21 @@ public Builder clearRolloutId() { return this; } /** + * + * *
      * Required. ID of the `Rollout`.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutId_ = value; bitField0_ |= 0x00000002; @@ -976,39 +1072,55 @@ public Builder setRolloutIdBytes( private com.google.cloud.deploy.v1.Rollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder> rolloutBuilder_; + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder> + rolloutBuilder_; /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ public com.google.cloud.deploy.v1.Rollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollout(com.google.cloud.deploy.v1.Rollout value) { if (rolloutBuilder_ == null) { @@ -1024,14 +1136,16 @@ public Builder setRollout(com.google.cloud.deploy.v1.Rollout value) { return this; } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRollout( - com.google.cloud.deploy.v1.Rollout.Builder builderForValue) { + public Builder setRollout(com.google.cloud.deploy.v1.Rollout.Builder builderForValue) { if (rolloutBuilder_ == null) { rollout_ = builderForValue.build(); } else { @@ -1042,17 +1156,20 @@ public Builder setRollout( return this; } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRollout(com.google.cloud.deploy.v1.Rollout value) { if (rolloutBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - rollout_ != null && - rollout_ != com.google.cloud.deploy.v1.Rollout.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && rollout_ != null + && rollout_ != com.google.cloud.deploy.v1.Rollout.getDefaultInstance()) { getRolloutBuilder().mergeFrom(value); } else { rollout_ = value; @@ -1065,11 +1182,14 @@ public Builder mergeRollout(com.google.cloud.deploy.v1.Rollout value) { return this; } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRollout() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1082,11 +1202,14 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.Rollout.Builder getRolloutBuilder() { bitField0_ |= 0x00000004; @@ -1094,36 +1217,46 @@ public com.google.cloud.deploy.v1.Rollout.Builder getRolloutBuilder() { return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.deploy.v1.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() + : rollout_; } } /** + * + * *
      * Required. The `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder> + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; @@ -1131,6 +1264,8 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1148,13 +1283,13 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1163,6 +1298,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1180,15 +1317,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1196,6 +1332,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1213,18 +1351,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1242,6 +1384,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1251,6 +1394,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1268,12 +1413,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1281,14 +1428,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1296,12 +1446,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1313,12 +1466,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1330,19 +1486,21 @@ public Builder clearValidateOnly() { private java.lang.Object startingPhaseId_ = ""; /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
      * will start at the first phase.
      * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The startingPhaseId. */ public java.lang.String getStartingPhaseId() { java.lang.Object ref = startingPhaseId_; 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(); startingPhaseId_ = s; return s; @@ -1351,21 +1509,22 @@ public java.lang.String getStartingPhaseId() { } } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
      * will start at the first phase.
      * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for startingPhaseId. */ - public com.google.protobuf.ByteString - getStartingPhaseIdBytes() { + public com.google.protobuf.ByteString getStartingPhaseIdBytes() { java.lang.Object ref = startingPhaseId_; 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); startingPhaseId_ = b; return b; } else { @@ -1373,30 +1532,37 @@ public java.lang.String getStartingPhaseId() { } } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
      * will start at the first phase.
      * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The startingPhaseId to set. * @return This builder for chaining. */ - public Builder setStartingPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartingPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } startingPhaseId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
      * will start at the first phase.
      * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStartingPhaseId() { @@ -1406,27 +1572,31 @@ public Builder clearStartingPhaseId() { return this; } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
      * will start at the first phase.
      * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for startingPhaseId to set. * @return This builder for chaining. */ - public Builder setStartingPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartingPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); startingPhaseId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1436,12 +1606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateRolloutRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateRolloutRequest) private static final com.google.cloud.deploy.v1.CreateRolloutRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateRolloutRequest(); } @@ -1450,27 +1620,27 @@ public static com.google.cloud.deploy.v1.CreateRolloutRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRolloutRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRolloutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1485,6 +1655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java index cceea2fdf791..2902b00e1a72 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java @@ -1,84 +1,127 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CreateRolloutRequestOrBuilder extends +public interface CreateRolloutRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateRolloutRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent collection in which the `Rollout` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent collection in which the `Rollout` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. ID of the `Rollout`.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rolloutId. */ java.lang.String getRolloutId(); /** + * + * *
    * Required. ID of the `Rollout`.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rolloutId. */ - com.google.protobuf.ByteString - getRolloutIdBytes(); + com.google.protobuf.ByteString getRolloutIdBytes(); /** + * + * *
    * Required. The `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
    * Required. The `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ com.google.cloud.deploy.v1.Rollout getRollout(); /** + * + * *
    * Required. The `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Rollout rollout = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -96,10 +139,13 @@ public interface CreateRolloutRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -117,41 +163,49 @@ public interface CreateRolloutRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
    * will start at the first phase.
    * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The startingPhaseId. */ java.lang.String getStartingPhaseId(); /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
    * will start at the first phase.
    * 
* * string starting_phase_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for startingPhaseId. */ - com.google.protobuf.ByteString - getStartingPhaseIdBytes(); + com.google.protobuf.ByteString getStartingPhaseIdBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java index 40441dc4c690..1cb2c9a5a1a1 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `CreateTarget`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateTargetRequest} */ -public final class CreateTargetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTargetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CreateTargetRequest) CreateTargetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTargetRequest.newBuilder() to construct. private CreateTargetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTargetRequest() { parent_ = ""; targetId_ = ""; @@ -27,35 +45,42 @@ private CreateTargetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTargetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateTargetRequest.class, com.google.cloud.deploy.v1.CreateTargetRequest.Builder.class); + com.google.cloud.deploy.v1.CreateTargetRequest.class, + com.google.cloud.deploy.v1.CreateTargetRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent collection in which the `Target` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,31 +89,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent collection in which the `Target` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -97,14 +124,18 @@ public java.lang.String getParent() { } public static final int TARGET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * Required. ID of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ @java.lang.Override @@ -113,29 +144,29 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * Required. ID of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -146,11 +177,15 @@ public java.lang.String getTargetId() { public static final int TARGET_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.Target target_; /** + * + * *
    * Required. The `Target` to create.
    * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the target field is set. */ @java.lang.Override @@ -158,11 +193,15 @@ public boolean hasTarget() { return target_ != null; } /** + * + * *
    * Required. The `Target` to create.
    * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The target. */ @java.lang.Override @@ -170,11 +209,14 @@ public com.google.cloud.deploy.v1.Target getTarget() { return target_ == null ? com.google.cloud.deploy.v1.Target.getDefaultInstance() : target_; } /** + * + * *
    * Required. The `Target` to create.
    * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { @@ -182,9 +224,12 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -202,6 +247,7 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -210,14 +256,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -235,16 +282,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -255,12 +301,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -269,6 +318,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +330,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -313,15 +362,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetId_); } if (target_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTarget()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,26 +378,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.cloud.deploy.v1.CreateTargetRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CreateTargetRequest other = (com.google.cloud.deploy.v1.CreateTargetRequest) obj; + com.google.cloud.deploy.v1.CreateTargetRequest other = + (com.google.cloud.deploy.v1.CreateTargetRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTargetId() - .equals(other.getTargetId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget() - .equals(other.getTarget())) return false; + if (!getTarget().equals(other.getTarget())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,139 +416,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CreateTargetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CreateTargetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CreateTargetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CreateTargetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CreateTargetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `CreateTarget`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CreateTargetRequest} */ - 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.cloud.deploy.v1.CreateTargetRequest) com.google.cloud.deploy.v1.CreateTargetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CreateTargetRequest.class, com.google.cloud.deploy.v1.CreateTargetRequest.Builder.class); + com.google.cloud.deploy.v1.CreateTargetRequest.class, + com.google.cloud.deploy.v1.CreateTargetRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.CreateTargetRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; } @java.lang.Override @@ -544,8 +590,11 @@ public com.google.cloud.deploy.v1.CreateTargetRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.CreateTargetRequest buildPartial() { - com.google.cloud.deploy.v1.CreateTargetRequest result = new com.google.cloud.deploy.v1.CreateTargetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CreateTargetRequest result = + new com.google.cloud.deploy.v1.CreateTargetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -559,9 +608,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateTargetRequest result result.targetId_ = targetId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.target_ = targetBuilder_ == null - ? target_ - : targetBuilder_.build(); + result.target_ = targetBuilder_ == null ? target_ : targetBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -575,38 +622,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CreateTargetRequest result 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) { + 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) { + 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.cloud.deploy.v1.CreateTargetRequest) { - return mergeFrom((com.google.cloud.deploy.v1.CreateTargetRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.CreateTargetRequest) other); } else { super.mergeFrom(other); return this; @@ -662,39 +710,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - targetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getTargetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + targetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getTargetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -704,24 +756,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent collection in which the `Target` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -730,22 +787,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Target` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -753,32 +813,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent collection in which the `Target` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent collection in which the `Target` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -788,19 +859,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent collection in which the `Target` should be created.
      * Format should be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -810,18 +887,20 @@ public Builder setParentBytes( private java.lang.Object targetId_ = ""; /** + * + * *
      * Required. ID of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -830,20 +909,21 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Required. ID of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -851,28 +931,35 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Required. ID of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -882,17 +969,21 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * Required. ID of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000002; @@ -902,24 +993,35 @@ public Builder setTargetIdBytes( private com.google.cloud.deploy.v1.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> targetBuilder_; + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> + targetBuilder_; /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the target field is set. */ public boolean hasTarget() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The target. */ public com.google.cloud.deploy.v1.Target getTarget() { @@ -930,11 +1032,14 @@ public com.google.cloud.deploy.v1.Target getTarget() { } } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTarget(com.google.cloud.deploy.v1.Target value) { if (targetBuilder_ == null) { @@ -950,14 +1055,16 @@ public Builder setTarget(com.google.cloud.deploy.v1.Target value) { return this; } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTarget( - com.google.cloud.deploy.v1.Target.Builder builderForValue) { + public Builder setTarget(com.google.cloud.deploy.v1.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); } else { @@ -968,17 +1075,20 @@ public Builder setTarget( return this; } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTarget(com.google.cloud.deploy.v1.Target value) { if (targetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - target_ != null && - target_ != com.google.cloud.deploy.v1.Target.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && target_ != null + && target_ != com.google.cloud.deploy.v1.Target.getDefaultInstance()) { getTargetBuilder().mergeFrom(value); } else { target_ = value; @@ -991,11 +1101,14 @@ public Builder mergeTarget(com.google.cloud.deploy.v1.Target value) { return this; } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTarget() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1008,11 +1121,14 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.Target.Builder getTargetBuilder() { bitField0_ |= 0x00000004; @@ -1020,36 +1136,44 @@ public com.google.cloud.deploy.v1.Target.Builder getTargetBuilder() { return getTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null ? - com.google.cloud.deploy.v1.Target.getDefaultInstance() : target_; + return target_ == null ? com.google.cloud.deploy.v1.Target.getDefaultInstance() : target_; } } /** + * + * *
      * Required. The `Target` to create.
      * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder>( - getTarget(), - getParentForChildren(), - isClean()); + targetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder>( + getTarget(), getParentForChildren(), isClean()); target_ = null; } return targetBuilder_; @@ -1057,6 +1181,8 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1074,13 +1200,13 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1089,6 +1215,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1106,15 +1234,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1122,6 +1249,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1139,18 +1268,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1168,6 +1301,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1177,6 +1311,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1194,12 +1330,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1207,14 +1345,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1222,12 +1363,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1239,12 +1383,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1253,9 +1400,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1412,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CreateTargetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CreateTargetRequest) private static final com.google.cloud.deploy.v1.CreateTargetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CreateTargetRequest(); } @@ -1279,27 +1426,27 @@ public static com.google.cloud.deploy.v1.CreateTargetRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTargetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTargetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,6 +1461,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java index 079a769d8e30..c7b15905c5dc 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java @@ -1,84 +1,127 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CreateTargetRequestOrBuilder extends +public interface CreateTargetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateTargetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent collection in which the `Target` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent collection in which the `Target` should be created.
    * Format should be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. ID of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * Required. ID of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Required. The `Target` to create.
    * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the target field is set. */ boolean hasTarget(); /** + * + * *
    * Required. The `Target` to create.
    * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The target. */ com.google.cloud.deploy.v1.Target getTarget(); /** + * + * *
    * Required. The `Target` to create.
    * 
* - * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -96,10 +139,13 @@ public interface CreateTargetRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -117,18 +163,21 @@ public interface CreateTargetRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java index 34efa72098f6..bbee964f7442 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CustomCanaryDeployment represents the custom canary deployment
  * configuration.
@@ -11,44 +28,49 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.CustomCanaryDeployment}
  */
-public final class CustomCanaryDeployment extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CustomCanaryDeployment extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CustomCanaryDeployment)
     CustomCanaryDeploymentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CustomCanaryDeployment.newBuilder() to construct.
   private CustomCanaryDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CustomCanaryDeployment() {
     phaseConfigs_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CustomCanaryDeployment();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.CustomCanaryDeployment.class, com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder.class);
+            com.google.cloud.deploy.v1.CustomCanaryDeployment.class,
+            com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder.class);
   }
 
-  public interface PhaseConfigOrBuilder extends
+  public interface PhaseConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The ID to assign to the `Rollout` phase.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -58,10 +80,13 @@ public interface PhaseConfigOrBuilder extends
      * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ java.lang.String getPhaseId(); /** + * + * *
      * Required. The ID to assign to the `Rollout` phase.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -71,22 +96,27 @@ public interface PhaseConfigOrBuilder extends
      * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + com.google.protobuf.ByteString getPhaseIdBytes(); /** + * + * *
      * Required. Percentage deployment for the phase.
      * 
* * int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The percentage. */ int getPercentage(); /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -94,11 +124,13 @@ public interface PhaseConfigOrBuilder extends
      * 
* * repeated string profiles = 3; + * * @return A list containing the profiles. */ - java.util.List - getProfilesList(); + java.util.List getProfilesList(); /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -106,10 +138,13 @@ public interface PhaseConfigOrBuilder extends
      * 
* * repeated string profiles = 3; + * * @return The count of profiles. */ int getProfilesCount(); /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -117,11 +152,14 @@ public interface PhaseConfigOrBuilder extends
      * 
* * repeated string profiles = 3; + * * @param index The index of the element to return. * @return The profiles at the given index. */ java.lang.String getProfiles(int index); /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -129,83 +167,116 @@ public interface PhaseConfigOrBuilder extends
      * 
* * repeated string profiles = 3; + * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. */ - com.google.protobuf.ByteString - getProfilesBytes(int index); + com.google.protobuf.ByteString getProfilesBytes(int index); /** + * + * *
      * Whether to run verify tests after the deployment.
      * 
* * bool verify = 4; + * * @return The verify. */ boolean getVerify(); /** + * + * *
      * Optional. Configuration for the predeploy job of this phase. If this is
      * not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ boolean hasPredeploy(); /** + * + * *
      * Optional. Configuration for the predeploy job of this phase. If this is
      * not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ com.google.cloud.deploy.v1.Predeploy getPredeploy(); /** + * + * *
      * Optional. Configuration for the predeploy job of this phase. If this is
      * not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder(); /** + * + * *
      * Optional. Configuration for the postdeploy job of this phase. If this is
      * not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ boolean hasPostdeploy(); /** + * + * *
      * Optional. Configuration for the postdeploy job of this phase. If this is
      * not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ com.google.cloud.deploy.v1.Postdeploy getPostdeploy(); /** + * + * *
      * Optional. Configuration for the postdeploy job of this phase. If this is
      * not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder(); } /** + * + * *
    * PhaseConfig represents the configuration for a phase in the custom
    * canary deployment.
@@ -213,45 +284,49 @@ public interface PhaseConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig}
    */
-  public static final class PhaseConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PhaseConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig)
       PhaseConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PhaseConfig.newBuilder() to construct.
     private PhaseConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PhaseConfig() {
       phaseId_ = "";
-      profiles_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      profiles_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PhaseConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.class, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder.class);
+              com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.class,
+              com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder.class);
     }
 
     public static final int PHASE_ID_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object phaseId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ID to assign to the `Rollout` phase.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -261,6 +336,7 @@ protected java.lang.Object newInstance(
      * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ @java.lang.Override @@ -269,14 +345,15 @@ public java.lang.String getPhaseId() { 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(); phaseId_ = s; return s; } } /** + * + * *
      * Required. The ID to assign to the `Rollout` phase.
      * This value must consist of lower-case letters, numbers, and hyphens,
@@ -286,16 +363,15 @@ public java.lang.String getPhaseId() {
      * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -306,11 +382,14 @@ public java.lang.String getPhaseId() { public static final int PERCENTAGE_FIELD_NUMBER = 2; private int percentage_ = 0; /** + * + * *
      * Required. Percentage deployment for the phase.
      * 
* * int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The percentage. */ @java.lang.Override @@ -319,10 +398,13 @@ public int getPercentage() { } public static final int PROFILES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -330,13 +412,15 @@ public int getPercentage() {
      * 
* * repeated string profiles = 3; + * * @return A list containing the profiles. */ - public com.google.protobuf.ProtocolStringList - getProfilesList() { + public com.google.protobuf.ProtocolStringList getProfilesList() { return profiles_; } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -344,12 +428,15 @@ public int getPercentage() {
      * 
* * repeated string profiles = 3; + * * @return The count of profiles. */ public int getProfilesCount() { return profiles_.size(); } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -357,6 +444,7 @@ public int getProfilesCount() {
      * 
* * repeated string profiles = 3; + * * @param index The index of the element to return. * @return The profiles at the given index. */ @@ -364,6 +452,8 @@ public java.lang.String getProfiles(int index) { return profiles_.get(index); } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this phase.
      * These are in addition to the profiles list specified in the
@@ -371,22 +461,25 @@ public java.lang.String getProfiles(int index) {
      * 
* * repeated string profiles = 3; + * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. */ - public com.google.protobuf.ByteString - getProfilesBytes(int index) { + public com.google.protobuf.ByteString getProfilesBytes(int index) { return profiles_.getByteString(index); } public static final int VERIFY_FIELD_NUMBER = 4; private boolean verify_ = false; /** + * + * *
      * Whether to run verify tests after the deployment.
      * 
* * bool verify = 4; + * * @return The verify. */ @java.lang.Override @@ -397,12 +490,17 @@ public boolean getVerify() { public static final int PREDEPLOY_FIELD_NUMBER = 5; private com.google.cloud.deploy.v1.Predeploy predeploy_; /** + * + * *
      * Optional. Configuration for the predeploy job of this phase. If this is
      * not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ @java.lang.Override @@ -410,40 +508,58 @@ public boolean hasPredeploy() { return predeploy_ != null; } /** + * + * *
      * Optional. Configuration for the predeploy job of this phase. If this is
      * not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ @java.lang.Override public com.google.cloud.deploy.v1.Predeploy getPredeploy() { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } /** + * + * *
      * Optional. Configuration for the predeploy job of this phase. If this is
      * not configured, there will be no predeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } public static final int POSTDEPLOY_FIELD_NUMBER = 6; private com.google.cloud.deploy.v1.Postdeploy postdeploy_; /** + * + * *
      * Optional. Configuration for the postdeploy job of this phase. If this is
      * not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ @java.lang.Override @@ -451,32 +567,46 @@ public boolean hasPostdeploy() { return postdeploy_ != null; } /** + * + * *
      * Optional. Configuration for the postdeploy job of this phase. If this is
      * not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ @java.lang.Override public com.google.cloud.deploy.v1.Postdeploy getPostdeploy() { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } /** + * + * *
      * Optional. Configuration for the postdeploy job of this phase. If this is
      * not configured, there will be no postdeploy job for this phase.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder() { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -488,8 +618,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(phaseId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phaseId_); } @@ -521,8 +650,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, phaseId_); } if (percentage_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, percentage_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, percentage_); } { int dataSize = 0; @@ -533,16 +661,13 @@ public int getSerializedSize() { size += 1 * getProfilesList().size(); } if (verify_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, verify_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, verify_); } if (predeploy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getPredeploy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPredeploy()); } if (postdeploy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getPostdeploy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPostdeploy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -552,30 +677,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.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig other = (com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig) obj; + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig other = + (com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig) obj; - if (!getPhaseId() - .equals(other.getPhaseId())) return false; - if (getPercentage() - != other.getPercentage()) return false; - if (!getProfilesList() - .equals(other.getProfilesList())) return false; - if (getVerify() - != other.getVerify()) return false; + if (!getPhaseId().equals(other.getPhaseId())) return false; + if (getPercentage() != other.getPercentage()) return false; + if (!getProfilesList().equals(other.getProfilesList())) return false; + if (getVerify() != other.getVerify()) return false; if (hasPredeploy() != other.hasPredeploy()) return false; if (hasPredeploy()) { - if (!getPredeploy() - .equals(other.getPredeploy())) return false; + if (!getPredeploy().equals(other.getPredeploy())) return false; } if (hasPostdeploy() != other.hasPostdeploy()) return false; if (hasPostdeploy()) { - if (!getPostdeploy() - .equals(other.getPostdeploy())) return false; + if (!getPostdeploy().equals(other.getPostdeploy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -597,8 +717,7 @@ public int hashCode() { hash = (53 * hash) + getProfilesList().hashCode(); } hash = (37 * hash) + VERIFY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVerify()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVerify()); if (hasPredeploy()) { hash = (37 * hash) + PREDEPLOY_FIELD_NUMBER; hash = (53 * hash) + getPredeploy().hashCode(); @@ -613,89 +732,94 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig 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.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig 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 @@ -705,6 +829,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * PhaseConfig represents the configuration for a phase in the custom
      * canary deployment.
@@ -712,41 +838,40 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig}
      */
-    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.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig)
         com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.class, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder.class);
+                com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.class,
+                com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         phaseId_ = "";
         percentage_ = 0;
-        profiles_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        profiles_ = com.google.protobuf.LazyStringArrayList.emptyList();
         verify_ = false;
         predeploy_ = null;
         if (predeployBuilder_ != null) {
@@ -762,13 +887,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getDefaultInstanceForType() {
+      public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig
+          getDefaultInstanceForType() {
         return com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.getDefaultInstance();
       }
 
@@ -783,13 +909,17 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig build() {
 
       @java.lang.Override
       public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig buildPartial() {
-        com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig result = new com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig result =
+            new com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig result) {
+      private void buildPartial0(
+          com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.phaseId_ = phaseId_;
@@ -805,14 +935,11 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomCanaryDeployment.Pha
           result.verify_ = verify_;
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
-          result.predeploy_ = predeployBuilder_ == null
-              ? predeploy_
-              : predeployBuilder_.build();
+          result.predeploy_ = predeployBuilder_ == null ? predeploy_ : predeployBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000020) != 0)) {
-          result.postdeploy_ = postdeployBuilder_ == null
-              ? postdeploy_
-              : postdeployBuilder_.build();
+          result.postdeploy_ =
+              postdeployBuilder_ == null ? postdeploy_ : postdeployBuilder_.build();
         }
       }
 
@@ -820,46 +947,52 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomCanaryDeployment.Pha
       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.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig) {
-          return mergeFrom((com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig)other);
+          return mergeFrom((com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig other) {
-        if (other == com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig other) {
+        if (other
+            == com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.getDefaultInstance())
+          return this;
         if (!other.getPhaseId().isEmpty()) {
           phaseId_ = other.phaseId_;
           bitField0_ |= 0x00000001;
@@ -913,47 +1046,50 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                phaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 16: {
-                percentage_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              case 26: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureProfilesIsMutable();
-                profiles_.add(s);
-                break;
-              } // case 26
-              case 32: {
-                verify_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-              case 42: {
-                input.readMessage(
-                    getPredeployFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-              case 50: {
-                input.readMessage(
-                    getPostdeployFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  phaseId_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 16:
+                {
+                  percentage_ = input.readInt32();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              case 26:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureProfilesIsMutable();
+                  profiles_.add(s);
+                  break;
+                } // case 26
+              case 32:
+                {
+                  verify_ = input.readBool();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 32
+              case 42:
+                {
+                  input.readMessage(getPredeployFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000010;
+                  break;
+                } // case 42
+              case 50:
+                {
+                  input.readMessage(getPostdeployFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000020;
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -963,10 +1099,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object phaseId_ = "";
       /**
+       *
+       *
        * 
        * Required. The ID to assign to the `Rollout` phase.
        * This value must consist of lower-case letters, numbers, and hyphens,
@@ -976,13 +1115,13 @@ public Builder mergeFrom(
        * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ public java.lang.String getPhaseId() { java.lang.Object ref = phaseId_; 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(); phaseId_ = s; return s; @@ -991,6 +1130,8 @@ public java.lang.String getPhaseId() { } } /** + * + * *
        * Required. The ID to assign to the `Rollout` phase.
        * This value must consist of lower-case letters, numbers, and hyphens,
@@ -1000,15 +1141,14 @@ public java.lang.String getPhaseId() {
        * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -1016,6 +1156,8 @@ public java.lang.String getPhaseId() { } } /** + * + * *
        * Required. The ID to assign to the `Rollout` phase.
        * This value must consist of lower-case letters, numbers, and hyphens,
@@ -1025,18 +1167,22 @@ public java.lang.String getPhaseId() {
        * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phaseId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The ID to assign to the `Rollout` phase.
        * This value must consist of lower-case letters, numbers, and hyphens,
@@ -1046,6 +1192,7 @@ public Builder setPhaseId(
        * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPhaseId() { @@ -1055,6 +1202,8 @@ public Builder clearPhaseId() { return this; } /** + * + * *
        * Required. The ID to assign to the `Rollout` phase.
        * This value must consist of lower-case letters, numbers, and hyphens,
@@ -1064,12 +1213,14 @@ public Builder clearPhaseId() {
        * 
* * string phase_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phaseId_ = value; bitField0_ |= 0x00000001; @@ -1077,13 +1228,16 @@ public Builder setPhaseIdBytes( return this; } - private int percentage_ ; + private int percentage_; /** + * + * *
        * Required. Percentage deployment for the phase.
        * 
* * int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The percentage. */ @java.lang.Override @@ -1091,11 +1245,14 @@ public int getPercentage() { return percentage_; } /** + * + * *
        * Required. Percentage deployment for the phase.
        * 
* * int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The percentage to set. * @return This builder for chaining. */ @@ -1107,11 +1264,14 @@ public Builder setPercentage(int value) { return this; } /** + * + * *
        * Required. Percentage deployment for the phase.
        * 
* * int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPercentage() { @@ -1123,6 +1283,7 @@ public Builder clearPercentage() { private com.google.protobuf.LazyStringArrayList profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureProfilesIsMutable() { if (!profiles_.isModifiable()) { profiles_ = new com.google.protobuf.LazyStringArrayList(profiles_); @@ -1130,6 +1291,8 @@ private void ensureProfilesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1137,14 +1300,16 @@ private void ensureProfilesIsMutable() {
        * 
* * repeated string profiles = 3; + * * @return A list containing the profiles. */ - public com.google.protobuf.ProtocolStringList - getProfilesList() { + public com.google.protobuf.ProtocolStringList getProfilesList() { profiles_.makeImmutable(); return profiles_; } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1152,12 +1317,15 @@ private void ensureProfilesIsMutable() {
        * 
* * repeated string profiles = 3; + * * @return The count of profiles. */ public int getProfilesCount() { return profiles_.size(); } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1165,6 +1333,7 @@ public int getProfilesCount() {
        * 
* * repeated string profiles = 3; + * * @param index The index of the element to return. * @return The profiles at the given index. */ @@ -1172,6 +1341,8 @@ public java.lang.String getProfiles(int index) { return profiles_.get(index); } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1179,14 +1350,16 @@ public java.lang.String getProfiles(int index) {
        * 
* * repeated string profiles = 3; + * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. */ - public com.google.protobuf.ByteString - getProfilesBytes(int index) { + public com.google.protobuf.ByteString getProfilesBytes(int index) { return profiles_.getByteString(index); } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1194,13 +1367,15 @@ public java.lang.String getProfiles(int index) {
        * 
* * repeated string profiles = 3; + * * @param index The index to set the value at. * @param value The profiles to set. * @return This builder for chaining. */ - public Builder setProfiles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProfiles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProfilesIsMutable(); profiles_.set(index, value); bitField0_ |= 0x00000004; @@ -1208,6 +1383,8 @@ public Builder setProfiles( return this; } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1215,12 +1392,14 @@ public Builder setProfiles(
        * 
* * repeated string profiles = 3; + * * @param value The profiles to add. * @return This builder for chaining. */ - public Builder addProfiles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProfiles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProfilesIsMutable(); profiles_.add(value); bitField0_ |= 0x00000004; @@ -1228,6 +1407,8 @@ public Builder addProfiles( return this; } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1235,19 +1416,20 @@ public Builder addProfiles(
        * 
* * repeated string profiles = 3; + * * @param values The profiles to add. * @return This builder for chaining. */ - public Builder addAllProfiles( - java.lang.Iterable values) { + public Builder addAllProfiles(java.lang.Iterable values) { ensureProfilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, profiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, profiles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1255,16 +1437,19 @@ public Builder addAllProfiles(
        * 
* * repeated string profiles = 3; + * * @return This builder for chaining. */ public Builder clearProfiles() { - profiles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
        * Skaffold profiles to use when rendering the manifest for this phase.
        * These are in addition to the profiles list specified in the
@@ -1272,12 +1457,14 @@ public Builder clearProfiles() {
        * 
* * repeated string profiles = 3; + * * @param value The bytes of the profiles to add. * @return This builder for chaining. */ - public Builder addProfilesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProfilesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureProfilesIsMutable(); profiles_.add(value); @@ -1286,13 +1473,16 @@ public Builder addProfilesBytes( return this; } - private boolean verify_ ; + private boolean verify_; /** + * + * *
        * Whether to run verify tests after the deployment.
        * 
* * bool verify = 4; + * * @return The verify. */ @java.lang.Override @@ -1300,11 +1490,14 @@ public boolean getVerify() { return verify_; } /** + * + * *
        * Whether to run verify tests after the deployment.
        * 
* * bool verify = 4; + * * @param value The verify to set. * @return This builder for chaining. */ @@ -1316,11 +1509,14 @@ public Builder setVerify(boolean value) { return this; } /** + * + * *
        * Whether to run verify tests after the deployment.
        * 
* * bool verify = 4; + * * @return This builder for chaining. */ public Builder clearVerify() { @@ -1332,42 +1528,61 @@ public Builder clearVerify() { private com.google.cloud.deploy.v1.Predeploy predeploy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder> predeployBuilder_; + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder> + predeployBuilder_; /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ public boolean hasPredeploy() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ public com.google.cloud.deploy.v1.Predeploy getPredeploy() { if (predeployBuilder_ == null) { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } else { return predeployBuilder_.getMessage(); } } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy value) { if (predeployBuilder_ == null) { @@ -1383,15 +1598,18 @@ public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy value) { return this; } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPredeploy( - com.google.cloud.deploy.v1.Predeploy.Builder builderForValue) { + public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy.Builder builderForValue) { if (predeployBuilder_ == null) { predeploy_ = builderForValue.build(); } else { @@ -1402,18 +1620,22 @@ public Builder setPredeploy( return this; } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePredeploy(com.google.cloud.deploy.v1.Predeploy value) { if (predeployBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - predeploy_ != null && - predeploy_ != com.google.cloud.deploy.v1.Predeploy.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && predeploy_ != null + && predeploy_ != com.google.cloud.deploy.v1.Predeploy.getDefaultInstance()) { getPredeployBuilder().mergeFrom(value); } else { predeploy_ = value; @@ -1426,12 +1648,16 @@ public Builder mergePredeploy(com.google.cloud.deploy.v1.Predeploy value) { return this; } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPredeploy() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1444,12 +1670,16 @@ public Builder clearPredeploy() { return this; } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Predeploy.Builder getPredeployBuilder() { bitField0_ |= 0x00000010; @@ -1457,38 +1687,50 @@ public com.google.cloud.deploy.v1.Predeploy.Builder getPredeployBuilder() { return getPredeployFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { if (predeployBuilder_ != null) { return predeployBuilder_.getMessageOrBuilder(); } else { - return predeploy_ == null ? - com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } } /** + * + * *
        * Optional. Configuration for the predeploy job of this phase. If this is
        * not configured, there will be no predeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder> + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder> getPredeployFieldBuilder() { if (predeployBuilder_ == null) { - predeployBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder>( - getPredeploy(), - getParentForChildren(), - isClean()); + predeployBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder>( + getPredeploy(), getParentForChildren(), isClean()); predeploy_ = null; } return predeployBuilder_; @@ -1496,42 +1738,61 @@ public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { private com.google.cloud.deploy.v1.Postdeploy postdeploy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder> postdeployBuilder_; + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder> + postdeployBuilder_; /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ public boolean hasPostdeploy() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ public com.google.cloud.deploy.v1.Postdeploy getPostdeploy() { if (postdeployBuilder_ == null) { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } else { return postdeployBuilder_.getMessage(); } } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { if (postdeployBuilder_ == null) { @@ -1547,15 +1808,18 @@ public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { return this; } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPostdeploy( - com.google.cloud.deploy.v1.Postdeploy.Builder builderForValue) { + public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy.Builder builderForValue) { if (postdeployBuilder_ == null) { postdeploy_ = builderForValue.build(); } else { @@ -1566,18 +1830,22 @@ public Builder setPostdeploy( return this; } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { if (postdeployBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - postdeploy_ != null && - postdeploy_ != com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && postdeploy_ != null + && postdeploy_ != com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance()) { getPostdeployBuilder().mergeFrom(value); } else { postdeploy_ = value; @@ -1590,12 +1858,16 @@ public Builder mergePostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { return this; } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPostdeploy() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1608,12 +1880,16 @@ public Builder clearPostdeploy() { return this; } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Postdeploy.Builder getPostdeployBuilder() { bitField0_ |= 0x00000020; @@ -1621,42 +1897,55 @@ public com.google.cloud.deploy.v1.Postdeploy.Builder getPostdeployBuilder() { return getPostdeployFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder() { if (postdeployBuilder_ != null) { return postdeployBuilder_.getMessageOrBuilder(); } else { - return postdeploy_ == null ? - com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } } /** + * + * *
        * Optional. Configuration for the postdeploy job of this phase. If this is
        * not configured, there will be no postdeploy job for this phase.
        * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder> + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder> getPostdeployFieldBuilder() { if (postdeployBuilder_ == null) { - postdeployBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder>( - getPostdeploy(), - getParentForChildren(), - isClean()); + postdeployBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder>( + getPostdeploy(), getParentForChildren(), isClean()); postdeploy_ = null; } return postdeployBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1669,41 +1958,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig) - private static final com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig DEFAULT_INSTANCE; + private static final com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig(); } - public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getDefaultInstance() { + public static com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhaseConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhaseConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1715,79 +2007,104 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PHASE_CONFIGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List phaseConfigs_; + private java.util.List + phaseConfigs_; /** + * + * *
    * Required. Configuration for each phase in the canary deployment in the
    * order executed.
    * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getPhaseConfigsList() { + public java.util.List + getPhaseConfigsList() { return phaseConfigs_; } /** + * + * *
    * Required. Configuration for each phase in the canary deployment in the
    * order executed.
    * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder> getPhaseConfigsOrBuilderList() { return phaseConfigs_; } /** + * + * *
    * Required. Configuration for each phase in the canary deployment in the
    * order executed.
    * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getPhaseConfigsCount() { return phaseConfigs_.size(); } /** + * + * *
    * Required. Configuration for each phase in the canary deployment in the
    * order executed.
    * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getPhaseConfigs(int index) { return phaseConfigs_.get(index); } /** + * + * *
    * Required. Configuration for each phase in the canary deployment in the
    * order executed.
    * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder getPhaseConfigsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder + getPhaseConfigsOrBuilder(int index) { return phaseConfigs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1799,8 +2116,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 < phaseConfigs_.size(); i++) { output.writeMessage(1, phaseConfigs_.get(i)); } @@ -1814,8 +2130,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < phaseConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, phaseConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, phaseConfigs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1825,15 +2140,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.cloud.deploy.v1.CustomCanaryDeployment)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CustomCanaryDeployment other = (com.google.cloud.deploy.v1.CustomCanaryDeployment) obj; + com.google.cloud.deploy.v1.CustomCanaryDeployment other = + (com.google.cloud.deploy.v1.CustomCanaryDeployment) obj; - if (!getPhaseConfigsList() - .equals(other.getPhaseConfigsList())) return false; + if (!getPhaseConfigsList().equals(other.getPhaseConfigsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1855,98 +2170,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CustomCanaryDeployment 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.cloud.deploy.v1.CustomCanaryDeployment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomCanaryDeployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CustomCanaryDeployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CustomCanaryDeployment represents the custom canary deployment
    * configuration.
@@ -1954,33 +2274,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.CustomCanaryDeployment}
    */
-  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.cloud.deploy.v1.CustomCanaryDeployment)
       com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.CustomCanaryDeployment.class, com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder.class);
+              com.google.cloud.deploy.v1.CustomCanaryDeployment.class,
+              com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.CustomCanaryDeployment.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1996,9 +2315,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor;
     }
 
     @java.lang.Override
@@ -2017,14 +2336,18 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.CustomCanaryDeployment buildPartial() {
-      com.google.cloud.deploy.v1.CustomCanaryDeployment result = new com.google.cloud.deploy.v1.CustomCanaryDeployment(this);
+      com.google.cloud.deploy.v1.CustomCanaryDeployment result =
+          new com.google.cloud.deploy.v1.CustomCanaryDeployment(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.CustomCanaryDeployment result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.deploy.v1.CustomCanaryDeployment result) {
       if (phaseConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           phaseConfigs_ = java.util.Collections.unmodifiableList(phaseConfigs_);
@@ -2044,38 +2367,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomCanaryDeployment res
     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) {
+        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) {
+        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.cloud.deploy.v1.CustomCanaryDeployment) {
-        return mergeFrom((com.google.cloud.deploy.v1.CustomCanaryDeployment)other);
+        return mergeFrom((com.google.cloud.deploy.v1.CustomCanaryDeployment) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2083,7 +2407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.CustomCanaryDeployment other) {
-      if (other == com.google.cloud.deploy.v1.CustomCanaryDeployment.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.CustomCanaryDeployment.getDefaultInstance())
+        return this;
       if (phaseConfigsBuilder_ == null) {
         if (!other.phaseConfigs_.isEmpty()) {
           if (phaseConfigs_.isEmpty()) {
@@ -2102,9 +2427,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.CustomCanaryDeployment other
             phaseConfigsBuilder_ = null;
             phaseConfigs_ = other.phaseConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            phaseConfigsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPhaseConfigsFieldBuilder() : null;
+            phaseConfigsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPhaseConfigsFieldBuilder()
+                    : null;
           } else {
             phaseConfigsBuilder_.addAllMessages(other.phaseConfigs_);
           }
@@ -2136,25 +2462,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.parser(),
-                      extensionRegistry);
-              if (phaseConfigsBuilder_ == null) {
-                ensurePhaseConfigsIsMutable();
-                phaseConfigs_.add(m);
-              } else {
-                phaseConfigsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.parser(),
+                        extensionRegistry);
+                if (phaseConfigsBuilder_ == null) {
+                  ensurePhaseConfigsIsMutable();
+                  phaseConfigs_.add(m);
+                } else {
+                  phaseConfigsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2164,29 +2492,41 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List phaseConfigs_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        phaseConfigs_ = java.util.Collections.emptyList();
+
     private void ensurePhaseConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        phaseConfigs_ = new java.util.ArrayList(phaseConfigs_);
+        phaseConfigs_ =
+            new java.util.ArrayList(
+                phaseConfigs_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder> phaseConfigsBuilder_;
+            com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig,
+            com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder,
+            com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder>
+        phaseConfigsBuilder_;
 
     /**
+     *
+     *
      * 
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getPhaseConfigsList() { + public java.util.List + getPhaseConfigsList() { if (phaseConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(phaseConfigs_); } else { @@ -2194,12 +2534,16 @@ public java.util.List * Required. Configuration for each phase in the canary deployment in the * order executed. *
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getPhaseConfigsCount() { if (phaseConfigsBuilder_ == null) { @@ -2209,14 +2553,19 @@ public int getPhaseConfigsCount() { } } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getPhaseConfigs(int index) { + public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getPhaseConfigs( + int index) { if (phaseConfigsBuilder_ == null) { return phaseConfigs_.get(index); } else { @@ -2224,12 +2573,16 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getPhaseCon } } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPhaseConfigs( int index, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig value) { @@ -2246,15 +2599,20 @@ public Builder setPhaseConfigs( return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPhaseConfigs( - int index, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder builderForValue) { + int index, + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder builderForValue) { if (phaseConfigsBuilder_ == null) { ensurePhaseConfigsIsMutable(); phaseConfigs_.set(index, builderForValue.build()); @@ -2265,14 +2623,19 @@ public Builder setPhaseConfigs( return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addPhaseConfigs(com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig value) { + public Builder addPhaseConfigs( + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig value) { if (phaseConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2286,12 +2649,16 @@ public Builder addPhaseConfigs(com.google.cloud.deploy.v1.CustomCanaryDeployment return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPhaseConfigs( int index, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig value) { @@ -2308,12 +2675,16 @@ public Builder addPhaseConfigs( return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPhaseConfigs( com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder builderForValue) { @@ -2327,15 +2698,20 @@ public Builder addPhaseConfigs( return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addPhaseConfigs( - int index, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder builderForValue) { + int index, + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder builderForValue) { if (phaseConfigsBuilder_ == null) { ensurePhaseConfigsIsMutable(); phaseConfigs_.add(index, builderForValue.build()); @@ -2346,19 +2722,23 @@ public Builder addPhaseConfigs( return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllPhaseConfigs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (phaseConfigsBuilder_ == null) { ensurePhaseConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phaseConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phaseConfigs_); onChanged(); } else { phaseConfigsBuilder_.addAllMessages(values); @@ -2366,12 +2746,16 @@ public Builder addAllPhaseConfigs( return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPhaseConfigs() { if (phaseConfigsBuilder_ == null) { @@ -2384,12 +2768,16 @@ public Builder clearPhaseConfigs() { return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removePhaseConfigs(int index) { if (phaseConfigsBuilder_ == null) { @@ -2402,42 +2790,56 @@ public Builder removePhaseConfigs(int index) { return this; } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder getPhaseConfigsBuilder( - int index) { + public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder + getPhaseConfigsBuilder(int index) { return getPhaseConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder getPhaseConfigsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder + getPhaseConfigsOrBuilder(int index) { if (phaseConfigsBuilder_ == null) { - return phaseConfigs_.get(index); } else { + return phaseConfigs_.get(index); + } else { return phaseConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPhaseConfigsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder> + getPhaseConfigsOrBuilderList() { if (phaseConfigsBuilder_ != null) { return phaseConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -2445,59 +2847,78 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder ge } } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder addPhaseConfigsBuilder() { - return getPhaseConfigsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.getDefaultInstance()); + public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder + addPhaseConfigsBuilder() { + return getPhaseConfigsFieldBuilder() + .addBuilder( + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.getDefaultInstance()); } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder addPhaseConfigsBuilder( - int index) { - return getPhaseConfigsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.getDefaultInstance()); + public com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder + addPhaseConfigsBuilder(int index) { + return getPhaseConfigsFieldBuilder() + .addBuilder( + index, + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.getDefaultInstance()); } /** + * + * *
      * Required. Configuration for each phase in the canary deployment in the
      * order executed.
      * 
* - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPhaseConfigsBuilderList() { + public java.util.List + getPhaseConfigsBuilderList() { return getPhaseConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder> + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig, + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder, + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder> getPhaseConfigsFieldBuilder() { if (phaseConfigsBuilder_ == null) { - phaseConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder, com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder>( - phaseConfigs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + phaseConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig, + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.Builder, + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder>( + phaseConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); phaseConfigs_ = null; } return phaseConfigsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2507,12 +2928,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CustomCanaryDeployment) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CustomCanaryDeployment) private static final com.google.cloud.deploy.v1.CustomCanaryDeployment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CustomCanaryDeployment(); } @@ -2521,27 +2942,27 @@ public static com.google.cloud.deploy.v1.CustomCanaryDeployment getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomCanaryDeployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomCanaryDeployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2556,6 +2977,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CustomCanaryDeployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeploymentOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeploymentOrBuilder.java new file mode 100644 index 000000000000..9cb5c04e0891 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeploymentOrBuilder.java @@ -0,0 +1,94 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CustomCanaryDeploymentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomCanaryDeployment) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Configuration for each phase in the canary deployment in the
+   * order executed.
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getPhaseConfigsList(); + /** + * + * + *
+   * Required. Configuration for each phase in the canary deployment in the
+   * order executed.
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getPhaseConfigs(int index); + /** + * + * + *
+   * Required. Configuration for each phase in the canary deployment in the
+   * order executed.
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getPhaseConfigsCount(); + /** + * + * + *
+   * Required. Configuration for each phase in the canary deployment in the
+   * order executed.
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getPhaseConfigsOrBuilderList(); + /** + * + * + *
+   * Required. Configuration for each phase in the canary deployment in the
+   * order executed.
+   * 
+ * + * + * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder getPhaseConfigsOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadata.java similarity index 57% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadata.java index be2cc7657f1c..064486551cc9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadata.java @@ -1,86 +1,105 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CustomMetadata contains information from a user-defined operation.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CustomMetadata} */ -public final class CustomMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CustomMetadata) CustomMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomMetadata.newBuilder() to construct. private CustomMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomMetadata() { - } + + private CustomMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetValues(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CustomMetadata.class, com.google.cloud.deploy.v1.CustomMetadata.Builder.class); + com.google.cloud.deploy.v1.CustomMetadata.class, + com.google.cloud.deploy.v1.CustomMetadata.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + private static final class ValuesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { + private com.google.protobuf.MapField values_; + + private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ValuesDefaultEntryHolder.defaultEntry); } return values_; } + public int getValuesCount() { return internalGetValues().getMap().size(); } /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
@@ -88,20 +107,21 @@ public int getValuesCount() { * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetValues().getMap().containsKey(key); } - /** - * Use {@link #getValuesMap()} instead. - */ + /** Use {@link #getValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
@@ -113,6 +133,8 @@ public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
@@ -120,17 +142,19 @@ public java.util.Map getValuesMap() { * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ -java.lang.String getValuesOrDefault( + public /* nullable */ java.lang.String getValuesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
@@ -138,11 +162,11 @@ java.lang.String getValuesOrDefault( * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + public java.lang.String getValuesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -150,6 +174,7 @@ public java.lang.String getValuesOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,14 +186,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValues(), - ValuesDefaultEntryHolder.defaultEntry, - 1); + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetValues(), ValuesDefaultEntryHolder.defaultEntry, 1); getUnknownFields().writeTo(output); } @@ -178,15 +198,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetValues().getMap().entrySet()) { - com.google.protobuf.MapEntry - values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values__); + for (java.util.Map.Entry entry : + internalGetValues().getMap().entrySet()) { + com.google.protobuf.MapEntry values__ = + ValuesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -196,15 +216,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.cloud.deploy.v1.CustomMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CustomMetadata other = (com.google.cloud.deploy.v1.CustomMetadata) obj; + com.google.cloud.deploy.v1.CustomMetadata other = + (com.google.cloud.deploy.v1.CustomMetadata) obj; - if (!internalGetValues().equals( - other.internalGetValues())) return false; + if (!internalGetValues().equals(other.internalGetValues())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,154 +245,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CustomMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CustomMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CustomMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CustomMetadata contains information from a user-defined operation.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CustomMetadata} */ - 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.cloud.deploy.v1.CustomMetadata) com.google.cloud.deploy.v1.CustomMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetValues(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 1: return internalGetMutableValues(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CustomMetadata.class, com.google.cloud.deploy.v1.CustomMetadata.Builder.class); + com.google.cloud.deploy.v1.CustomMetadata.class, + com.google.cloud.deploy.v1.CustomMetadata.Builder.class); } // Construct using com.google.cloud.deploy.v1.CustomMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; } @java.lang.Override @@ -403,8 +425,11 @@ public com.google.cloud.deploy.v1.CustomMetadata build() { @java.lang.Override public com.google.cloud.deploy.v1.CustomMetadata buildPartial() { - com.google.cloud.deploy.v1.CustomMetadata result = new com.google.cloud.deploy.v1.CustomMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CustomMetadata result = + new com.google.cloud.deploy.v1.CustomMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -421,38 +446,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomMetadata result) { 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) { + 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) { + 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.cloud.deploy.v1.CustomMetadata) { - return mergeFrom((com.google.cloud.deploy.v1.CustomMetadata)other); + return mergeFrom((com.google.cloud.deploy.v1.CustomMetadata) other); } else { super.mergeFrom(other); return this; @@ -461,8 +487,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.deploy.v1.CustomMetadata other) { if (other == com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance()) return this; - internalGetMutableValues().mergeFrom( - other.internalGetValues()); + internalGetMutableValues().mergeFrom(other.internalGetValues()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -490,21 +515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - values__ = input.readMessage( - ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableValues().getMutableMap().put( - values__.getKey(), values__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry values__ = + input.readMessage( + ValuesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableValues() + .getMutableMap() + .put(values__.getKey(), values__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,23 +543,22 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { + private com.google.protobuf.MapField values_; + + private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ValuesDefaultEntryHolder.defaultEntry); } return values_; } + private com.google.protobuf.MapField internalGetMutableValues() { if (values_ == null) { - values_ = com.google.protobuf.MapField.newMapField( - ValuesDefaultEntryHolder.defaultEntry); + values_ = com.google.protobuf.MapField.newMapField(ValuesDefaultEntryHolder.defaultEntry); } if (!values_.isMutable()) { values_ = values_.copy(); @@ -539,140 +567,157 @@ public Builder mergeFrom( onChanged(); return values_; } + public int getValuesCount() { return internalGetValues().getMap().size(); } /** + * + * *
      * Output only. Key-value pairs provided by the user-defined operation.
      * 
* - * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetValues().getMap().containsKey(key); } - /** - * Use {@link #getValuesMap()} instead. - */ + /** Use {@link #getValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** + * + * *
      * Output only. Key-value pairs provided by the user-defined operation.
      * 
* - * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** + * + * *
      * Output only. Key-value pairs provided by the user-defined operation.
      * 
* - * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getValuesOrDefault( + public /* nullable */ java.lang.String getValuesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Output only. Key-value pairs provided by the user-defined operation.
      * 
* - * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + public java.lang.String getValuesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearValues() { bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableValues().getMutableMap() - .clear(); + internalGetMutableValues().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. Key-value pairs provided by the user-defined operation.
      * 
* - * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableValues().getMutableMap() - .remove(key); + public Builder removeValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableValues().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableValues() { + public java.util.Map getMutableValues() { bitField0_ |= 0x00000001; return internalGetMutableValues().getMutableMap(); } /** + * + * *
      * Output only. Key-value pairs provided by the user-defined operation.
      * 
* - * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder putValues( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableValues().getMutableMap() - .put(key, value); + public Builder putValues(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableValues().getMutableMap().put(key, value); bitField0_ |= 0x00000001; return this; } /** + * + * *
      * Output only. Key-value pairs provided by the user-defined operation.
      * 
* - * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder putAllValues( - java.util.Map values) { - internalGetMutableValues().getMutableMap() - .putAll(values); + public Builder putAllValues(java.util.Map values) { + internalGetMutableValues().getMutableMap().putAll(values); bitField0_ |= 0x00000001; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -682,12 +727,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CustomMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CustomMetadata) private static final com.google.cloud.deploy.v1.CustomMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CustomMetadata(); } @@ -696,27 +741,27 @@ public static com.google.cloud.deploy.v1.CustomMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -731,6 +776,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CustomMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadataOrBuilder.java similarity index 58% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadataOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadataOrBuilder.java index 725e4cf9829b..d512fa0434a5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadataOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CustomMetadataOrBuilder extends +public interface CustomMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
@@ -16,30 +34,31 @@ public interface CustomMetadataOrBuilder extends */ int getValuesCount(); /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - boolean containsValues( - java.lang.String key); - /** - * Use {@link #getValuesMap()} instead. - */ + boolean containsValues(java.lang.String key); + /** Use {@link #getValuesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getValues(); + java.util.Map getValues(); /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.Map - getValuesMap(); + java.util.Map getValuesMap(); /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
@@ -47,17 +66,18 @@ boolean containsValues( * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ -java.lang.String getValuesOrDefault( + java.lang.String getValuesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Output only. Key-value pairs provided by the user-defined operation.
    * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.lang.String getValuesOrThrow( - java.lang.String key); + java.lang.String getValuesOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTarget.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTarget.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTarget.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTarget.java index 7983fc6b8d9b..fb5979e76d65 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTarget.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTarget.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Information specifying a Custom Target.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.CustomTarget} */ -public final class CustomTarget extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CustomTarget) CustomTargetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomTarget.newBuilder() to construct. private CustomTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomTarget() { customTargetType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomTarget(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CustomTarget.class, com.google.cloud.deploy.v1.CustomTarget.Builder.class); + com.google.cloud.deploy.v1.CustomTarget.class, + com.google.cloud.deploy.v1.CustomTarget.Builder.class); } public static final int CUSTOM_TARGET_TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object customTargetType_ = ""; /** + * + * *
    * Required. The name of the CustomTargetType. Format must be
    * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
    * 
* - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customTargetType. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getCustomTargetType() { 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(); customTargetType_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomTargetType. Format must be
    * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
    * 
* - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customTargetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomTargetTypeBytes() { + public com.google.protobuf.ByteString getCustomTargetTypeBytes() { java.lang.Object ref = customTargetType_; 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); customTargetType_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getCustomTargetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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(customTargetType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customTargetType_); } @@ -129,15 +156,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.cloud.deploy.v1.CustomTarget)) { return super.equals(obj); } com.google.cloud.deploy.v1.CustomTarget other = (com.google.cloud.deploy.v1.CustomTarget) obj; - if (!getCustomTargetType() - .equals(other.getCustomTargetType())) return false; + if (!getCustomTargetType().equals(other.getCustomTargetType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.CustomTarget parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.CustomTarget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CustomTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CustomTarget parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.CustomTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information specifying a Custom Target.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.CustomTarget} */ - 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.cloud.deploy.v1.CustomTarget) com.google.cloud.deploy.v1.CustomTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.CustomTarget.class, com.google.cloud.deploy.v1.CustomTarget.Builder.class); + com.google.cloud.deploy.v1.CustomTarget.class, + com.google.cloud.deploy.v1.CustomTarget.Builder.class); } // Construct using com.google.cloud.deploy.v1.CustomTarget.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; } @java.lang.Override @@ -312,8 +342,11 @@ public com.google.cloud.deploy.v1.CustomTarget build() { @java.lang.Override public com.google.cloud.deploy.v1.CustomTarget buildPartial() { - com.google.cloud.deploy.v1.CustomTarget result = new com.google.cloud.deploy.v1.CustomTarget(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.CustomTarget result = + new com.google.cloud.deploy.v1.CustomTarget(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +362,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomTarget result) { 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) { + 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) { + 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.cloud.deploy.v1.CustomTarget) { - return mergeFrom((com.google.cloud.deploy.v1.CustomTarget)other); + return mergeFrom((com.google.cloud.deploy.v1.CustomTarget) other); } else { super.mergeFrom(other); return this; @@ -400,17 +434,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - customTargetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + customTargetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +456,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object customTargetType_ = ""; /** + * + * *
      * Required. The name of the CustomTargetType. Format must be
      * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
      * 
* - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customTargetType. */ public java.lang.String getCustomTargetType() { java.lang.Object ref = customTargetType_; 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(); customTargetType_ = s; return s; @@ -445,21 +486,24 @@ public java.lang.String getCustomTargetType() { } } /** + * + * *
      * Required. The name of the CustomTargetType. Format must be
      * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
      * 
* - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customTargetType. */ - public com.google.protobuf.ByteString - getCustomTargetTypeBytes() { + public com.google.protobuf.ByteString getCustomTargetTypeBytes() { java.lang.Object ref = customTargetType_; 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); customTargetType_ = b; return b; } else { @@ -467,30 +511,41 @@ public java.lang.String getCustomTargetType() { } } /** + * + * *
      * Required. The name of the CustomTargetType. Format must be
      * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
      * 
* - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The customTargetType to set. * @return This builder for chaining. */ - public Builder setCustomTargetType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomTargetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customTargetType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the CustomTargetType. Format must be
      * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
      * 
* - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCustomTargetType() { @@ -500,27 +555,33 @@ public Builder clearCustomTargetType() { return this; } /** + * + * *
      * Required. The name of the CustomTargetType. Format must be
      * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
      * 
* - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for customTargetType to set. * @return This builder for chaining. */ - public Builder setCustomTargetTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomTargetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customTargetType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CustomTarget) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CustomTarget) private static final com.google.cloud.deploy.v1.CustomTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CustomTarget(); } @@ -544,27 +605,27 @@ public static com.google.cloud.deploy.v1.CustomTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CustomTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadata.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadata.java index a73e8b421493..63b68c94a1a8 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CustomTargetDeployMetadata contains information from a Custom Target
  * deploy operation.
@@ -11,49 +28,55 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.CustomTargetDeployMetadata}
  */
-public final class CustomTargetDeployMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CustomTargetDeployMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CustomTargetDeployMetadata)
     CustomTargetDeployMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CustomTargetDeployMetadata.newBuilder() to construct.
   private CustomTargetDeployMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CustomTargetDeployMetadata() {
     skipMessage_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CustomTargetDeployMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.CustomTargetDeployMetadata.class, com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder.class);
+            com.google.cloud.deploy.v1.CustomTargetDeployMetadata.class,
+            com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder.class);
   }
 
   public static final int SKIP_MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object skipMessage_ = "";
   /**
+   *
+   *
    * 
    * Output only. Skip message provided in the results of a custom deploy
    * operation.
    * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ @java.lang.Override @@ -62,30 +85,30 @@ public java.lang.String getSkipMessage() { 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(); skipMessage_ = s; return s; } } /** + * + * *
    * Output only. Skip message provided in the results of a custom deploy
    * operation.
    * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkipMessageBytes() { + public com.google.protobuf.ByteString getSkipMessageBytes() { java.lang.Object ref = skipMessage_; 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); skipMessage_ = b; return b; } else { @@ -94,6 +117,7 @@ public java.lang.String getSkipMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +129,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(skipMessage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, skipMessage_); } @@ -130,15 +153,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.cloud.deploy.v1.CustomTargetDeployMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CustomTargetDeployMetadata other = (com.google.cloud.deploy.v1.CustomTargetDeployMetadata) obj; + com.google.cloud.deploy.v1.CustomTargetDeployMetadata other = + (com.google.cloud.deploy.v1.CustomTargetDeployMetadata) obj; - if (!getSkipMessage() - .equals(other.getSkipMessage())) return false; + if (!getSkipMessage().equals(other.getSkipMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,98 +181,104 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata 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.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.CustomTargetDeployMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.CustomTargetDeployMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CustomTargetDeployMetadata contains information from a Custom Target
    * deploy operation.
@@ -257,33 +286,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.CustomTargetDeployMetadata}
    */
-  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.cloud.deploy.v1.CustomTargetDeployMetadata)
       com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.CustomTargetDeployMetadata.class, com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder.class);
+              com.google.cloud.deploy.v1.CustomTargetDeployMetadata.class,
+              com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.CustomTargetDeployMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +321,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -314,8 +342,11 @@ public com.google.cloud.deploy.v1.CustomTargetDeployMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.CustomTargetDeployMetadata buildPartial() {
-      com.google.cloud.deploy.v1.CustomTargetDeployMetadata result = new com.google.cloud.deploy.v1.CustomTargetDeployMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.CustomTargetDeployMetadata result =
+          new com.google.cloud.deploy.v1.CustomTargetDeployMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -331,38 +362,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomTargetDeployMetadata
     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) {
+        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) {
+        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.cloud.deploy.v1.CustomTargetDeployMetadata) {
-        return mergeFrom((com.google.cloud.deploy.v1.CustomTargetDeployMetadata)other);
+        return mergeFrom((com.google.cloud.deploy.v1.CustomTargetDeployMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -370,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.CustomTargetDeployMetadata other) {
-      if (other == com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance())
+        return this;
       if (!other.getSkipMessage().isEmpty()) {
         skipMessage_ = other.skipMessage_;
         bitField0_ |= 0x00000001;
@@ -402,17 +435,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              skipMessage_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                skipMessage_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -422,23 +457,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object skipMessage_ = "";
     /**
+     *
+     *
      * 
      * Output only. Skip message provided in the results of a custom deploy
      * operation.
      * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ public java.lang.String getSkipMessage() { java.lang.Object ref = skipMessage_; 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(); skipMessage_ = s; return s; @@ -447,21 +485,22 @@ public java.lang.String getSkipMessage() { } } /** + * + * *
      * Output only. Skip message provided in the results of a custom deploy
      * operation.
      * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ - public com.google.protobuf.ByteString - getSkipMessageBytes() { + public com.google.protobuf.ByteString getSkipMessageBytes() { java.lang.Object ref = skipMessage_; 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); skipMessage_ = b; return b; } else { @@ -469,30 +508,37 @@ public java.lang.String getSkipMessage() { } } /** + * + * *
      * Output only. Skip message provided in the results of a custom deploy
      * operation.
      * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The skipMessage to set. * @return This builder for chaining. */ - public Builder setSkipMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkipMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skipMessage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Skip message provided in the results of a custom deploy
      * operation.
      * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSkipMessage() { @@ -502,27 +548,31 @@ public Builder clearSkipMessage() { return this; } /** + * + * *
      * Output only. Skip message provided in the results of a custom deploy
      * operation.
      * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for skipMessage to set. * @return This builder for chaining. */ - public Builder setSkipMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkipMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skipMessage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -532,12 +582,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CustomTargetDeployMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CustomTargetDeployMetadata) private static final com.google.cloud.deploy.v1.CustomTargetDeployMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CustomTargetDeployMetadata(); } @@ -546,27 +596,27 @@ public static com.google.cloud.deploy.v1.CustomTargetDeployMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomTargetDeployMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomTargetDeployMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -581,6 +631,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.CustomTargetDeployMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadataOrBuilder.java similarity index 52% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadataOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadataOrBuilder.java index e9b450250a3c..264cda114947 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadataOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetDeployMetadataOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CustomTargetDeployMetadataOrBuilder extends +public interface CustomTargetDeployMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomTargetDeployMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Skip message provided in the results of a custom deploy
    * operation.
    * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ java.lang.String getSkipMessage(); /** + * + * *
    * Output only. Skip message provided in the results of a custom deploy
    * operation.
    * 
* * string skip_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ - com.google.protobuf.ByteString - getSkipMessageBytes(); + com.google.protobuf.ByteString getSkipMessageBytes(); } diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetOrBuilder.java new file mode 100644 index 000000000000..dc695e94f516 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface CustomTargetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomTarget) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomTargetType. Format must be
+   * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
+   * 
+ * + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The customTargetType. + */ + java.lang.String getCustomTargetType(); + /** + * + * + *
+   * Required. The name of the CustomTargetType. Format must be
+   * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
+   * 
+ * + * + * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for customTargetType. + */ + com.google.protobuf.ByteString getCustomTargetTypeBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActions.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActions.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActions.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActions.java index 8978b174d6ab..900c96c5ce54 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActions.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
  * using Skaffold custom actions.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.CustomTargetSkaffoldActions}
  */
-public final class CustomTargetSkaffoldActions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CustomTargetSkaffoldActions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CustomTargetSkaffoldActions)
     CustomTargetSkaffoldActionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CustomTargetSkaffoldActions.newBuilder() to construct.
   private CustomTargetSkaffoldActions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CustomTargetSkaffoldActions() {
     renderAction_ = "";
     deployAction_ = "";
@@ -28,28 +46,32 @@ private CustomTargetSkaffoldActions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CustomTargetSkaffoldActions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.class, com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder.class);
+            com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.class,
+            com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder.class);
   }
 
   public static final int RENDER_ACTION_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object renderAction_ = "";
   /**
+   *
+   *
    * 
    * Optional. The Skaffold custom action responsible for render operations. If
    * not provided then Cloud Deploy will perform the render operations via
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The renderAction. */ @java.lang.Override @@ -65,14 +88,15 @@ public java.lang.String getRenderAction() { 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(); renderAction_ = s; return s; } } /** + * + * *
    * Optional. The Skaffold custom action responsible for render operations. If
    * not provided then Cloud Deploy will perform the render operations via
@@ -80,16 +104,15 @@ public java.lang.String getRenderAction() {
    * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for renderAction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRenderActionBytes() { + public com.google.protobuf.ByteString getRenderActionBytes() { java.lang.Object ref = renderAction_; 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); renderAction_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getRenderAction() { } public static final int DEPLOY_ACTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object deployAction_ = ""; /** + * + * *
    * Required. The Skaffold custom action responsible for deploy operations.
    * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployAction. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getDeployAction() { 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(); deployAction_ = s; return s; } } /** + * + * *
    * Required. The Skaffold custom action responsible for deploy operations.
    * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployAction. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeployActionBytes() { + public com.google.protobuf.ByteString getDeployActionBytes() { java.lang.Object ref = deployAction_; 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); deployAction_ = b; return b; } else { @@ -145,64 +172,86 @@ public java.lang.String getDeployAction() { } public static final int INCLUDE_SKAFFOLD_MODULES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List includeSkaffoldModules_; /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getIncludeSkaffoldModulesList() { + public java.util.List + getIncludeSkaffoldModulesList() { return includeSkaffoldModules_; } /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getIncludeSkaffoldModulesOrBuilderList() { return includeSkaffoldModules_; } /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getIncludeSkaffoldModulesCount() { return includeSkaffoldModules_.size(); } /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules getIncludeSkaffoldModules(int index) { return includeSkaffoldModules_.get(index); } /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder getIncludeSkaffoldModulesOrBuilder( @@ -211,6 +260,7 @@ public com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder getIncludeSkaffoldMod } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +272,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(renderAction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, renderAction_); } @@ -249,8 +298,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deployAction_); } for (int i = 0; i < includeSkaffoldModules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, includeSkaffoldModules_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, includeSkaffoldModules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -260,19 +310,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.cloud.deploy.v1.CustomTargetSkaffoldActions)) { return super.equals(obj); } - com.google.cloud.deploy.v1.CustomTargetSkaffoldActions other = (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) obj; + com.google.cloud.deploy.v1.CustomTargetSkaffoldActions other = + (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) obj; - if (!getRenderAction() - .equals(other.getRenderAction())) return false; - if (!getDeployAction() - .equals(other.getDeployAction())) return false; - if (!getIncludeSkaffoldModulesList() - .equals(other.getIncludeSkaffoldModulesList())) return false; + if (!getRenderAction().equals(other.getRenderAction())) return false; + if (!getDeployAction().equals(other.getDeployAction())) return false; + if (!getIncludeSkaffoldModulesList().equals(other.getIncludeSkaffoldModulesList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -298,98 +347,104 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions 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.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.CustomTargetSkaffoldActions prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.CustomTargetSkaffoldActions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
    * using Skaffold custom actions.
@@ -397,33 +452,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.CustomTargetSkaffoldActions}
    */
-  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.cloud.deploy.v1.CustomTargetSkaffoldActions)
       com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.class, com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder.class);
+              com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.class,
+              com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,9 +495,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor;
     }
 
     @java.lang.Override
@@ -462,14 +516,18 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions buildPartial() {
-      com.google.cloud.deploy.v1.CustomTargetSkaffoldActions result = new com.google.cloud.deploy.v1.CustomTargetSkaffoldActions(this);
+      com.google.cloud.deploy.v1.CustomTargetSkaffoldActions result =
+          new com.google.cloud.deploy.v1.CustomTargetSkaffoldActions(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.CustomTargetSkaffoldActions result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.deploy.v1.CustomTargetSkaffoldActions result) {
       if (includeSkaffoldModulesBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           includeSkaffoldModules_ = java.util.Collections.unmodifiableList(includeSkaffoldModules_);
@@ -495,38 +553,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomTargetSkaffoldAction
     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) {
+        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) {
+        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.cloud.deploy.v1.CustomTargetSkaffoldActions) {
-        return mergeFrom((com.google.cloud.deploy.v1.CustomTargetSkaffoldActions)other);
+        return mergeFrom((com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -534,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.CustomTargetSkaffoldActions other) {
-      if (other == com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.getDefaultInstance())
+        return this;
       if (!other.getRenderAction().isEmpty()) {
         renderAction_ = other.renderAction_;
         bitField0_ |= 0x00000001;
@@ -563,9 +623,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.CustomTargetSkaffoldActions
             includeSkaffoldModulesBuilder_ = null;
             includeSkaffoldModules_ = other.includeSkaffoldModules_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            includeSkaffoldModulesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getIncludeSkaffoldModulesFieldBuilder() : null;
+            includeSkaffoldModulesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getIncludeSkaffoldModulesFieldBuilder()
+                    : null;
           } else {
             includeSkaffoldModulesBuilder_.addAllMessages(other.includeSkaffoldModules_);
           }
@@ -597,35 +658,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              renderAction_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              deployAction_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.deploy.v1.SkaffoldModules m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.SkaffoldModules.parser(),
-                      extensionRegistry);
-              if (includeSkaffoldModulesBuilder_ == null) {
-                ensureIncludeSkaffoldModulesIsMutable();
-                includeSkaffoldModules_.add(m);
-              } else {
-                includeSkaffoldModulesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                renderAction_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                deployAction_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.deploy.v1.SkaffoldModules m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.SkaffoldModules.parser(), extensionRegistry);
+                if (includeSkaffoldModulesBuilder_ == null) {
+                  ensureIncludeSkaffoldModulesIsMutable();
+                  includeSkaffoldModules_.add(m);
+                } else {
+                  includeSkaffoldModulesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -635,10 +699,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object renderAction_ = "";
     /**
+     *
+     *
      * 
      * Optional. The Skaffold custom action responsible for render operations. If
      * not provided then Cloud Deploy will perform the render operations via
@@ -646,13 +713,13 @@ public Builder mergeFrom(
      * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The renderAction. */ public java.lang.String getRenderAction() { java.lang.Object ref = renderAction_; 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(); renderAction_ = s; return s; @@ -661,6 +728,8 @@ public java.lang.String getRenderAction() { } } /** + * + * *
      * Optional. The Skaffold custom action responsible for render operations. If
      * not provided then Cloud Deploy will perform the render operations via
@@ -668,15 +737,14 @@ public java.lang.String getRenderAction() {
      * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for renderAction. */ - public com.google.protobuf.ByteString - getRenderActionBytes() { + public com.google.protobuf.ByteString getRenderActionBytes() { java.lang.Object ref = renderAction_; 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); renderAction_ = b; return b; } else { @@ -684,6 +752,8 @@ public java.lang.String getRenderAction() { } } /** + * + * *
      * Optional. The Skaffold custom action responsible for render operations. If
      * not provided then Cloud Deploy will perform the render operations via
@@ -691,18 +761,22 @@ public java.lang.String getRenderAction() {
      * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The renderAction to set. * @return This builder for chaining. */ - public Builder setRenderAction( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRenderAction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } renderAction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The Skaffold custom action responsible for render operations. If
      * not provided then Cloud Deploy will perform the render operations via
@@ -710,6 +784,7 @@ public Builder setRenderAction(
      * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRenderAction() { @@ -719,6 +794,8 @@ public Builder clearRenderAction() { return this; } /** + * + * *
      * Optional. The Skaffold custom action responsible for render operations. If
      * not provided then Cloud Deploy will perform the render operations via
@@ -726,12 +803,14 @@ public Builder clearRenderAction() {
      * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for renderAction to set. * @return This builder for chaining. */ - public Builder setRenderActionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRenderActionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); renderAction_ = value; bitField0_ |= 0x00000001; @@ -741,18 +820,20 @@ public Builder setRenderActionBytes( private java.lang.Object deployAction_ = ""; /** + * + * *
      * Required. The Skaffold custom action responsible for deploy operations.
      * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployAction. */ public java.lang.String getDeployAction() { java.lang.Object ref = deployAction_; 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(); deployAction_ = s; return s; @@ -761,20 +842,21 @@ public java.lang.String getDeployAction() { } } /** + * + * *
      * Required. The Skaffold custom action responsible for deploy operations.
      * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployAction. */ - public com.google.protobuf.ByteString - getDeployActionBytes() { + public com.google.protobuf.ByteString getDeployActionBytes() { java.lang.Object ref = deployAction_; 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); deployAction_ = b; return b; } else { @@ -782,28 +864,35 @@ public java.lang.String getDeployAction() { } } /** + * + * *
      * Required. The Skaffold custom action responsible for deploy operations.
      * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The deployAction to set. * @return This builder for chaining. */ - public Builder setDeployAction( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeployAction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deployAction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The Skaffold custom action responsible for deploy operations.
      * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDeployAction() { @@ -813,17 +902,21 @@ public Builder clearDeployAction() { return this; } /** + * + * *
      * Required. The Skaffold custom action responsible for deploy operations.
      * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for deployAction to set. * @return This builder for chaining. */ - public Builder setDeployActionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeployActionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deployAction_ = value; bitField0_ |= 0x00000002; @@ -832,26 +925,37 @@ public Builder setDeployActionBytes( } private java.util.List includeSkaffoldModules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIncludeSkaffoldModulesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - includeSkaffoldModules_ = new java.util.ArrayList(includeSkaffoldModules_); + includeSkaffoldModules_ = + new java.util.ArrayList( + includeSkaffoldModules_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules, com.google.cloud.deploy.v1.SkaffoldModules.Builder, com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder> includeSkaffoldModulesBuilder_; + com.google.cloud.deploy.v1.SkaffoldModules, + com.google.cloud.deploy.v1.SkaffoldModules.Builder, + com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder> + includeSkaffoldModulesBuilder_; /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getIncludeSkaffoldModulesList() { + public java.util.List + getIncludeSkaffoldModulesList() { if (includeSkaffoldModulesBuilder_ == null) { return java.util.Collections.unmodifiableList(includeSkaffoldModules_); } else { @@ -859,12 +963,16 @@ public java.util.List getIncludeSkaf } } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getIncludeSkaffoldModulesCount() { if (includeSkaffoldModulesBuilder_ == null) { @@ -874,12 +982,16 @@ public int getIncludeSkaffoldModulesCount() { } } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.SkaffoldModules getIncludeSkaffoldModules(int index) { if (includeSkaffoldModulesBuilder_ == null) { @@ -889,12 +1001,16 @@ public com.google.cloud.deploy.v1.SkaffoldModules getIncludeSkaffoldModules(int } } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIncludeSkaffoldModules( int index, com.google.cloud.deploy.v1.SkaffoldModules value) { @@ -911,12 +1027,16 @@ public Builder setIncludeSkaffoldModules( return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIncludeSkaffoldModules( int index, com.google.cloud.deploy.v1.SkaffoldModules.Builder builderForValue) { @@ -930,12 +1050,16 @@ public Builder setIncludeSkaffoldModules( return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIncludeSkaffoldModules(com.google.cloud.deploy.v1.SkaffoldModules value) { if (includeSkaffoldModulesBuilder_ == null) { @@ -951,12 +1075,16 @@ public Builder addIncludeSkaffoldModules(com.google.cloud.deploy.v1.SkaffoldModu return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIncludeSkaffoldModules( int index, com.google.cloud.deploy.v1.SkaffoldModules value) { @@ -973,12 +1101,16 @@ public Builder addIncludeSkaffoldModules( return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIncludeSkaffoldModules( com.google.cloud.deploy.v1.SkaffoldModules.Builder builderForValue) { @@ -992,12 +1124,16 @@ public Builder addIncludeSkaffoldModules( return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIncludeSkaffoldModules( int index, com.google.cloud.deploy.v1.SkaffoldModules.Builder builderForValue) { @@ -1011,19 +1147,22 @@ public Builder addIncludeSkaffoldModules( return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllIncludeSkaffoldModules( java.lang.Iterable values) { if (includeSkaffoldModulesBuilder_ == null) { ensureIncludeSkaffoldModulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includeSkaffoldModules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeSkaffoldModules_); onChanged(); } else { includeSkaffoldModulesBuilder_.addAllMessages(values); @@ -1031,12 +1170,16 @@ public Builder addAllIncludeSkaffoldModules( return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIncludeSkaffoldModules() { if (includeSkaffoldModulesBuilder_ == null) { @@ -1049,12 +1192,16 @@ public Builder clearIncludeSkaffoldModules() { return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeIncludeSkaffoldModules(int index) { if (includeSkaffoldModulesBuilder_ == null) { @@ -1067,42 +1214,55 @@ public Builder removeIncludeSkaffoldModules(int index) { return this; } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.SkaffoldModules.Builder getIncludeSkaffoldModulesBuilder( int index) { return getIncludeSkaffoldModulesFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder getIncludeSkaffoldModulesOrBuilder( int index) { if (includeSkaffoldModulesBuilder_ == null) { - return includeSkaffoldModules_.get(index); } else { + return includeSkaffoldModules_.get(index); + } else { return includeSkaffoldModulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getIncludeSkaffoldModulesOrBuilderList() { + public java.util.List + getIncludeSkaffoldModulesOrBuilderList() { if (includeSkaffoldModulesBuilder_ != null) { return includeSkaffoldModulesBuilder_.getMessageOrBuilderList(); } else { @@ -1110,48 +1270,66 @@ public com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder getIncludeSkaffoldMod } } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.SkaffoldModules.Builder addIncludeSkaffoldModulesBuilder() { - return getIncludeSkaffoldModulesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.SkaffoldModules.getDefaultInstance()); + return getIncludeSkaffoldModulesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.SkaffoldModules.getDefaultInstance()); } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.SkaffoldModules.Builder addIncludeSkaffoldModulesBuilder( int index) { - return getIncludeSkaffoldModulesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.SkaffoldModules.getDefaultInstance()); + return getIncludeSkaffoldModulesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.SkaffoldModules.getDefaultInstance()); } /** + * + * *
      * Optional. List of Skaffold modules Cloud Deploy will include in the
      * Skaffold Config as required before performing diagnose.
      * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getIncludeSkaffoldModulesBuilderList() { + public java.util.List + getIncludeSkaffoldModulesBuilderList() { return getIncludeSkaffoldModulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules, com.google.cloud.deploy.v1.SkaffoldModules.Builder, com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder> + com.google.cloud.deploy.v1.SkaffoldModules, + com.google.cloud.deploy.v1.SkaffoldModules.Builder, + com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder> getIncludeSkaffoldModulesFieldBuilder() { if (includeSkaffoldModulesBuilder_ == null) { - includeSkaffoldModulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules, com.google.cloud.deploy.v1.SkaffoldModules.Builder, com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder>( + includeSkaffoldModulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.SkaffoldModules, + com.google.cloud.deploy.v1.SkaffoldModules.Builder, + com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder>( includeSkaffoldModules_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -1160,9 +1338,9 @@ public com.google.cloud.deploy.v1.SkaffoldModules.Builder addIncludeSkaffoldModu } return includeSkaffoldModulesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1172,12 +1350,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CustomTargetSkaffoldActions) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CustomTargetSkaffoldActions) private static final com.google.cloud.deploy.v1.CustomTargetSkaffoldActions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CustomTargetSkaffoldActions(); } @@ -1186,27 +1364,27 @@ public static com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomTargetSkaffoldActions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomTargetSkaffoldActions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1221,6 +1399,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActionsOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActionsOrBuilder.java similarity index 60% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActionsOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActionsOrBuilder.java index 0909c483f466..a45d478de8e0 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActionsOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetSkaffoldActionsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface CustomTargetSkaffoldActionsOrBuilder extends +public interface CustomTargetSkaffoldActionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomTargetSkaffoldActions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The Skaffold custom action responsible for render operations. If
    * not provided then Cloud Deploy will perform the render operations via
@@ -15,10 +33,13 @@ public interface CustomTargetSkaffoldActionsOrBuilder extends
    * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The renderAction. */ java.lang.String getRenderAction(); /** + * + * *
    * Optional. The Skaffold custom action responsible for render operations. If
    * not provided then Cloud Deploy will perform the render operations via
@@ -26,77 +47,100 @@ public interface CustomTargetSkaffoldActionsOrBuilder extends
    * 
* * string render_action = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for renderAction. */ - com.google.protobuf.ByteString - getRenderActionBytes(); + com.google.protobuf.ByteString getRenderActionBytes(); /** + * + * *
    * Required. The Skaffold custom action responsible for deploy operations.
    * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployAction. */ java.lang.String getDeployAction(); /** + * + * *
    * Required. The Skaffold custom action responsible for deploy operations.
    * 
* * string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployAction. */ - com.google.protobuf.ByteString - getDeployActionBytes(); + com.google.protobuf.ByteString getDeployActionBytes(); /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getIncludeSkaffoldModulesList(); + java.util.List getIncludeSkaffoldModulesList(); /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.SkaffoldModules getIncludeSkaffoldModules(int index); /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getIncludeSkaffoldModulesCount(); /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getIncludeSkaffoldModulesOrBuilderList(); /** + * + * *
    * Optional. List of Skaffold modules Cloud Deploy will include in the
    * Skaffold Config as required before performing diagnose.
    * 
* - * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder getIncludeSkaffoldModulesOrBuilder( - int index); + com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder getIncludeSkaffoldModulesOrBuilder(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java index 1bb8d9d8a046..58d12cffb075 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A `CustomTargetType` resource in the Cloud Deploy API.
  *
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.CustomTargetType}
  */
-public final class CustomTargetType extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CustomTargetType extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.CustomTargetType)
     CustomTargetTypeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CustomTargetType.newBuilder() to construct.
   private CustomTargetType(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CustomTargetType() {
     name_ = "";
     customTargetTypeId_ = "";
@@ -33,47 +51,51 @@ private CustomTargetType() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CustomTargetType();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 5:
         return internalGetAnnotations();
       case 6:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.CustomTargetType.class, com.google.cloud.deploy.v1.CustomTargetType.Builder.class);
+            com.google.cloud.deploy.v1.CustomTargetType.class,
+            com.google.cloud.deploy.v1.CustomTargetType.Builder.class);
   }
 
   private int definitionCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object definition_;
+
   public enum DefinitionCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CUSTOM_ACTIONS(10),
     DEFINITION_NOT_SET(0);
     private final int value;
+
     private DefinitionCase(int value) {
       this.value = value;
     }
@@ -89,32 +111,38 @@ public static DefinitionCase valueOf(int value) {
 
     public static DefinitionCase forNumber(int value) {
       switch (value) {
-        case 10: return CUSTOM_ACTIONS;
-        case 0: return DEFINITION_NOT_SET;
-        default: return null;
+        case 10:
+          return CUSTOM_ACTIONS;
+        case 0:
+          return DEFINITION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DefinitionCase
-  getDefinitionCase() {
-    return DefinitionCase.forNumber(
-        definitionCase_);
+  public DefinitionCase getDefinitionCase() {
+    return DefinitionCase.forNumber(definitionCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Optional. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ @java.lang.Override @@ -123,30 +151,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; } } /** + * + * *
    * Optional. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -155,14 +183,18 @@ public java.lang.String getName() { } public static final int CUSTOM_TARGET_TYPE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object customTargetTypeId_ = ""; /** + * + * *
    * Output only. Resource id of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The customTargetTypeId. */ @java.lang.Override @@ -171,29 +203,29 @@ public java.lang.String getCustomTargetTypeId() { 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(); customTargetTypeId_ = s; return s; } } /** + * + * *
    * Output only. Resource id of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for customTargetTypeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomTargetTypeIdBytes() { + public com.google.protobuf.ByteString getCustomTargetTypeIdBytes() { java.lang.Object ref = customTargetTypeId_; 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); customTargetTypeId_ = b; return b; } else { @@ -202,14 +234,18 @@ public java.lang.String getCustomTargetTypeId() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. Unique identifier of the `CustomTargetType`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -218,29 +254,29 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier of the `CustomTargetType`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -249,15 +285,19 @@ public java.lang.String getUid() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the `CustomTargetType`. Max length is 255
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -266,30 +306,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; } } /** + * + * *
    * Optional. Description of the `CustomTargetType`. Max length is 255
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -298,32 +338,35 @@ public java.lang.String getDescription() { } public static final int ANNOTATIONS_FIELD_NUMBER = 5; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -331,23 +374,25 @@ public int getAnnotationsCount() {
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -355,13 +400,16 @@ public java.util.Map getAnnotations() {
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -369,20 +417,23 @@ public java.util.Map getAnnotationsMap() {
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -390,14 +441,15 @@ java.lang.String getAnnotationsOrDefault(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -405,32 +457,34 @@ public java.lang.String getAnnotationsOrThrow( } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -448,20 +502,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -483,6 +538,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -500,17 +557,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -528,11 +587,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -542,11 +601,15 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. Time at which the `CustomTargetType` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -554,11 +617,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the `CustomTargetType` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -566,11 +633,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the `CustomTargetType` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -580,11 +650,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Most recent time at which the `CustomTargetType` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -592,11 +666,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Most recent time at which the `CustomTargetType` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -604,11 +682,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Most recent time at which the `CustomTargetType` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -616,9 +697,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -626,6 +710,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -634,14 +719,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -649,16 +735,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -668,12 +753,15 @@ public java.lang.String getEtag() { public static final int CUSTOM_ACTIONS_FIELD_NUMBER = 10; /** + * + * *
    * Configures render and deploy for the `CustomTargetType` using Skaffold
    * custom actions.
    * 
* * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * * @return Whether the customActions field is set. */ @java.lang.Override @@ -681,22 +769,27 @@ public boolean hasCustomActions() { return definitionCase_ == 10; } /** + * + * *
    * Configures render and deploy for the `CustomTargetType` using Skaffold
    * custom actions.
    * 
* * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * * @return The customActions. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getCustomActions() { if (definitionCase_ == 10) { - return (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_; + return (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_; } return com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.getDefaultInstance(); } /** + * + * *
    * Configures render and deploy for the `CustomTargetType` using Skaffold
    * custom actions.
@@ -705,14 +798,16 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getCustomActions()
    * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;
    */
   @java.lang.Override
-  public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder getCustomActionsOrBuilder() {
+  public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder
+      getCustomActionsOrBuilder() {
     if (definitionCase_ == 10) {
-       return (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_;
+      return (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_;
     }
     return com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -724,8 +819,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_);
     }
@@ -738,18 +832,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAnnotations(),
-        AnnotationsDefaultEntryHolder.defaultEntry,
-        5);
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        6);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6);
     if (createTime_ != null) {
       output.writeMessage(7, getCreateTime());
     }
@@ -783,40 +869,39 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, annotations__);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, labels__);
+    for (java.util.Map.Entry entry :
+        internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry annotations__ =
+          AnnotationsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry labels__ =
+          LabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, labels__);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, etag_);
     }
     if (definitionCase_ == 10) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              10, (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -826,42 +911,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.deploy.v1.CustomTargetType)) {
       return super.equals(obj);
     }
-    com.google.cloud.deploy.v1.CustomTargetType other = (com.google.cloud.deploy.v1.CustomTargetType) obj;
-
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getCustomTargetTypeId()
-        .equals(other.getCustomTargetTypeId())) return false;
-    if (!getUid()
-        .equals(other.getUid())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
-    if (!internalGetAnnotations().equals(
-        other.internalGetAnnotations())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
+    com.google.cloud.deploy.v1.CustomTargetType other =
+        (com.google.cloud.deploy.v1.CustomTargetType) obj;
+
+    if (!getName().equals(other.getName())) return false;
+    if (!getCustomTargetTypeId().equals(other.getCustomTargetTypeId())) return false;
+    if (!getUid().equals(other.getUid())) return false;
+    if (!getDescription().equals(other.getDescription())) return false;
+    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
-    if (!getEtag()
-        .equals(other.getEtag())) return false;
+    if (!getEtag().equals(other.getEtag())) return false;
     if (!getDefinitionCase().equals(other.getDefinitionCase())) return false;
     switch (definitionCase_) {
       case 10:
-        if (!getCustomActions()
-            .equals(other.getCustomActions())) return false;
+        if (!getCustomActions().equals(other.getCustomActions())) return false;
         break;
       case 0:
       default:
@@ -916,99 +992,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.deploy.v1.CustomTargetType parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.deploy.v1.CustomTargetType parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.deploy.v1.CustomTargetType parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.CustomTargetType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.deploy.v1.CustomTargetType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A `CustomTargetType` resource in the Cloud Deploy API.
    *
@@ -1019,59 +1100,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.CustomTargetType}
    */
-  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.cloud.deploy.v1.CustomTargetType)
       com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 5:
           return internalGetAnnotations();
         case 6:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 5:
           return internalGetMutableAnnotations();
         case 6:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.CustomTargetType.class, com.google.cloud.deploy.v1.CustomTargetType.Builder.class);
+              com.google.cloud.deploy.v1.CustomTargetType.class,
+              com.google.cloud.deploy.v1.CustomTargetType.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.CustomTargetType.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1102,9 +1180,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor;
     }
 
     @java.lang.Override
@@ -1123,8 +1201,11 @@ public com.google.cloud.deploy.v1.CustomTargetType build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.CustomTargetType buildPartial() {
-      com.google.cloud.deploy.v1.CustomTargetType result = new com.google.cloud.deploy.v1.CustomTargetType(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.CustomTargetType result =
+          new com.google.cloud.deploy.v1.CustomTargetType(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1153,14 +1234,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomTargetType result) {
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.etag_ = etag_;
@@ -1170,8 +1247,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.CustomTargetType result) {
     private void buildPartialOneofs(com.google.cloud.deploy.v1.CustomTargetType result) {
       result.definitionCase_ = definitionCase_;
       result.definition_ = this.definition_;
-      if (definitionCase_ == 10 &&
-          customActionsBuilder_ != null) {
+      if (definitionCase_ == 10 && customActionsBuilder_ != null) {
         result.definition_ = customActionsBuilder_.build();
       }
     }
@@ -1180,38 +1256,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.CustomTargetType resu
     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) {
+        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) {
+        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.cloud.deploy.v1.CustomTargetType) {
-        return mergeFrom((com.google.cloud.deploy.v1.CustomTargetType)other);
+        return mergeFrom((com.google.cloud.deploy.v1.CustomTargetType) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1240,11 +1317,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.CustomTargetType other) {
         bitField0_ |= 0x00000008;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00000010;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -1258,13 +1333,15 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.CustomTargetType other) {
         onChanged();
       }
       switch (other.getDefinitionCase()) {
-        case CUSTOM_ACTIONS: {
-          mergeCustomActions(other.getCustomActions());
-          break;
-        }
-        case DEFINITION_NOT_SET: {
-          break;
-        }
+        case CUSTOM_ACTIONS:
+          {
+            mergeCustomActions(other.getCustomActions());
+            break;
+          }
+        case DEFINITION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1292,76 +1369,85 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              customTargetTypeId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 74: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 82: {
-              input.readMessage(
-                  getCustomActionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              definitionCase_ = 10;
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                customTargetTypeId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 74:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 82:
+              {
+                input.readMessage(getCustomActionsFieldBuilder().getBuilder(), extensionRegistry);
+                definitionCase_ = 10;
+                break;
+              } // case 82
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1371,12 +1457,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int definitionCase_ = 0;
     private java.lang.Object definition_;
-    public DefinitionCase
-        getDefinitionCase() {
-      return DefinitionCase.forNumber(
-          definitionCase_);
+
+    public DefinitionCase getDefinitionCase() {
+      return DefinitionCase.forNumber(definitionCase_);
     }
 
     public Builder clearDefinition() {
@@ -1390,19 +1476,21 @@ public Builder clearDefinition() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optional. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1411,21 +1499,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1433,30 +1522,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1466,18 +1562,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1487,18 +1587,20 @@ public Builder setNameBytes( private java.lang.Object customTargetTypeId_ = ""; /** + * + * *
      * Output only. Resource id of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The customTargetTypeId. */ public java.lang.String getCustomTargetTypeId() { java.lang.Object ref = customTargetTypeId_; 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(); customTargetTypeId_ = s; return s; @@ -1507,20 +1609,21 @@ public java.lang.String getCustomTargetTypeId() { } } /** + * + * *
      * Output only. Resource id of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for customTargetTypeId. */ - public com.google.protobuf.ByteString - getCustomTargetTypeIdBytes() { + public com.google.protobuf.ByteString getCustomTargetTypeIdBytes() { java.lang.Object ref = customTargetTypeId_; 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); customTargetTypeId_ = b; return b; } else { @@ -1528,28 +1631,35 @@ public java.lang.String getCustomTargetTypeId() { } } /** + * + * *
      * Output only. Resource id of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The customTargetTypeId to set. * @return This builder for chaining. */ - public Builder setCustomTargetTypeId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomTargetTypeId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customTargetTypeId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Resource id of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCustomTargetTypeId() { @@ -1559,17 +1669,21 @@ public Builder clearCustomTargetTypeId() { return this; } /** + * + * *
      * Output only. Resource id of the `CustomTargetType`.
      * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for customTargetTypeId to set. * @return This builder for chaining. */ - public Builder setCustomTargetTypeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomTargetTypeIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customTargetTypeId_ = value; bitField0_ |= 0x00000002; @@ -1579,18 +1693,20 @@ public Builder setCustomTargetTypeIdBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Unique identifier of the `CustomTargetType`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -1599,20 +1715,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `CustomTargetType`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -1620,28 +1737,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `CustomTargetType`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier of the `CustomTargetType`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1651,17 +1775,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. Unique identifier of the `CustomTargetType`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -1671,19 +1799,21 @@ public Builder setUidBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the `CustomTargetType`. Max length is 255
      * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1692,21 +1822,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the `CustomTargetType`. Max length is 255
      * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1714,30 +1845,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the `CustomTargetType`. Max length is 255
      * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Description of the `CustomTargetType`. Max length is 255
      * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1747,18 +1885,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the `CustomTargetType`. Max length is 255
      * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -1766,8 +1908,8 @@ public Builder setDescriptionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -1776,11 +1918,12 @@ public Builder setDescriptionBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -1789,10 +1932,13 @@ public Builder setDescriptionBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -1800,23 +1946,25 @@ public int getAnnotationsCount() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -1824,13 +1972,16 @@ public java.util.Map getAnnotations() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -1838,20 +1989,23 @@ public java.util.Map getAnnotationsMap() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -1859,26 +2013,29 @@ java.lang.String getAnnotationsOrDefault(
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -1886,25 +2043,25 @@ public Builder clearAnnotations() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00000010; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -1912,19 +2069,23 @@ public Builder removeAnnotations(
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -1932,31 +2093,28 @@ public Builder putAnnotations(
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1965,10 +2123,13 @@ public Builder putAllAnnotations( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1986,20 +2147,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2021,6 +2183,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2038,17 +2202,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2066,23 +2232,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000020);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2099,23 +2267,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000020;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2132,17 +2299,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000020;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2159,49 +2329,66 @@ public Builder putLabels(
      *
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000020;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2217,14 +2404,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2235,17 +2425,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2258,11 +2452,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2275,11 +2473,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; @@ -2287,36 +2489,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the `CustomTargetType` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2324,39 +2538,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2372,14 +2605,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2390,17 +2626,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2413,11 +2653,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2430,11 +2674,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000080; @@ -2442,36 +2690,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Most recent time at which the `CustomTargetType` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2479,6 +2739,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -2486,13 +2748,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -2501,6 +2763,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -2508,15 +2772,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -2524,6 +2787,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -2531,18 +2796,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -2550,6 +2819,7 @@ public Builder setEtag(
      * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2559,6 +2829,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -2566,12 +2838,14 @@ public Builder clearEtag() {
      * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000100; @@ -2580,14 +2854,20 @@ public Builder setEtagBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetSkaffoldActions, com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder, com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder> customActionsBuilder_; + com.google.cloud.deploy.v1.CustomTargetSkaffoldActions, + com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder, + com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder> + customActionsBuilder_; /** + * + * *
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
      * 
* * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * * @return Whether the customActions field is set. */ @java.lang.Override @@ -2595,12 +2875,15 @@ public boolean hasCustomActions() { return definitionCase_ == 10; } /** + * + * *
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
      * 
* * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * * @return The customActions. */ @java.lang.Override @@ -2618,6 +2901,8 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getCustomActions() } } /** + * + * *
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
@@ -2639,6 +2924,8 @@ public Builder setCustomActions(com.google.cloud.deploy.v1.CustomTargetSkaffoldA
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
@@ -2658,6 +2945,8 @@ public Builder setCustomActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
@@ -2665,12 +2954,17 @@ public Builder setCustomActions(
      *
      * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;
      */
-    public Builder mergeCustomActions(com.google.cloud.deploy.v1.CustomTargetSkaffoldActions value) {
+    public Builder mergeCustomActions(
+        com.google.cloud.deploy.v1.CustomTargetSkaffoldActions value) {
       if (customActionsBuilder_ == null) {
-        if (definitionCase_ == 10 &&
-            definition_ != com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.getDefaultInstance()) {
-          definition_ = com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.newBuilder((com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_)
-              .mergeFrom(value).buildPartial();
+        if (definitionCase_ == 10
+            && definition_
+                != com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.getDefaultInstance()) {
+          definition_ =
+              com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.newBuilder(
+                      (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           definition_ = value;
         }
@@ -2686,6 +2980,8 @@ public Builder mergeCustomActions(com.google.cloud.deploy.v1.CustomTargetSkaffol
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
@@ -2710,6 +3006,8 @@ public Builder clearCustomActions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
@@ -2717,10 +3015,13 @@ public Builder clearCustomActions() {
      *
      * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;
      */
-    public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder getCustomActionsBuilder() {
+    public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder
+        getCustomActionsBuilder() {
       return getCustomActionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
@@ -2729,7 +3030,8 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder getCustomA
      * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;
      */
     @java.lang.Override
-    public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder getCustomActionsOrBuilder() {
+    public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder
+        getCustomActionsOrBuilder() {
       if ((definitionCase_ == 10) && (customActionsBuilder_ != null)) {
         return customActionsBuilder_.getMessageOrBuilder();
       } else {
@@ -2740,6 +3042,8 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder getCustom
       }
     }
     /**
+     *
+     *
      * 
      * Configures render and deploy for the `CustomTargetType` using Skaffold
      * custom actions.
@@ -2748,14 +3052,19 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder getCustom
      * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.CustomTargetSkaffoldActions, com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder, com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder> 
+            com.google.cloud.deploy.v1.CustomTargetSkaffoldActions,
+            com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder,
+            com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder>
         getCustomActionsFieldBuilder() {
       if (customActionsBuilder_ == null) {
         if (!(definitionCase_ == 10)) {
           definition_ = com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.getDefaultInstance();
         }
-        customActionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.deploy.v1.CustomTargetSkaffoldActions, com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder, com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder>(
+        customActionsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.deploy.v1.CustomTargetSkaffoldActions,
+                com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder,
+                com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder>(
                 (com.google.cloud.deploy.v1.CustomTargetSkaffoldActions) definition_,
                 getParentForChildren(),
                 isClean());
@@ -2765,9 +3074,9 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder getCustom
       onChanged();
       return customActionsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2777,12 +3086,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.CustomTargetType)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.CustomTargetType)
   private static final com.google.cloud.deploy.v1.CustomTargetType DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.CustomTargetType();
   }
@@ -2791,27 +3100,27 @@ public static com.google.cloud.deploy.v1.CustomTargetType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CustomTargetType parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CustomTargetType parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2826,6 +3135,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.deploy.v1.CustomTargetType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeName.java
similarity index 100%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeName.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeName.java
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java
index e82661cf6205..7b13e14a6105 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java
@@ -1,97 +1,135 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
-public interface CustomTargetTypeOrBuilder extends
+public interface CustomTargetTypeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomTargetType)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Optional. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Resource id of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The customTargetTypeId. */ java.lang.String getCustomTargetTypeId(); /** + * + * *
    * Output only. Resource id of the `CustomTargetType`.
    * 
* * string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for customTargetTypeId. */ - com.google.protobuf.ByteString - getCustomTargetTypeIdBytes(); + com.google.protobuf.ByteString getCustomTargetTypeIdBytes(); /** + * + * *
    * Output only. Unique identifier of the `CustomTargetType`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Unique identifier of the `CustomTargetType`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Optional. Description of the `CustomTargetType`. Max length is 255
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the `CustomTargetType`. Max length is 255
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -99,10 +137,13 @@ public interface CustomTargetTypeOrBuilder extends
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -110,17 +151,16 @@ public interface CustomTargetTypeOrBuilder extends
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -128,11 +168,13 @@ boolean containsAnnotations(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -140,14 +182,17 @@ boolean containsAnnotations(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -155,12 +200,14 @@ java.lang.String getAnnotationsOrDefault(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -179,6 +226,8 @@ java.lang.String getAnnotationsOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -195,15 +244,13 @@ java.lang.String getAnnotationsOrThrow(
    *
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -220,9 +267,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -240,11 +288,13 @@ boolean containsLabels(
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -261,64 +311,87 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Time at which the `CustomTargetType` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the `CustomTargetType` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the `CustomTargetType` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Most recent time at which the `CustomTargetType` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Most recent time at which the `CustomTargetType` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Most recent time at which the `CustomTargetType` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -326,10 +399,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -337,32 +413,40 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Configures render and deploy for the `CustomTargetType` using Skaffold
    * custom actions.
    * 
* * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * * @return Whether the customActions field is set. */ boolean hasCustomActions(); /** + * + * *
    * Configures render and deploy for the `CustomTargetType` using Skaffold
    * custom actions.
    * 
* * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * * @return The customActions. */ com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getCustomActions(); /** + * + * *
    * Configures render and deploy for the `CustomTargetType` using Skaffold
    * custom actions.
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java
similarity index 71%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java
index 3bb3d9724f40..4753e243d2df 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
 /**
+ *
+ *
  * 
  * Execution using the default Cloud Build pool.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DefaultPool} */ -public final class DefaultPool extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DefaultPool extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DefaultPool) DefaultPoolOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DefaultPool.newBuilder() to construct. private DefaultPool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DefaultPool() { serviceAccount_ = ""; artifactStorage_ = ""; @@ -26,28 +44,32 @@ private DefaultPool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DefaultPool(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DefaultPool.class, com.google.cloud.deploy.v1.DefaultPool.Builder.class); + com.google.cloud.deploy.v1.DefaultPool.class, + com.google.cloud.deploy.v1.DefaultPool.Builder.class); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ @java.lang.Override @@ -63,14 +86,15 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -78,16 +102,15 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -96,9 +119,12 @@ public java.lang.String getServiceAccount() { } public static final int ARTIFACT_STORAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object artifactStorage_ = ""; /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -107,6 +133,7 @@ public java.lang.String getServiceAccount() {
    * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ @java.lang.Override @@ -115,14 +142,15 @@ public java.lang.String getArtifactStorage() { 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(); artifactStorage_ = s; return s; } } /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -131,16 +159,15 @@ public java.lang.String getArtifactStorage() {
    * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactStorageBytes() { + public com.google.protobuf.ByteString getArtifactStorageBytes() { java.lang.Object ref = artifactStorage_; 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); artifactStorage_ = b; return b; } else { @@ -149,6 +176,7 @@ public java.lang.String getArtifactStorage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,8 +188,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(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccount_); } @@ -191,17 +218,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.cloud.deploy.v1.DefaultPool)) { return super.equals(obj); } com.google.cloud.deploy.v1.DefaultPool other = (com.google.cloud.deploy.v1.DefaultPool) obj; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getArtifactStorage() - .equals(other.getArtifactStorage())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getArtifactStorage().equals(other.getArtifactStorage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,132 +247,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DefaultPool parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DefaultPool parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.DefaultPool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DefaultPool parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DefaultPool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DefaultPool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Execution using the default Cloud Build pool.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DefaultPool} */ - 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.cloud.deploy.v1.DefaultPool) com.google.cloud.deploy.v1.DefaultPoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DefaultPool.class, com.google.cloud.deploy.v1.DefaultPool.Builder.class); + com.google.cloud.deploy.v1.DefaultPool.class, + com.google.cloud.deploy.v1.DefaultPool.Builder.class); } // Construct using com.google.cloud.deploy.v1.DefaultPool.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; } @java.lang.Override @@ -379,8 +408,11 @@ public com.google.cloud.deploy.v1.DefaultPool build() { @java.lang.Override public com.google.cloud.deploy.v1.DefaultPool buildPartial() { - com.google.cloud.deploy.v1.DefaultPool result = new com.google.cloud.deploy.v1.DefaultPool(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DefaultPool result = + new com.google.cloud.deploy.v1.DefaultPool(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -399,38 +431,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DefaultPool result) { 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) { + 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) { + 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.cloud.deploy.v1.DefaultPool) { - return mergeFrom((com.google.cloud.deploy.v1.DefaultPool)other); + return mergeFrom((com.google.cloud.deploy.v1.DefaultPool) other); } else { super.mergeFrom(other); return this; @@ -475,22 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - artifactStorage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serviceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + artifactStorage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,10 +536,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -511,13 +550,13 @@ public Builder mergeFrom(
      * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -526,6 +565,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -533,15 +574,14 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -549,6 +589,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -556,18 +598,22 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -575,6 +621,7 @@ public Builder setServiceAccount(
      * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -584,6 +631,8 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -591,12 +640,14 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000001; @@ -606,6 +657,8 @@ public Builder setServiceAccountBytes( private java.lang.Object artifactStorage_ = ""; /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -614,13 +667,13 @@ public Builder setServiceAccountBytes(
      * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ public java.lang.String getArtifactStorage() { java.lang.Object ref = artifactStorage_; 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(); artifactStorage_ = s; return s; @@ -629,6 +682,8 @@ public java.lang.String getArtifactStorage() { } } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -637,15 +692,14 @@ public java.lang.String getArtifactStorage() {
      * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ - public com.google.protobuf.ByteString - getArtifactStorageBytes() { + public com.google.protobuf.ByteString getArtifactStorageBytes() { java.lang.Object ref = artifactStorage_; 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); artifactStorage_ = b; return b; } else { @@ -653,6 +707,8 @@ public java.lang.String getArtifactStorage() { } } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -661,18 +717,22 @@ public java.lang.String getArtifactStorage() {
      * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The artifactStorage to set. * @return This builder for chaining. */ - public Builder setArtifactStorage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactStorage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifactStorage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -681,6 +741,7 @@ public Builder setArtifactStorage(
      * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearArtifactStorage() { @@ -690,6 +751,8 @@ public Builder clearArtifactStorage() { return this; } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -698,21 +761,23 @@ public Builder clearArtifactStorage() {
      * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for artifactStorage to set. * @return This builder for chaining. */ - public Builder setArtifactStorageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactStorageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifactStorage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -722,12 +787,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DefaultPool) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DefaultPool) private static final com.google.cloud.deploy.v1.DefaultPool DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DefaultPool(); } @@ -736,27 +801,27 @@ public static com.google.cloud.deploy.v1.DefaultPool getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DefaultPool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DefaultPool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -771,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DefaultPool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java index 8e656c530d6e..083d2a4f5401 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DefaultPoolOrBuilder extends +public interface DefaultPoolOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DefaultPool) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -15,10 +33,13 @@ public interface DefaultPoolOrBuilder extends
    * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -26,12 +47,14 @@ public interface DefaultPoolOrBuilder extends
    * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -40,10 +63,13 @@ public interface DefaultPoolOrBuilder extends
    * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ java.lang.String getArtifactStorage(); /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -52,8 +78,8 @@ public interface DefaultPoolOrBuilder extends
    * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ - com.google.protobuf.ByteString - getArtifactStorageBytes(); + com.google.protobuf.ByteString getArtifactStorageBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequest.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequest.java index dc95ec20ac5b..75259b00bbef 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `DeleteAutomation`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteAutomationRequest} */ -public final class DeleteAutomationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAutomationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeleteAutomationRequest) DeleteAutomationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAutomationRequest.newBuilder() to construct. private DeleteAutomationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAutomationRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteAutomationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAutomationRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteAutomationRequest.class, com.google.cloud.deploy.v1.DeleteAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteAutomationRequest.class, + com.google.cloud.deploy.v1.DeleteAutomationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the `Automation` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,32 @@ 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 `Automation` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -95,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `Automation` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -184,12 +218,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, validate the request and verify whether the resource
    * exists, but do not actually post it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -198,9 +235,12 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The weak etag of the request.
    * This checksum is computed by the server based on the value of other
@@ -209,6 +249,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -217,14 +258,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Optional. The weak etag of the request.
    * This checksum is computed by the server based on the value of other
@@ -233,16 +275,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -251,6 +292,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +304,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_); } @@ -295,12 +336,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); @@ -313,23 +352,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.cloud.deploy.v1.DeleteAutomationRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeleteAutomationRequest other = (com.google.cloud.deploy.v1.DeleteAutomationRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.deploy.v1.DeleteAutomationRequest other = + (com.google.cloud.deploy.v1.DeleteAutomationRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -346,11 +381,9 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -359,131 +392,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.DeleteAutomationRequest 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.cloud.deploy.v1.DeleteAutomationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteAutomationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeleteAutomationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `DeleteAutomation`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteAutomationRequest} */ - 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.cloud.deploy.v1.DeleteAutomationRequest) com.google.cloud.deploy.v1.DeleteAutomationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteAutomationRequest.class, com.google.cloud.deploy.v1.DeleteAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteAutomationRequest.class, + com.google.cloud.deploy.v1.DeleteAutomationRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeleteAutomationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; } @java.lang.Override @@ -518,8 +555,11 @@ public com.google.cloud.deploy.v1.DeleteAutomationRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.DeleteAutomationRequest buildPartial() { - com.google.cloud.deploy.v1.DeleteAutomationRequest result = new com.google.cloud.deploy.v1.DeleteAutomationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeleteAutomationRequest result = + new com.google.cloud.deploy.v1.DeleteAutomationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -547,38 +587,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeleteAutomationRequest re 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) { + 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) { + 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.cloud.deploy.v1.DeleteAutomationRequest) { - return mergeFrom((com.google.cloud.deploy.v1.DeleteAutomationRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.DeleteAutomationRequest) other); } else { super.mergeFrom(other); return this; @@ -586,7 +627,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.DeleteAutomationRequest other) { - if (other == com.google.cloud.deploy.v1.DeleteAutomationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.DeleteAutomationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -634,37 +676,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,23 +722,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Automation` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -699,21 +752,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Automation` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -721,30 +777,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Automation` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Automation` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -754,18 +821,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the `Automation` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -775,6 +848,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -792,13 +867,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -807,6 +882,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -824,15 +901,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -840,6 +916,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -857,18 +935,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -886,6 +968,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -895,6 +978,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -912,12 +997,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -925,14 +1012,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `Automation` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -940,12 +1030,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `Automation` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -957,12 +1050,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `Automation` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -972,14 +1068,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, validate the request and verify whether the resource
      * exists, but do not actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -987,12 +1086,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, validate the request and verify whether the resource
      * exists, but do not actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1004,12 +1106,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, validate the request and verify whether the resource
      * exists, but do not actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1021,6 +1126,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The weak etag of the request.
      * This checksum is computed by the server based on the value of other
@@ -1029,13 +1136,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -1044,6 +1151,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The weak etag of the request.
      * This checksum is computed by the server based on the value of other
@@ -1052,15 +1161,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1068,6 +1176,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The weak etag of the request.
      * This checksum is computed by the server based on the value of other
@@ -1076,18 +1186,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The weak etag of the request.
      * This checksum is computed by the server based on the value of other
@@ -1096,6 +1210,7 @@ public Builder setEtag(
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1105,6 +1220,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The weak etag of the request.
      * This checksum is computed by the server based on the value of other
@@ -1113,21 +1230,23 @@ public Builder clearEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1137,12 +1256,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeleteAutomationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeleteAutomationRequest) private static final com.google.cloud.deploy.v1.DeleteAutomationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeleteAutomationRequest(); } @@ -1151,27 +1270,27 @@ public static com.google.cloud.deploy.v1.DeleteAutomationRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAutomationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAutomationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,6 +1305,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeleteAutomationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequestOrBuilder.java index b5dc99908721..dd29d1283daf 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteAutomationRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeleteAutomationRequestOrBuilder extends +public interface DeleteAutomationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeleteAutomationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Automation` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the `Automation` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -47,10 +74,13 @@ public interface DeleteAutomationRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -68,34 +98,42 @@ public interface DeleteAutomationRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `Automation` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set, validate the request and verify whether the resource
    * exists, but do not actually post it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. The weak etag of the request.
    * This checksum is computed by the server based on the value of other
@@ -104,10 +142,13 @@ public interface DeleteAutomationRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The weak etag of the request.
    * This checksum is computed by the server based on the value of other
@@ -116,8 +157,8 @@ public interface DeleteAutomationRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequest.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequest.java index 3a5523d60bc5..e5fecdd027a9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `DeleteCustomTargetType`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteCustomTargetTypeRequest} */ -public final class DeleteCustomTargetTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCustomTargetTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) DeleteCustomTargetTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCustomTargetTypeRequest.newBuilder() to construct. private DeleteCustomTargetTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCustomTargetTypeRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteCustomTargetTypeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCustomTargetTypeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the `CustomTargetType` to delete. Format must be
    * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,32 @@ 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 `CustomTargetType` to delete. Format must be
    * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -95,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `CustomTargetType` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -184,12 +218,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated but no actual change is
    * made.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -198,9 +235,12 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -208,6 +248,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -216,14 +257,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -231,16 +273,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -249,6 +290,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +302,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_); } @@ -293,12 +334,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); @@ -311,23 +350,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.cloud.deploy.v1.DeleteCustomTargetTypeRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest other = (com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest other = + (com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,11 +379,9 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -357,131 +390,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest 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.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `DeleteCustomTargetType`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteCustomTargetTypeRequest} */ - 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.cloud.deploy.v1.DeleteCustomTargetTypeRequest) com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +533,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; } @java.lang.Override @@ -516,8 +554,11 @@ public com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest buildPartial() { - com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest result = new com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest result = + new com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -545,38 +586,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequ 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) { + 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) { + 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.cloud.deploy.v1.DeleteCustomTargetTypeRequest) { - return mergeFrom((com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -584,7 +626,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest other) { - if (other == com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -632,37 +675,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -672,23 +721,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `CustomTargetType` to delete. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -697,21 +751,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `CustomTargetType` to delete. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -719,30 +776,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `CustomTargetType` to delete. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the `CustomTargetType` to delete. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -752,18 +820,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the `CustomTargetType` to delete. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -773,6 +847,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -790,13 +866,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -805,6 +881,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -822,15 +900,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -838,6 +915,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -855,18 +934,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -884,6 +967,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -893,6 +977,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -910,12 +996,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -923,14 +1011,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `CustomTargetType` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -938,12 +1029,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `CustomTargetType` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -955,12 +1049,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `CustomTargetType` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -970,14 +1067,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated but no actual change is
      * made.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -985,12 +1085,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated but no actual change is
      * made.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1002,12 +1105,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated but no actual change is
      * made.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1019,6 +1125,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1026,13 +1134,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -1041,6 +1149,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1048,15 +1158,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1064,6 +1173,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1071,18 +1182,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1090,6 +1205,7 @@ public Builder setEtag(
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1099,6 +1215,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1106,21 +1224,23 @@ public Builder clearEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1130,12 +1250,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) private static final com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest(); } @@ -1144,27 +1264,27 @@ public static com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCustomTargetTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCustomTargetTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,6 +1299,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequestOrBuilder.java index 3c76ac2fecbc..041469dfe831 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteCustomTargetTypeRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeleteCustomTargetTypeRequestOrBuilder extends +public interface DeleteCustomTargetTypeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `CustomTargetType` to delete. Format must be
    * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the `CustomTargetType` to delete. Format must be
    * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -47,10 +74,13 @@ public interface DeleteCustomTargetTypeRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -68,34 +98,42 @@ public interface DeleteCustomTargetTypeRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `CustomTargetType` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set to true, the request is validated but no actual change is
    * made.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -103,10 +141,13 @@ public interface DeleteCustomTargetTypeRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -114,8 +155,8 @@ public interface DeleteCustomTargetTypeRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java index 099141279aef..d2c03fc7d5a0 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `DeleteDeliveryPipeline`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteDeliveryPipelineRequest} */ -public final class DeleteDeliveryPipelineRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDeliveryPipelineRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) DeleteDeliveryPipelineRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDeliveryPipelineRequest.newBuilder() to construct. private DeleteDeliveryPipelineRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDeliveryPipelineRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteDeliveryPipelineRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDeliveryPipelineRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the `DeliveryPipeline` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,32 @@ 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 `DeliveryPipeline` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -95,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `DeliveryPipeline` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -184,12 +218,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, validate the request and preview the review, but do not
    * actually post it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -200,6 +237,8 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 6; private boolean force_ = false; /** + * + * *
    * Optional. If set to true, all child resources under this pipeline will also
    * be deleted. Otherwise, the request will only work if the pipeline has no
@@ -207,6 +246,7 @@ public boolean getValidateOnly() {
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -215,9 +255,12 @@ public boolean getForce() { } public static final int ETAG_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -225,6 +268,7 @@ public boolean getForce() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -233,14 +277,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -248,16 +293,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -266,6 +310,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,8 +322,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_); } @@ -313,19 +357,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -335,25 +376,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.cloud.deploy.v1.DeleteDeliveryPipelineRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest other = (com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getForce() - != other.getForce()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest other = + (com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getForce() != other.getForce()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,14 +406,11 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -386,131 +419,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest 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.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `DeleteDeliveryPipeline`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteDeliveryPipelineRequest} */ - 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.cloud.deploy.v1.DeleteDeliveryPipelineRequest) com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; } @java.lang.Override @@ -546,8 +584,11 @@ public com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest buildPartial() { - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest result = + new com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -578,38 +619,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequ 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) { + 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) { + 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.cloud.deploy.v1.DeleteDeliveryPipelineRequest) { - return mergeFrom((com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) other); } else { super.mergeFrom(other); return this; @@ -617,7 +659,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest other) { - if (other == com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -668,42 +711,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: { - force_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: + { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -713,23 +763,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `DeliveryPipeline` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -738,21 +793,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `DeliveryPipeline` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -760,30 +818,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `DeliveryPipeline` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the `DeliveryPipeline` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -793,18 +862,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the `DeliveryPipeline` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -814,6 +889,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -831,13 +908,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -846,6 +923,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -863,15 +942,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -879,6 +957,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -896,18 +976,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -925,6 +1009,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -934,6 +1019,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -951,12 +1038,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -964,14 +1053,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `DeliveryPipeline` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -979,12 +1071,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `DeliveryPipeline` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -996,12 +1091,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `DeliveryPipeline` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1011,14 +1109,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, validate the request and preview the review, but do not
      * actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1026,12 +1127,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, validate the request and preview the review, but do not
      * actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1043,12 +1147,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, validate the request and preview the review, but do not
      * actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1058,8 +1165,10 @@ public Builder clearValidateOnly() { return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. If set to true, all child resources under this pipeline will also
      * be deleted. Otherwise, the request will only work if the pipeline has no
@@ -1067,6 +1176,7 @@ public Builder clearValidateOnly() {
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -1074,6 +1184,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. If set to true, all child resources under this pipeline will also
      * be deleted. Otherwise, the request will only work if the pipeline has no
@@ -1081,6 +1193,7 @@ public boolean getForce() {
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -1092,6 +1205,8 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, all child resources under this pipeline will also
      * be deleted. Otherwise, the request will only work if the pipeline has no
@@ -1099,6 +1214,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -1110,6 +1226,8 @@ public Builder clearForce() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1117,13 +1235,13 @@ public Builder clearForce() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -1132,6 +1250,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1139,15 +1259,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1155,6 +1274,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1162,18 +1283,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1181,6 +1306,7 @@ public Builder setEtag(
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1190,6 +1316,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1197,21 +1325,23 @@ public Builder clearEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1221,12 +1351,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) private static final com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest(); } @@ -1235,27 +1365,27 @@ public static com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDeliveryPipelineRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDeliveryPipelineRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1270,6 +1400,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java index 63d921599471..a01b5a6ab16b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeleteDeliveryPipelineRequestOrBuilder extends +public interface DeleteDeliveryPipelineRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `DeliveryPipeline` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the `DeliveryPipeline` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -47,10 +74,13 @@ public interface DeleteDeliveryPipelineRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -68,34 +98,42 @@ public interface DeleteDeliveryPipelineRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `DeliveryPipeline` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set, validate the request and preview the review, but do not
    * actually post it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, all child resources under this pipeline will also
    * be deleted. Otherwise, the request will only work if the pipeline has no
@@ -103,11 +141,14 @@ public interface DeleteDeliveryPipelineRequestOrBuilder extends
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ boolean getForce(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -115,10 +156,13 @@ public interface DeleteDeliveryPipelineRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -126,8 +170,8 @@ public interface DeleteDeliveryPipelineRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java index e23b0ab7461e..afee24819ddf 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `DeleteTarget`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteTargetRequest} */ -public final class DeleteTargetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTargetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeleteTargetRequest) DeleteTargetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTargetRequest.newBuilder() to construct. private DeleteTargetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTargetRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteTargetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTargetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteTargetRequest.class, com.google.cloud.deploy.v1.DeleteTargetRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteTargetRequest.class, + com.google.cloud.deploy.v1.DeleteTargetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the `Target` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,32 @@ 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 `Target` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -95,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `Target` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -184,12 +218,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, validate the request and preview the review, but do not
    * actually post it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -198,9 +235,12 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -208,6 +248,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -216,14 +257,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -231,16 +273,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -249,6 +290,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +302,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_); } @@ -293,12 +334,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); @@ -311,23 +350,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.cloud.deploy.v1.DeleteTargetRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeleteTargetRequest other = (com.google.cloud.deploy.v1.DeleteTargetRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.deploy.v1.DeleteTargetRequest other = + (com.google.cloud.deploy.v1.DeleteTargetRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,11 +379,9 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -356,132 +389,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeleteTargetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeleteTargetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeleteTargetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeleteTargetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `DeleteTarget`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeleteTargetRequest} */ - 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.cloud.deploy.v1.DeleteTargetRequest) com.google.cloud.deploy.v1.DeleteTargetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeleteTargetRequest.class, com.google.cloud.deploy.v1.DeleteTargetRequest.Builder.class); + com.google.cloud.deploy.v1.DeleteTargetRequest.class, + com.google.cloud.deploy.v1.DeleteTargetRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeleteTargetRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; } @java.lang.Override @@ -516,8 +553,11 @@ public com.google.cloud.deploy.v1.DeleteTargetRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.DeleteTargetRequest buildPartial() { - com.google.cloud.deploy.v1.DeleteTargetRequest result = new com.google.cloud.deploy.v1.DeleteTargetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeleteTargetRequest result = + new com.google.cloud.deploy.v1.DeleteTargetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -545,38 +585,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeleteTargetRequest result 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) { + 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) { + 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.cloud.deploy.v1.DeleteTargetRequest) { - return mergeFrom((com.google.cloud.deploy.v1.DeleteTargetRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.DeleteTargetRequest) other); } else { super.mergeFrom(other); return this; @@ -632,37 +673,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -672,23 +719,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Target` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -697,21 +749,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Target` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -719,30 +774,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Target` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Target` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -752,18 +818,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the `Target` to delete. Format should be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -773,6 +845,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -790,13 +864,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -805,6 +879,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -822,15 +898,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -838,6 +913,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -855,18 +932,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -884,6 +965,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -893,6 +975,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -910,12 +994,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -923,14 +1009,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `Target` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -938,12 +1027,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `Target` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -955,12 +1047,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, then deleting an already deleted or non-existing
      * `Target` will succeed.
      * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -970,14 +1065,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, validate the request and preview the review, but do not
      * actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -985,12 +1083,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, validate the request and preview the review, but do not
      * actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1002,12 +1103,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, validate the request and preview the review, but do not
      * actually post it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1019,6 +1123,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1026,13 +1132,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -1041,6 +1147,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1048,15 +1156,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1064,6 +1171,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1071,18 +1180,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1090,6 +1203,7 @@ public Builder setEtag(
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1099,6 +1213,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -1106,21 +1222,23 @@ public Builder clearEtag() {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1130,12 +1248,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeleteTargetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeleteTargetRequest) private static final com.google.cloud.deploy.v1.DeleteTargetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeleteTargetRequest(); } @@ -1144,27 +1262,27 @@ public static com.google.cloud.deploy.v1.DeleteTargetRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTargetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTargetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,6 +1297,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeleteTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java index 582c53da1540..82677fb32a71 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeleteTargetRequestOrBuilder extends +public interface DeleteTargetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeleteTargetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Target` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the `Target` to delete. Format should be
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -47,10 +74,13 @@ public interface DeleteTargetRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -68,34 +98,42 @@ public interface DeleteTargetRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, then deleting an already deleted or non-existing
    * `Target` will succeed.
    * 
* * bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set, validate the request and preview the review, but do not
    * actually post it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -103,10 +141,13 @@ public interface DeleteTargetRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -114,8 +155,8 @@ public interface DeleteTargetRequestOrBuilder extends
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java index 670afc7ba399..cc8404e060f8 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A `DeliveryPipeline` resource in the Cloud Deploy API.
  *
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.DeliveryPipeline}
  */
-public final class DeliveryPipeline extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeliveryPipeline extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeliveryPipeline)
     DeliveryPipelineOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeliveryPipeline.newBuilder() to construct.
   private DeliveryPipeline(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeliveryPipeline() {
     name_ = "";
     uid_ = "";
@@ -31,47 +49,51 @@ private DeliveryPipeline() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeliveryPipeline();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetAnnotations();
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.DeliveryPipeline.class, com.google.cloud.deploy.v1.DeliveryPipeline.Builder.class);
+            com.google.cloud.deploy.v1.DeliveryPipeline.class,
+            com.google.cloud.deploy.v1.DeliveryPipeline.Builder.class);
   }
 
   private int pipelineCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object pipeline_;
+
   public enum PipelineCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SERIAL_PIPELINE(8),
     PIPELINE_NOT_SET(0);
     private final int value;
+
     private PipelineCase(int value) {
       this.value = value;
     }
@@ -87,32 +109,38 @@ public static PipelineCase valueOf(int value) {
 
     public static PipelineCase forNumber(int value) {
       switch (value) {
-        case 8: return SERIAL_PIPELINE;
-        case 0: return PIPELINE_NOT_SET;
-        default: return null;
+        case 8:
+          return SERIAL_PIPELINE;
+        case 0:
+          return PIPELINE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PipelineCase
-  getPipelineCase() {
-    return PipelineCase.forNumber(
-        pipelineCase_);
+  public PipelineCase getPipelineCase() {
+    return PipelineCase.forNumber(pipelineCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Optional. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ @java.lang.Override @@ -121,30 +149,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; } } /** + * + * *
    * Optional. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -153,14 +181,18 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. Unique identifier of the `DeliveryPipeline`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -169,29 +201,29 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier of the `DeliveryPipeline`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -200,14 +232,18 @@ public java.lang.String getUid() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the `DeliveryPipeline`. Max length is 255 characters.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -216,29 +252,29 @@ 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; } } /** + * + * *
    * Description of the `DeliveryPipeline`. Max length is 255 characters.
    * 
* * string description = 3; + * * @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 { @@ -247,32 +283,35 @@ public java.lang.String getDescription() { } public static final int ANNOTATIONS_FIELD_NUMBER = 4; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -281,20 +320,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -307,6 +347,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -315,17 +357,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -334,11 +378,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -346,32 +390,34 @@ public java.lang.String getAnnotationsOrThrow(
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.deploy.v1.CloudDeployProto
+                .internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
+
   public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -389,20 +435,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -424,6 +471,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -441,17 +490,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -469,11 +520,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -483,11 +534,15 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. Time at which the pipeline was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -495,11 +550,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the pipeline was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -507,11 +566,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the pipeline was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -521,11 +583,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Most recent time at which the pipeline was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -533,11 +599,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Most recent time at which the pipeline was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -545,11 +615,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Most recent time at which the pipeline was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -558,12 +631,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int SERIAL_PIPELINE_FIELD_NUMBER = 8; /** + * + * *
    * SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * * @return Whether the serialPipeline field is set. */ @java.lang.Override @@ -571,22 +647,27 @@ public boolean hasSerialPipeline() { return pipelineCase_ == 8; } /** + * + * *
    * SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * * @return The serialPipeline. */ @java.lang.Override public com.google.cloud.deploy.v1.SerialPipeline getSerialPipeline() { if (pipelineCase_ == 8) { - return (com.google.cloud.deploy.v1.SerialPipeline) pipeline_; + return (com.google.cloud.deploy.v1.SerialPipeline) pipeline_; } return com.google.cloud.deploy.v1.SerialPipeline.getDefaultInstance(); } /** + * + * *
    * SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
@@ -597,7 +678,7 @@ public com.google.cloud.deploy.v1.SerialPipeline getSerialPipeline() {
   @java.lang.Override
   public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBuilder() {
     if (pipelineCase_ == 8) {
-       return (com.google.cloud.deploy.v1.SerialPipeline) pipeline_;
+      return (com.google.cloud.deploy.v1.SerialPipeline) pipeline_;
     }
     return com.google.cloud.deploy.v1.SerialPipeline.getDefaultInstance();
   }
@@ -605,11 +686,16 @@ public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBui
   public static final int CONDITION_FIELD_NUMBER = 11;
   private com.google.cloud.deploy.v1.PipelineCondition condition_;
   /**
+   *
+   *
    * 
    * Output only. Information around the state of the Delivery Pipeline.
    * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ @java.lang.Override @@ -617,33 +703,49 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * Output only. Information around the state of the Delivery Pipeline.
    * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ @java.lang.Override public com.google.cloud.deploy.v1.PipelineCondition getCondition() { - return condition_ == null ? com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() + : condition_; } /** + * + * *
    * Output only. Information around the state of the Delivery Pipeline.
    * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuilder() { - return condition_ == null ? com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() + : condition_; } public static final int ETAG_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -651,6 +753,7 @@ public com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuild
    * 
* * string etag = 10; + * * @return The etag. */ @java.lang.Override @@ -659,14 +762,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -674,16 +778,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 10; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -694,12 +797,15 @@ public java.lang.String getEtag() { public static final int SUSPENDED_FIELD_NUMBER = 12; private boolean suspended_ = false; /** + * + * *
    * When suspended, no new releases or rollouts can be created,
    * but in-progress ones will complete.
    * 
* * bool suspended = 12; + * * @return The suspended. */ @java.lang.Override @@ -708,6 +814,7 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -719,8 +826,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_); } @@ -730,18 +836,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 4); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (createTime_ != null) { output.writeMessage(6, getCreateTime()); } @@ -778,48 +876,45 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, annotations__); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, labels__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, annotations__); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime()); } if (pipelineCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.deploy.v1.SerialPipeline) pipeline_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.deploy.v1.SerialPipeline) pipeline_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCondition()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, suspended_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -829,47 +924,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.cloud.deploy.v1.DeliveryPipeline)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeliveryPipeline other = (com.google.cloud.deploy.v1.DeliveryPipeline) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + com.google.cloud.deploy.v1.DeliveryPipeline other = + (com.google.cloud.deploy.v1.DeliveryPipeline) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; - if (getSuspended() - != other.getSuspended()) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getSuspended() != other.getSuspended()) return false; if (!getPipelineCase().equals(other.getPipelineCase())) return false; switch (pipelineCase_) { case 8: - if (!getSerialPipeline() - .equals(other.getSerialPipeline())) return false; + if (!getSerialPipeline().equals(other.getSerialPipeline())) return false; break; case 0: default: @@ -914,8 +999,7 @@ public int hashCode() { hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); switch (pipelineCase_) { case 8: hash = (37 * hash) + SERIAL_PIPELINE_FIELD_NUMBER; @@ -929,99 +1013,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeliveryPipeline parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeliveryPipeline parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeliveryPipeline parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeliveryPipeline parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeliveryPipeline prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A `DeliveryPipeline` resource in the Cloud Deploy API.
    *
@@ -1031,59 +1120,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.DeliveryPipeline}
    */
-  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.cloud.deploy.v1.DeliveryPipeline)
       com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetAnnotations();
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableAnnotations();
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.DeliveryPipeline.class, com.google.cloud.deploy.v1.DeliveryPipeline.Builder.class);
+              com.google.cloud.deploy.v1.DeliveryPipeline.class,
+              com.google.cloud.deploy.v1.DeliveryPipeline.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.DeliveryPipeline.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1119,9 +1205,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor;
     }
 
     @java.lang.Override
@@ -1140,8 +1226,11 @@ public com.google.cloud.deploy.v1.DeliveryPipeline build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.DeliveryPipeline buildPartial() {
-      com.google.cloud.deploy.v1.DeliveryPipeline result = new com.google.cloud.deploy.v1.DeliveryPipeline(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.DeliveryPipeline result =
+          new com.google.cloud.deploy.v1.DeliveryPipeline(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1167,19 +1256,13 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeliveryPipeline result) {
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.condition_ = conditionBuilder_ == null
-            ? condition_
-            : conditionBuilder_.build();
+        result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
         result.etag_ = etag_;
@@ -1192,8 +1275,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeliveryPipeline result) {
     private void buildPartialOneofs(com.google.cloud.deploy.v1.DeliveryPipeline result) {
       result.pipelineCase_ = pipelineCase_;
       result.pipeline_ = this.pipeline_;
-      if (pipelineCase_ == 8 &&
-          serialPipelineBuilder_ != null) {
+      if (pipelineCase_ == 8 && serialPipelineBuilder_ != null) {
         result.pipeline_ = serialPipelineBuilder_.build();
       }
     }
@@ -1202,38 +1284,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.DeliveryPipeline resu
     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) {
+        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) {
+        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.cloud.deploy.v1.DeliveryPipeline) {
-        return mergeFrom((com.google.cloud.deploy.v1.DeliveryPipeline)other);
+        return mergeFrom((com.google.cloud.deploy.v1.DeliveryPipeline) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1257,11 +1340,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.DeliveryPipeline other) {
         bitField0_ |= 0x00000004;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00000008;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -1281,13 +1362,15 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.DeliveryPipeline other) {
         setSuspended(other.getSuspended());
       }
       switch (other.getPipelineCase()) {
-        case SERIAL_PIPELINE: {
-          mergeSerialPipeline(other.getSerialPipeline());
-          break;
-        }
-        case PIPELINE_NOT_SET: {
-          break;
-        }
+        case SERIAL_PIPELINE:
+          {
+            mergeSerialPipeline(other.getSerialPipeline());
+            break;
+          }
+        case PIPELINE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1315,83 +1398,91 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getSerialPipelineFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              pipelineCase_ = 8;
-              break;
-            } // case 66
-            case 82: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 90
-            case 96: {
-              suspended_ = input.readBool();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 96
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getSerialPipelineFieldBuilder().getBuilder(), extensionRegistry);
+                pipelineCase_ = 8;
+                break;
+              } // case 66
+            case 82:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 90
+            case 96:
+              {
+                suspended_ = input.readBool();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 96
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1401,12 +1492,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int pipelineCase_ = 0;
     private java.lang.Object pipeline_;
-    public PipelineCase
-        getPipelineCase() {
-      return PipelineCase.forNumber(
-          pipelineCase_);
+
+    public PipelineCase getPipelineCase() {
+      return PipelineCase.forNumber(pipelineCase_);
     }
 
     public Builder clearPipeline() {
@@ -1420,19 +1511,21 @@ public Builder clearPipeline() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optional. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1441,21 +1534,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1463,30 +1557,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1496,18 +1597,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1517,18 +1622,20 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Unique identifier of the `DeliveryPipeline`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -1537,20 +1644,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `DeliveryPipeline`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -1558,28 +1666,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `DeliveryPipeline`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier of the `DeliveryPipeline`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1589,17 +1704,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. Unique identifier of the `DeliveryPipeline`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1609,18 +1728,20 @@ public Builder setUidBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the `DeliveryPipeline`. Max length is 255 characters.
      * 
* * string description = 3; + * * @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; @@ -1629,20 +1750,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the `DeliveryPipeline`. Max length is 255 characters.
      * 
* * string description = 3; + * * @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 { @@ -1650,28 +1772,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the `DeliveryPipeline`. Max length is 255 characters.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of the `DeliveryPipeline`. Max length is 255 characters.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1681,17 +1810,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the `DeliveryPipeline`. Max length is 255 characters.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1699,8 +1832,8 @@ public Builder setDescriptionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -1709,11 +1842,12 @@ public Builder setDescriptionBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -1722,10 +1856,13 @@ public Builder setDescriptionBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy.
@@ -1734,20 +1871,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy.
@@ -1760,6 +1898,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy.
@@ -1768,17 +1908,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy.
@@ -1787,23 +1929,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy.
@@ -1811,23 +1955,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 4;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00000008;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy.
@@ -1835,17 +1978,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy.
@@ -1853,29 +1999,25 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-        internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableLabels() {
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -1884,10 +2026,13 @@ public Builder putAllAnnotations(
       onChanged();
       return labels_;
     }
+
     public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1905,20 +2050,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1940,6 +2086,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1957,17 +2105,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1985,23 +2135,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2018,23 +2170,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000010;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2051,17 +2202,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2078,49 +2232,66 @@ public Builder putLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2136,14 +2307,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2154,17 +2328,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2177,11 +2355,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2194,11 +2376,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -2206,36 +2392,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the pipeline was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2243,39 +2441,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2291,14 +2508,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2309,17 +2529,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2332,11 +2556,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2349,11 +2577,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -2361,50 +2593,68 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Most recent time at which the pipeline was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.SerialPipeline, com.google.cloud.deploy.v1.SerialPipeline.Builder, com.google.cloud.deploy.v1.SerialPipelineOrBuilder> serialPipelineBuilder_; + com.google.cloud.deploy.v1.SerialPipeline, + com.google.cloud.deploy.v1.SerialPipeline.Builder, + com.google.cloud.deploy.v1.SerialPipelineOrBuilder> + serialPipelineBuilder_; /** + * + * *
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * * @return Whether the serialPipeline field is set. */ @java.lang.Override @@ -2412,12 +2662,15 @@ public boolean hasSerialPipeline() { return pipelineCase_ == 8; } /** + * + * *
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * * @return The serialPipeline. */ @java.lang.Override @@ -2435,6 +2688,8 @@ public com.google.cloud.deploy.v1.SerialPipeline getSerialPipeline() { } } /** + * + * *
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2456,6 +2711,8 @@ public Builder setSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline value
       return this;
     }
     /**
+     *
+     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2475,6 +2732,8 @@ public Builder setSerialPipeline(
       return this;
     }
     /**
+     *
+     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2484,10 +2743,13 @@ public Builder setSerialPipeline(
      */
     public Builder mergeSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline value) {
       if (serialPipelineBuilder_ == null) {
-        if (pipelineCase_ == 8 &&
-            pipeline_ != com.google.cloud.deploy.v1.SerialPipeline.getDefaultInstance()) {
-          pipeline_ = com.google.cloud.deploy.v1.SerialPipeline.newBuilder((com.google.cloud.deploy.v1.SerialPipeline) pipeline_)
-              .mergeFrom(value).buildPartial();
+        if (pipelineCase_ == 8
+            && pipeline_ != com.google.cloud.deploy.v1.SerialPipeline.getDefaultInstance()) {
+          pipeline_ =
+              com.google.cloud.deploy.v1.SerialPipeline.newBuilder(
+                      (com.google.cloud.deploy.v1.SerialPipeline) pipeline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           pipeline_ = value;
         }
@@ -2503,6 +2765,8 @@ public Builder mergeSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline val
       return this;
     }
     /**
+     *
+     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2527,6 +2791,8 @@ public Builder clearSerialPipeline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2538,6 +2804,8 @@ public com.google.cloud.deploy.v1.SerialPipeline.Builder getSerialPipelineBuilde
       return getSerialPipelineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2557,6 +2825,8 @@ public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBui
       }
     }
     /**
+     *
+     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2565,14 +2835,19 @@ public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBui
      * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.SerialPipeline, com.google.cloud.deploy.v1.SerialPipeline.Builder, com.google.cloud.deploy.v1.SerialPipelineOrBuilder> 
+            com.google.cloud.deploy.v1.SerialPipeline,
+            com.google.cloud.deploy.v1.SerialPipeline.Builder,
+            com.google.cloud.deploy.v1.SerialPipelineOrBuilder>
         getSerialPipelineFieldBuilder() {
       if (serialPipelineBuilder_ == null) {
         if (!(pipelineCase_ == 8)) {
           pipeline_ = com.google.cloud.deploy.v1.SerialPipeline.getDefaultInstance();
         }
-        serialPipelineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.deploy.v1.SerialPipeline, com.google.cloud.deploy.v1.SerialPipeline.Builder, com.google.cloud.deploy.v1.SerialPipelineOrBuilder>(
+        serialPipelineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.deploy.v1.SerialPipeline,
+                com.google.cloud.deploy.v1.SerialPipeline.Builder,
+                com.google.cloud.deploy.v1.SerialPipelineOrBuilder>(
                 (com.google.cloud.deploy.v1.SerialPipeline) pipeline_,
                 getParentForChildren(),
                 isClean());
@@ -2585,39 +2860,58 @@ public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBui
 
     private com.google.cloud.deploy.v1.PipelineCondition condition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.PipelineCondition, com.google.cloud.deploy.v1.PipelineCondition.Builder, com.google.cloud.deploy.v1.PipelineConditionOrBuilder> conditionBuilder_;
+            com.google.cloud.deploy.v1.PipelineCondition,
+            com.google.cloud.deploy.v1.PipelineCondition.Builder,
+            com.google.cloud.deploy.v1.PipelineConditionOrBuilder>
+        conditionBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ public boolean hasCondition() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ public com.google.cloud.deploy.v1.PipelineCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null ? com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() + : condition_; } else { return conditionBuilder_.getMessage(); } } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition(com.google.cloud.deploy.v1.PipelineCondition value) { if (conditionBuilder_ == null) { @@ -2633,11 +2927,15 @@ public Builder setCondition(com.google.cloud.deploy.v1.PipelineCondition value) return this; } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition( com.google.cloud.deploy.v1.PipelineCondition.Builder builderForValue) { @@ -2651,17 +2949,21 @@ public Builder setCondition( return this; } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCondition(com.google.cloud.deploy.v1.PipelineCondition value) { if (conditionBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - condition_ != null && - condition_ != com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && condition_ != null + && condition_ != com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance()) { getConditionBuilder().mergeFrom(value); } else { condition_ = value; @@ -2674,11 +2976,15 @@ public Builder mergeCondition(com.google.cloud.deploy.v1.PipelineCondition value return this; } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCondition() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2691,11 +2997,15 @@ public Builder clearCondition() { return this; } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.PipelineCondition.Builder getConditionBuilder() { bitField0_ |= 0x00000100; @@ -2703,36 +3013,48 @@ public com.google.cloud.deploy.v1.PipelineCondition.Builder getConditionBuilder( return getConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { - return condition_ == null ? - com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.PipelineCondition.getDefaultInstance() + : condition_; } } /** + * + * *
      * Output only. Information around the state of the Delivery Pipeline.
      * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PipelineCondition, com.google.cloud.deploy.v1.PipelineCondition.Builder, com.google.cloud.deploy.v1.PipelineConditionOrBuilder> + com.google.cloud.deploy.v1.PipelineCondition, + com.google.cloud.deploy.v1.PipelineCondition.Builder, + com.google.cloud.deploy.v1.PipelineConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { - conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PipelineCondition, com.google.cloud.deploy.v1.PipelineCondition.Builder, com.google.cloud.deploy.v1.PipelineConditionOrBuilder>( - getCondition(), - getParentForChildren(), - isClean()); + conditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PipelineCondition, + com.google.cloud.deploy.v1.PipelineCondition.Builder, + com.google.cloud.deploy.v1.PipelineConditionOrBuilder>( + getCondition(), getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; @@ -2740,6 +3062,8 @@ public com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuild private java.lang.Object etag_ = ""; /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2747,13 +3071,13 @@ public com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuild
      * 
* * string etag = 10; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -2762,6 +3086,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2769,15 +3095,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -2785,6 +3110,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2792,18 +3119,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 10; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2811,6 +3142,7 @@ public Builder setEtag(
      * 
* * string etag = 10; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2820,6 +3152,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2827,12 +3161,14 @@ public Builder clearEtag() {
      * 
* * string etag = 10; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000200; @@ -2840,14 +3176,17 @@ public Builder setEtagBytes( return this; } - private boolean suspended_ ; + private boolean suspended_; /** + * + * *
      * When suspended, no new releases or rollouts can be created,
      * but in-progress ones will complete.
      * 
* * bool suspended = 12; + * * @return The suspended. */ @java.lang.Override @@ -2855,12 +3194,15 @@ public boolean getSuspended() { return suspended_; } /** + * + * *
      * When suspended, no new releases or rollouts can be created,
      * but in-progress ones will complete.
      * 
* * bool suspended = 12; + * * @param value The suspended to set. * @return This builder for chaining. */ @@ -2872,12 +3214,15 @@ public Builder setSuspended(boolean value) { return this; } /** + * + * *
      * When suspended, no new releases or rollouts can be created,
      * but in-progress ones will complete.
      * 
* * bool suspended = 12; + * * @return This builder for chaining. */ public Builder clearSuspended() { @@ -2886,9 +3231,9 @@ public Builder clearSuspended() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2898,12 +3243,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeliveryPipeline) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeliveryPipeline) private static final com.google.cloud.deploy.v1.DeliveryPipeline DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeliveryPipeline(); } @@ -2912,27 +3257,27 @@ public static com.google.cloud.deploy.v1.DeliveryPipeline getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeliveryPipeline parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeliveryPipeline parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2947,6 +3292,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeliveryPipeline getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEvent.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEvent.java index 68dcd3c89146..6e5188558aeb 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/deliverypipeline_notification_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification"
  * Platform Log event that describes the failure to send delivery pipeline
@@ -12,15 +29,17 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.DeliveryPipelineNotificationEvent}
  */
-public final class DeliveryPipelineNotificationEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeliveryPipelineNotificationEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeliveryPipelineNotificationEvent)
     DeliveryPipelineNotificationEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeliveryPipelineNotificationEvent.newBuilder() to construct.
-  private DeliveryPipelineNotificationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DeliveryPipelineNotificationEvent(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeliveryPipelineNotificationEvent() {
     message_ = "";
     pipelineUid_ = "";
@@ -30,33 +49,38 @@ private DeliveryPipelineNotificationEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeliveryPipelineNotificationEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto.internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto.internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.class, com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.Builder.class);
+            com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.class,
+            com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -65,29 +89,29 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -96,14 +120,18 @@ public java.lang.String getMessage() { } public static final int PIPELINE_UID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ @java.lang.Override @@ -112,29 +140,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -143,14 +171,18 @@ public java.lang.String getPipelineUid() { } public static final int DELIVERY_PIPELINE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object deliveryPipeline_ = ""; /** + * + * *
    * The name of the `Delivery Pipeline`.
    * 
* * string delivery_pipeline = 2; + * * @return The deliveryPipeline. */ @java.lang.Override @@ -159,29 +191,29 @@ public java.lang.String getDeliveryPipeline() { 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(); deliveryPipeline_ = s; return s; } } /** + * + * *
    * The name of the `Delivery Pipeline`.
    * 
* * string delivery_pipeline = 2; + * * @return The bytes for deliveryPipeline. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeliveryPipelineBytes() { + public com.google.protobuf.ByteString getDeliveryPipelineBytes() { java.lang.Object ref = deliveryPipeline_; 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); deliveryPipeline_ = b; return b; } else { @@ -192,30 +224,39 @@ public java.lang.String getDeliveryPipeline() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +268,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -257,8 +297,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPipeline_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pipelineUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pipelineUid_); @@ -271,19 +310,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.cloud.deploy.v1.DeliveryPipelineNotificationEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent other = (com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent) obj; - - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; - if (!getDeliveryPipeline() - .equals(other.getDeliveryPipeline())) return false; + com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent other = + (com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent) obj; + + if (!getMessage().equals(other.getMessage())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; + if (!getDeliveryPipeline().equals(other.getDeliveryPipeline())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -310,98 +347,104 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent 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.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification"
    * Platform Log event that describes the failure to send delivery pipeline
@@ -410,33 +453,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.DeliveryPipelineNotificationEvent}
    */
-  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.cloud.deploy.v1.DeliveryPipelineNotificationEvent)
       com.google.cloud.deploy.v1.DeliveryPipelineNotificationEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto.internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto.internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.class, com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.Builder.class);
+              com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.class,
+              com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -449,13 +491,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto.internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.DeliveryPipelineNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent getDefaultInstanceForType() {
+    public com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent
+        getDefaultInstanceForType() {
       return com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.getDefaultInstance();
     }
 
@@ -470,13 +513,17 @@ public com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent buildPartial() {
-      com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent result = new com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent result =
+          new com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent result) {
+    private void buildPartial0(
+        com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.message_ = message_;
@@ -496,38 +543,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeliveryPipelineNotificati
     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) {
+        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) {
+        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.cloud.deploy.v1.DeliveryPipelineNotificationEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,7 +583,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent other) {
-      if (other == com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.getDefaultInstance())
+        return this;
       if (!other.getMessage().isEmpty()) {
         message_ = other.message_;
         bitField0_ |= 0x00000001;
@@ -580,32 +630,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              deliveryPipeline_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 24: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 24
-            case 34: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                deliveryPipeline_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 24:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 24
+            case 34:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -615,22 +670,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -639,20 +697,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -660,28 +719,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -691,17 +757,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -711,18 +781,20 @@ public Builder setMessageBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -731,20 +803,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -752,28 +825,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -783,17 +863,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000002; @@ -803,18 +887,20 @@ public Builder setPipelineUidBytes( private java.lang.Object deliveryPipeline_ = ""; /** + * + * *
      * The name of the `Delivery Pipeline`.
      * 
* * string delivery_pipeline = 2; + * * @return The deliveryPipeline. */ public java.lang.String getDeliveryPipeline() { java.lang.Object ref = deliveryPipeline_; 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(); deliveryPipeline_ = s; return s; @@ -823,20 +909,21 @@ public java.lang.String getDeliveryPipeline() { } } /** + * + * *
      * The name of the `Delivery Pipeline`.
      * 
* * string delivery_pipeline = 2; + * * @return The bytes for deliveryPipeline. */ - public com.google.protobuf.ByteString - getDeliveryPipelineBytes() { + public com.google.protobuf.ByteString getDeliveryPipelineBytes() { java.lang.Object ref = deliveryPipeline_; 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); deliveryPipeline_ = b; return b; } else { @@ -844,28 +931,35 @@ public java.lang.String getDeliveryPipeline() { } } /** + * + * *
      * The name of the `Delivery Pipeline`.
      * 
* * string delivery_pipeline = 2; + * * @param value The deliveryPipeline to set. * @return This builder for chaining. */ - public Builder setDeliveryPipeline( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeliveryPipeline(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deliveryPipeline_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The name of the `Delivery Pipeline`.
      * 
* * string delivery_pipeline = 2; + * * @return This builder for chaining. */ public Builder clearDeliveryPipeline() { @@ -875,17 +969,21 @@ public Builder clearDeliveryPipeline() { return this; } /** + * + * *
      * The name of the `Delivery Pipeline`.
      * 
* * string delivery_pipeline = 2; + * * @param value The bytes for deliveryPipeline to set. * @return This builder for chaining. */ - public Builder setDeliveryPipelineBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeliveryPipelineBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deliveryPipeline_ = value; bitField0_ |= 0x00000004; @@ -895,22 +993,29 @@ public Builder setDeliveryPipelineBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -921,11 +1026,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ @java.lang.Override @@ -934,11 +1042,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @param value The type to set. * @return This builder for chaining. */ @@ -952,11 +1063,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return This builder for chaining. */ public Builder clearType() { @@ -965,9 +1079,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,12 +1091,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeliveryPipelineNotificationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeliveryPipelineNotificationEvent) - private static final com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent DEFAULT_INSTANCE; + private static final com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent(); } @@ -991,27 +1106,27 @@ public static com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeliveryPipelineNotificationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeliveryPipelineNotificationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,6 +1141,4 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.deploy.v1.DeliveryPipelineNotificationEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEventOrBuilder.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEventOrBuilder.java index fda27fdf2839..9e1c98e8d833 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationEventOrBuilder.java @@ -1,87 +1,124 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/deliverypipeline_notification_payload.proto package com.google.cloud.deploy.v1; -public interface DeliveryPipelineNotificationEventOrBuilder extends +public interface DeliveryPipelineNotificationEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeliveryPipelineNotificationEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * The name of the `Delivery Pipeline`.
    * 
* * string delivery_pipeline = 2; + * * @return The deliveryPipeline. */ java.lang.String getDeliveryPipeline(); /** + * + * *
    * The name of the `Delivery Pipeline`.
    * 
* * string delivery_pipeline = 2; + * * @return The bytes for deliveryPipeline. */ - com.google.protobuf.ByteString - getDeliveryPipelineBytes(); + com.google.protobuf.ByteString getDeliveryPipelineBytes(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java new file mode 100644 index 000000000000..8def9ca83a33 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java @@ -0,0 +1,73 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/deliverypipeline_notification_payload.proto + +package com.google.cloud.deploy.v1; + +public final class DeliveryPipelineNotificationPayloadProto { + private DeliveryPipelineNotificationPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nBgoogle/cloud/deploy/v1/deliverypipelin" + + "e_notification_payload.proto\022\026google.clo" + + "ud.deploy.v1\032&google/cloud/deploy/v1/log" + + "_enums.proto\"\221\001\n!DeliveryPipelineNotific" + + "ationEvent\022\017\n\007message\030\001 \001(\t\022\024\n\014pipeline_" + + "uid\030\004 \001(\t\022\031\n\021delivery_pipeline\030\002 \001(\t\022*\n\004" + + "type\030\003 \001(\0162\034.google.cloud.deploy.v1.Type" + + "B|\n\032com.google.cloud.deploy.v1B(Delivery" + + "PipelineNotificationPayloadProtoP\001Z2clou" + + "d.google.com/go/deploy/apiv1/deploypb;de" + + "ploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor, + new java.lang.String[] { + "Message", "PipelineUid", "DeliveryPipeline", "Type", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java similarity index 79% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java index 698a3a99e946..bf306cdb4d94 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java @@ -1,75 +1,108 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeliveryPipelineOrBuilder extends +public interface DeliveryPipelineOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeliveryPipeline) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Unique identifier of the `DeliveryPipeline`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Unique identifier of the `DeliveryPipeline`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Description of the `DeliveryPipeline`. Max length is 255 characters.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the `DeliveryPipeline`. Max length is 255 characters.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -79,6 +112,8 @@ public interface DeliveryPipelineOrBuilder extends
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -86,15 +121,13 @@ public interface DeliveryPipelineOrBuilder extends
    *
    * map<string, string> annotations = 4;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -102,9 +135,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 4;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -113,11 +147,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 4;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy.
@@ -125,10 +161,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 4;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -147,6 +184,8 @@ java.lang.String getAnnotationsOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -163,15 +202,13 @@ java.lang.String getAnnotationsOrThrow(
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -188,9 +225,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -208,11 +246,13 @@ boolean containsLabels(
    * map<string, string> labels = 5;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -229,84 +269,113 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Time at which the pipeline was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the pipeline was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the pipeline was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Most recent time at which the pipeline was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Most recent time at which the pipeline was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Most recent time at which the pipeline was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * * @return Whether the serialPipeline field is set. */ boolean hasSerialPipeline(); /** + * + * *
    * SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * * @return The serialPipeline. */ com.google.cloud.deploy.v1.SerialPipeline getSerialPipeline(); /** + * + * *
    * SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
@@ -317,33 +386,49 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Information around the state of the Delivery Pipeline.
    * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * Output only. Information around the state of the Delivery Pipeline.
    * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ com.google.cloud.deploy.v1.PipelineCondition getCondition(); /** + * + * *
    * Output only. Information around the state of the Delivery Pipeline.
    * 
* - * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuilder(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -351,10 +436,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 10; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -362,18 +450,21 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 10; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * When suspended, no new releases or rollouts can be created,
    * but in-progress ones will complete.
    * 
* * bool suspended = 12; + * * @return The suspended. */ boolean getSuspended(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifact.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifact.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifact.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifact.java index e4c3111eaca9..1d665b158c2a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifact.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifact.java @@ -1,60 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The artifacts produced by a deploy operation.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployArtifact} */ -public final class DeployArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeployArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeployArtifact) DeployArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeployArtifact.newBuilder() to construct. private DeployArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeployArtifact() { artifactUri_ = ""; - manifestPaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + manifestPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeployArtifact(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployArtifact.class, com.google.cloud.deploy.v1.DeployArtifact.Builder.class); + com.google.cloud.deploy.v1.DeployArtifact.class, + com.google.cloud.deploy.v1.DeployArtifact.Builder.class); } public static final int ARTIFACT_URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object artifactUri_ = ""; /** + * + * *
    * Output only. URI of a directory containing the artifacts. All paths are
    * relative to this location.
    * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ @java.lang.Override @@ -63,30 +85,30 @@ public java.lang.String getArtifactUri() { 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(); artifactUri_ = s; return s; } } /** + * + * *
    * Output only. URI of a directory containing the artifacts. All paths are
    * relative to this location.
    * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactUriBytes() { + public com.google.protobuf.ByteString getArtifactUriBytes() { java.lang.Object ref = artifactUri_; 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); artifactUri_ = b; return b; } else { @@ -95,41 +117,50 @@ public java.lang.String getArtifactUri() { } public static final int MANIFEST_PATHS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList manifestPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the manifestPaths. */ - public com.google.protobuf.ProtocolStringList - getManifestPathsList() { + public com.google.protobuf.ProtocolStringList getManifestPathsList() { return manifestPaths_; } /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of manifestPaths. */ public int getManifestPathsCount() { return manifestPaths_.size(); } /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The manifestPaths at the given index. */ @@ -137,21 +168,24 @@ public java.lang.String getManifestPaths(int index) { return manifestPaths_.get(index); } /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the manifestPaths at the given index. */ - public com.google.protobuf.ByteString - getManifestPathsBytes(int index) { + public com.google.protobuf.ByteString getManifestPathsBytes(int index) { return manifestPaths_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +197,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(artifactUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactUri_); } @@ -199,17 +232,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.cloud.deploy.v1.DeployArtifact)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeployArtifact other = (com.google.cloud.deploy.v1.DeployArtifact) obj; + com.google.cloud.deploy.v1.DeployArtifact other = + (com.google.cloud.deploy.v1.DeployArtifact) obj; - if (!getArtifactUri() - .equals(other.getArtifactUri())) return false; - if (!getManifestPathsList() - .equals(other.getManifestPathsList())) return false; + if (!getArtifactUri().equals(other.getArtifactUri())) return false; + if (!getManifestPathsList().equals(other.getManifestPathsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,146 +264,149 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeployArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeployArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeployArtifact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeployArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The artifacts produced by a deploy operation.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployArtifact} */ - 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.cloud.deploy.v1.DeployArtifact) com.google.cloud.deploy.v1.DeployArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployArtifact.class, com.google.cloud.deploy.v1.DeployArtifact.Builder.class); + com.google.cloud.deploy.v1.DeployArtifact.class, + com.google.cloud.deploy.v1.DeployArtifact.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeployArtifact.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; artifactUri_ = ""; - manifestPaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + manifestPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; } @java.lang.Override @@ -390,8 +425,11 @@ public com.google.cloud.deploy.v1.DeployArtifact build() { @java.lang.Override public com.google.cloud.deploy.v1.DeployArtifact buildPartial() { - com.google.cloud.deploy.v1.DeployArtifact result = new com.google.cloud.deploy.v1.DeployArtifact(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeployArtifact result = + new com.google.cloud.deploy.v1.DeployArtifact(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -411,38 +449,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeployArtifact result) { 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) { + 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) { + 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.cloud.deploy.v1.DeployArtifact) { - return mergeFrom((com.google.cloud.deploy.v1.DeployArtifact)other); + return mergeFrom((com.google.cloud.deploy.v1.DeployArtifact) other); } else { super.mergeFrom(other); return this; @@ -492,23 +531,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - artifactUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureManifestPathsIsMutable(); - manifestPaths_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + artifactUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureManifestPathsIsMutable(); + manifestPaths_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -518,23 +560,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object artifactUri_ = ""; /** + * + * *
      * Output only. URI of a directory containing the artifacts. All paths are
      * relative to this location.
      * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ public java.lang.String getArtifactUri() { java.lang.Object ref = artifactUri_; 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(); artifactUri_ = s; return s; @@ -543,21 +588,22 @@ public java.lang.String getArtifactUri() { } } /** + * + * *
      * Output only. URI of a directory containing the artifacts. All paths are
      * relative to this location.
      * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ - public com.google.protobuf.ByteString - getArtifactUriBytes() { + public com.google.protobuf.ByteString getArtifactUriBytes() { java.lang.Object ref = artifactUri_; 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); artifactUri_ = b; return b; } else { @@ -565,30 +611,37 @@ public java.lang.String getArtifactUri() { } } /** + * + * *
      * Output only. URI of a directory containing the artifacts. All paths are
      * relative to this location.
      * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The artifactUri to set. * @return This builder for chaining. */ - public Builder setArtifactUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifactUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. URI of a directory containing the artifacts. All paths are
      * relative to this location.
      * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArtifactUri() { @@ -598,18 +651,22 @@ public Builder clearArtifactUri() { return this; } /** + * + * *
      * Output only. URI of a directory containing the artifacts. All paths are
      * relative to this location.
      * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for artifactUri to set. * @return This builder for chaining. */ - public Builder setArtifactUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifactUri_ = value; bitField0_ |= 0x00000001; @@ -619,6 +676,7 @@ public Builder setArtifactUriBytes( private com.google.protobuf.LazyStringArrayList manifestPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureManifestPathsIsMutable() { if (!manifestPaths_.isModifiable()) { manifestPaths_ = new com.google.protobuf.LazyStringArrayList(manifestPaths_); @@ -626,38 +684,46 @@ private void ensureManifestPathsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the manifestPaths. */ - public com.google.protobuf.ProtocolStringList - getManifestPathsList() { + public com.google.protobuf.ProtocolStringList getManifestPathsList() { manifestPaths_.makeImmutable(); return manifestPaths_; } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of manifestPaths. */ public int getManifestPathsCount() { return manifestPaths_.size(); } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The manifestPaths at the given index. */ @@ -665,33 +731,39 @@ public java.lang.String getManifestPaths(int index) { return manifestPaths_.get(index); } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the manifestPaths at the given index. */ - public com.google.protobuf.ByteString - getManifestPathsBytes(int index) { + public com.google.protobuf.ByteString getManifestPathsBytes(int index) { return manifestPaths_.getByteString(index); } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The manifestPaths to set. * @return This builder for chaining. */ - public Builder setManifestPaths( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManifestPaths(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureManifestPathsIsMutable(); manifestPaths_.set(index, value); bitField0_ |= 0x00000002; @@ -699,18 +771,22 @@ public Builder setManifestPaths( return this; } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The manifestPaths to add. * @return This builder for chaining. */ - public Builder addManifestPaths( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addManifestPaths(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureManifestPathsIsMutable(); manifestPaths_.add(value); bitField0_ |= 0x00000002; @@ -718,53 +794,61 @@ public Builder addManifestPaths( return this; } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The manifestPaths to add. * @return This builder for chaining. */ - public Builder addAllManifestPaths( - java.lang.Iterable values) { + public Builder addAllManifestPaths(java.lang.Iterable values) { ensureManifestPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, manifestPaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, manifestPaths_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearManifestPaths() { - manifestPaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + manifestPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. File paths of the manifests applied during the deploy
      * operation relative to the URI.
      * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the manifestPaths to add. * @return This builder for chaining. */ - public Builder addManifestPathsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addManifestPathsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureManifestPathsIsMutable(); manifestPaths_.add(value); @@ -772,9 +856,9 @@ public Builder addManifestPathsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -784,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeployArtifact) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeployArtifact) private static final com.google.cloud.deploy.v1.DeployArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeployArtifact(); } @@ -798,27 +882,27 @@ public static com.google.cloud.deploy.v1.DeployArtifact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,6 +917,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeployArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifactOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifactOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifactOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifactOrBuilder.java index 12838ef258fb..9bd1e744772f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifactOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployArtifactOrBuilder.java @@ -1,76 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeployArtifactOrBuilder extends +public interface DeployArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeployArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. URI of a directory containing the artifacts. All paths are
    * relative to this location.
    * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ java.lang.String getArtifactUri(); /** + * + * *
    * Output only. URI of a directory containing the artifacts. All paths are
    * relative to this location.
    * 
* * string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ - com.google.protobuf.ByteString - getArtifactUriBytes(); + com.google.protobuf.ByteString getArtifactUriBytes(); /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the manifestPaths. */ - java.util.List - getManifestPathsList(); + java.util.List getManifestPathsList(); /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of manifestPaths. */ int getManifestPathsCount(); /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The manifestPaths at the given index. */ java.lang.String getManifestPaths(int index); /** + * + * *
    * Output only. File paths of the manifests applied during the deploy
    * operation relative to the URI.
    * 
* * repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the manifestPaths at the given index. */ - com.google.protobuf.ByteString - getManifestPathsBytes(int index); + com.google.protobuf.ByteString getManifestPathsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJob.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJob.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJob.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJob.java index 91ae2c0a6cac..537587a727a2 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJob.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJob.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A deploy Job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployJob} */ -public final class DeployJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeployJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeployJob) DeployJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeployJob.newBuilder() to construct. private DeployJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeployJob() { - } + + private DeployJob() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeployJob(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployJob.class, com.google.cloud.deploy.v1.DeployJob.Builder.class); + com.google.cloud.deploy.v1.DeployJob.class, + com.google.cloud.deploy.v1.DeployJob.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,7 +91,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.DeployJob)) { return super.equals(obj); @@ -96,132 +114,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeployJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeployJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeployJob parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.DeployJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.DeployJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeployJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeployJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A deploy Job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployJob} */ - 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.cloud.deploy.v1.DeployJob) com.google.cloud.deploy.v1.DeployJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployJob.class, com.google.cloud.deploy.v1.DeployJob.Builder.class); + com.google.cloud.deploy.v1.DeployJob.class, + com.google.cloud.deploy.v1.DeployJob.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeployJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +250,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJob_descriptor; } @java.lang.Override @@ -259,38 +280,39 @@ public com.google.cloud.deploy.v1.DeployJob 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) { + 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) { + 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.cloud.deploy.v1.DeployJob) { - return mergeFrom((com.google.cloud.deploy.v1.DeployJob)other); + return mergeFrom((com.google.cloud.deploy.v1.DeployJob) other); } else { super.mergeFrom(other); return this; @@ -325,12 +347,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +363,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +375,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeployJob) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeployJob) private static final com.google.cloud.deploy.v1.DeployJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeployJob(); } @@ -366,27 +389,27 @@ public static com.google.cloud.deploy.v1.DeployJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +424,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeployJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobOrBuilder.java new file mode 100644 index 000000000000..1a356a3a110e --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface DeployJobOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeployJob) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRun.java similarity index 64% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRun.java index c532d709b5c7..cda0257e2d03 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRun.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * DeployJobRun contains information specific to a deploy `JobRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployJobRun} */ -public final class DeployJobRun extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeployJobRun extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeployJobRun) DeployJobRunOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeployJobRun.newBuilder() to construct. private DeployJobRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeployJobRun() { build_ = ""; failureCause_ = 0; @@ -27,34 +45,38 @@ private DeployJobRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeployJobRun(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployJobRun.class, com.google.cloud.deploy.v1.DeployJobRun.Builder.class); + com.google.cloud.deploy.v1.DeployJobRun.class, + com.google.cloud.deploy.v1.DeployJobRun.Builder.class); } /** + * + * *
    * Well-known deploy failures.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.DeployJobRun.FailureCause} */ - public enum FailureCause - implements com.google.protobuf.ProtocolMessageEnum { + public enum FailureCause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No reason for failure is specified.
      * 
@@ -63,6 +85,8 @@ public enum FailureCause */ FAILURE_CAUSE_UNSPECIFIED(0), /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [Required
@@ -73,6 +97,8 @@ public enum FailureCause
      */
     CLOUD_BUILD_UNAVAILABLE(1),
     /**
+     *
+     *
      * 
      * The deploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -82,6 +108,8 @@ public enum FailureCause
      */
     EXECUTION_FAILED(2),
     /**
+     *
+     *
      * 
      * The deploy job run did not complete within the alloted time.
      * 
@@ -90,6 +118,8 @@ public enum FailureCause */ DEADLINE_EXCEEDED(3), /** + * + * *
      * There were missing resources in the runtime environment required for a
      * canary deployment. Check the Cloud Build logs for more information.
@@ -99,6 +129,8 @@ public enum FailureCause
      */
     MISSING_RESOURCES_FOR_CANARY(4),
     /**
+     *
+     *
      * 
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -108,6 +140,8 @@ public enum FailureCause
      */
     CLOUD_BUILD_REQUEST_FAILED(5),
     /**
+     *
+     *
      * 
      * The deploy operation had a feature configured that is not supported.
      * 
@@ -119,6 +153,8 @@ public enum FailureCause ; /** + * + * *
      * No reason for failure is specified.
      * 
@@ -127,6 +163,8 @@ public enum FailureCause */ public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [Required
@@ -137,6 +175,8 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_UNAVAILABLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The deploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -146,6 +186,8 @@ public enum FailureCause
      */
     public static final int EXECUTION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The deploy job run did not complete within the alloted time.
      * 
@@ -154,6 +196,8 @@ public enum FailureCause */ public static final int DEADLINE_EXCEEDED_VALUE = 3; /** + * + * *
      * There were missing resources in the runtime environment required for a
      * canary deployment. Check the Cloud Build logs for more information.
@@ -163,6 +207,8 @@ public enum FailureCause
      */
     public static final int MISSING_RESOURCES_FOR_CANARY_VALUE = 4;
     /**
+     *
+     *
      * 
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -172,6 +218,8 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_REQUEST_FAILED_VALUE = 5;
     /**
+     *
+     *
      * 
      * The deploy operation had a feature configured that is not supported.
      * 
@@ -180,7 +228,6 @@ public enum FailureCause */ public static final int DEPLOY_FEATURE_NOT_SUPPORTED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -205,53 +252,57 @@ public static FailureCause valueOf(int value) { */ public static FailureCause forNumber(int value) { switch (value) { - case 0: return FAILURE_CAUSE_UNSPECIFIED; - case 1: return CLOUD_BUILD_UNAVAILABLE; - case 2: return EXECUTION_FAILED; - case 3: return DEADLINE_EXCEEDED; - case 4: return MISSING_RESOURCES_FOR_CANARY; - case 5: return CLOUD_BUILD_REQUEST_FAILED; - case 6: return DEPLOY_FEATURE_NOT_SUPPORTED; - default: return null; + case 0: + return FAILURE_CAUSE_UNSPECIFIED; + case 1: + return CLOUD_BUILD_UNAVAILABLE; + case 2: + return EXECUTION_FAILED; + case 3: + return DEADLINE_EXCEEDED; + case 4: + return MISSING_RESOURCES_FOR_CANARY; + case 5: + return CLOUD_BUILD_REQUEST_FAILED; + case 6: + return DEPLOY_FEATURE_NOT_SUPPORTED; + 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< - FailureCause> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FailureCause findValueByNumber(int number) { - return FailureCause.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 FailureCause findValueByNumber(int number) { + return FailureCause.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.DeployJobRun.getDescriptor().getEnumTypes().get(0); } private static final FailureCause[] VALUES = values(); - public static FailureCause valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FailureCause 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; @@ -269,16 +320,22 @@ private FailureCause(int value) { } public static final int BUILD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object build_ = ""; /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ @java.lang.Override @@ -287,31 +344,33 @@ public java.lang.String getBuild() { 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(); build_ = s; return s; } } /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -322,40 +381,59 @@ public java.lang.String getBuild() { public static final int FAILURE_CAUSE_FIELD_NUMBER = 2; private int failureCause_ = 0; /** + * + * *
    * Output only. The reason the deploy failed. This will always be unspecified
    * while the deploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
    * Output only. The reason the deploy failed. This will always be unspecified
    * while the deploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ - @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.DeployJobRun.FailureCause result = com.google.cloud.deploy.v1.DeployJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.DeployJobRun.FailureCause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.deploy.v1.DeployJobRun.FailureCause getFailureCause() { + com.google.cloud.deploy.v1.DeployJobRun.FailureCause result = + com.google.cloud.deploy.v1.DeployJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.DeployJobRun.FailureCause.UNRECOGNIZED + : result; } public static final int FAILURE_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object failureMessage_ = ""; /** + * + * *
    * Output only. Additional information about the deploy failure, if available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ @java.lang.Override @@ -364,29 +442,29 @@ public java.lang.String getFailureMessage() { 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(); failureMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the deploy failure, if available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -397,11 +475,16 @@ public java.lang.String getFailureMessage() { public static final int METADATA_FIELD_NUMBER = 4; private com.google.cloud.deploy.v1.DeployJobRunMetadata metadata_; /** + * + * *
    * Output only. Metadata containing information about the deploy job run.
    * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -409,37 +492,55 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Metadata containing information about the deploy job run.
    * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRunMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Output only. Metadata containing information about the deploy job run.
    * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder getMetadataOrBuilder() { - return metadata_ == null ? com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() + : metadata_; } public static final int ARTIFACT_FIELD_NUMBER = 5; private com.google.cloud.deploy.v1.DeployArtifact artifact_; /** + * + * *
    * Output only. The artifact of a deploy job run, if available.
    * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the artifact field is set. */ @java.lang.Override @@ -447,30 +548,44 @@ public boolean hasArtifact() { return artifact_ != null; } /** + * + * *
    * Output only. The artifact of a deploy job run, if available.
    * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The artifact. */ @java.lang.Override public com.google.cloud.deploy.v1.DeployArtifact getArtifact() { - return artifact_ == null ? com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() + : artifact_; } /** + * + * *
    * Output only. The artifact of a deploy job run, if available.
    * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployArtifactOrBuilder getArtifactOrBuilder() { - return artifact_ == null ? com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() + : artifact_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,12 +597,13 @@ 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(build_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, build_); } - if (failureCause_ != com.google.cloud.deploy.v1.DeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { + if (failureCause_ + != com.google.cloud.deploy.v1.DeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { @@ -511,20 +627,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(build_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, build_); } - if (failureCause_ != com.google.cloud.deploy.v1.DeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, failureCause_); + if (failureCause_ + != com.google.cloud.deploy.v1.DeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, failureMessage_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMetadata()); } if (artifact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getArtifact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getArtifact()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -534,27 +649,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.cloud.deploy.v1.DeployJobRun)) { return super.equals(obj); } com.google.cloud.deploy.v1.DeployJobRun other = (com.google.cloud.deploy.v1.DeployJobRun) obj; - if (!getBuild() - .equals(other.getBuild())) return false; + if (!getBuild().equals(other.getBuild())) return false; if (failureCause_ != other.failureCause_) return false; - if (!getFailureMessage() - .equals(other.getFailureMessage())) return false; + if (!getFailureMessage().equals(other.getFailureMessage())) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } if (hasArtifact() != other.hasArtifact()) return false; if (hasArtifact()) { - if (!getArtifact() - .equals(other.getArtifact())) return false; + if (!getArtifact().equals(other.getArtifact())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -586,132 +697,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeployJobRun parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeployJobRun parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeployJobRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployJobRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeployJobRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeployJobRun contains information specific to a deploy `JobRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployJobRun} */ - 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.cloud.deploy.v1.DeployJobRun) com.google.cloud.deploy.v1.DeployJobRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployJobRun.class, com.google.cloud.deploy.v1.DeployJobRun.Builder.class); + com.google.cloud.deploy.v1.DeployJobRun.class, + com.google.cloud.deploy.v1.DeployJobRun.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeployJobRun.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -733,9 +848,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; } @java.lang.Override @@ -754,8 +869,11 @@ public com.google.cloud.deploy.v1.DeployJobRun build() { @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRun buildPartial() { - com.google.cloud.deploy.v1.DeployJobRun result = new com.google.cloud.deploy.v1.DeployJobRun(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeployJobRun result = + new com.google.cloud.deploy.v1.DeployJobRun(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -772,14 +890,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeployJobRun result) { result.failureMessage_ = failureMessage_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.metadata_ = metadataBuilder_ == null - ? metadata_ - : metadataBuilder_.build(); + result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.artifact_ = artifactBuilder_ == null - ? artifact_ - : artifactBuilder_.build(); + result.artifact_ = artifactBuilder_ == null ? artifact_ : artifactBuilder_.build(); } } @@ -787,38 +901,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeployJobRun result) { 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) { + 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) { + 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.cloud.deploy.v1.DeployJobRun) { - return mergeFrom((com.google.cloud.deploy.v1.DeployJobRun)other); + return mergeFrom((com.google.cloud.deploy.v1.DeployJobRun) other); } else { super.mergeFrom(other); return this; @@ -872,41 +987,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - build_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - failureCause_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - failureMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getArtifactFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + build_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + failureCause_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + failureMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getArtifactFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -916,24 +1033,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object build_ = ""; /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; 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(); build_ = s; return s; @@ -942,22 +1064,25 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -965,32 +1090,43 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -1000,19 +1136,25 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000001; @@ -1022,24 +1164,35 @@ public Builder setBuildBytes( private int failureCause_ = 0; /** + * + * *
      * Output only. The reason the deploy failed. This will always be unspecified
      * while the deploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
      * Output only. The reason the deploy failed. This will always be unspecified
      * while the deploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for failureCause to set. * @return This builder for chaining. */ @@ -1050,26 +1203,39 @@ public Builder setFailureCauseValue(int value) { return this; } /** + * + * *
      * Output only. The reason the deploy failed. This will always be unspecified
      * while the deploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.DeployJobRun.FailureCause result = com.google.cloud.deploy.v1.DeployJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.DeployJobRun.FailureCause.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.DeployJobRun.FailureCause result = + com.google.cloud.deploy.v1.DeployJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.DeployJobRun.FailureCause.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The reason the deploy failed. This will always be unspecified
      * while the deploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The failureCause to set. * @return This builder for chaining. */ @@ -1083,12 +1249,17 @@ public Builder setFailureCause(com.google.cloud.deploy.v1.DeployJobRun.FailureCa return this; } /** + * + * *
      * Output only. The reason the deploy failed. This will always be unspecified
      * while the deploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearFailureCause() { @@ -1100,18 +1271,20 @@ public Builder clearFailureCause() { private java.lang.Object failureMessage_ = ""; /** + * + * *
      * Output only. Additional information about the deploy failure, if available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ public java.lang.String getFailureMessage() { java.lang.Object ref = failureMessage_; 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(); failureMessage_ = s; return s; @@ -1120,20 +1293,21 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the deploy failure, if available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -1141,28 +1315,35 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the deploy failure, if available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } failureMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the deploy failure, if available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureMessage() { @@ -1172,17 +1353,21 @@ public Builder clearFailureMessage() { return this; } /** + * + * *
      * Output only. Additional information about the deploy failure, if available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); failureMessage_ = value; bitField0_ |= 0x00000004; @@ -1192,39 +1377,58 @@ public Builder setFailureMessageBytes( private com.google.cloud.deploy.v1.DeployJobRunMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJobRunMetadata, com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder, com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder> metadataBuilder_; + com.google.cloud.deploy.v1.DeployJobRunMetadata, + com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder, + com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.cloud.deploy.v1.DeployJobRunMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.cloud.deploy.v1.DeployJobRunMetadata value) { if (metadataBuilder_ == null) { @@ -1240,11 +1444,15 @@ public Builder setMetadata(com.google.cloud.deploy.v1.DeployJobRunMetadata value return this; } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata( com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder builderForValue) { @@ -1258,17 +1466,21 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.cloud.deploy.v1.DeployJobRunMetadata value) { if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - metadata_ != null && - metadata_ != com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && metadata_ != null + && metadata_ != com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; @@ -1281,11 +1493,15 @@ public Builder mergeMetadata(com.google.cloud.deploy.v1.DeployJobRunMetadata val return this; } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1298,11 +1514,15 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder getMetadataBuilder() { bitField0_ |= 0x00000008; @@ -1310,36 +1530,48 @@ public com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder getMetadataBuilde return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance() + : metadata_; } } /** + * + * *
      * Output only. Metadata containing information about the deploy job run.
      * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJobRunMetadata, com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder, com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder> + com.google.cloud.deploy.v1.DeployJobRunMetadata, + com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder, + com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJobRunMetadata, com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder, com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeployJobRunMetadata, + com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder, + com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; @@ -1347,39 +1579,58 @@ public com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder getMetadataOrBui private com.google.cloud.deploy.v1.DeployArtifact artifact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployArtifact, com.google.cloud.deploy.v1.DeployArtifact.Builder, com.google.cloud.deploy.v1.DeployArtifactOrBuilder> artifactBuilder_; + com.google.cloud.deploy.v1.DeployArtifact, + com.google.cloud.deploy.v1.DeployArtifact.Builder, + com.google.cloud.deploy.v1.DeployArtifactOrBuilder> + artifactBuilder_; /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the artifact field is set. */ public boolean hasArtifact() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The artifact. */ public com.google.cloud.deploy.v1.DeployArtifact getArtifact() { if (artifactBuilder_ == null) { - return artifact_ == null ? com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() + : artifact_; } else { return artifactBuilder_.getMessage(); } } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArtifact(com.google.cloud.deploy.v1.DeployArtifact value) { if (artifactBuilder_ == null) { @@ -1395,14 +1646,17 @@ public Builder setArtifact(com.google.cloud.deploy.v1.DeployArtifact value) { return this; } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setArtifact( - com.google.cloud.deploy.v1.DeployArtifact.Builder builderForValue) { + public Builder setArtifact(com.google.cloud.deploy.v1.DeployArtifact.Builder builderForValue) { if (artifactBuilder_ == null) { artifact_ = builderForValue.build(); } else { @@ -1413,17 +1667,21 @@ public Builder setArtifact( return this; } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeArtifact(com.google.cloud.deploy.v1.DeployArtifact value) { if (artifactBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - artifact_ != null && - artifact_ != com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && artifact_ != null + && artifact_ != com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance()) { getArtifactBuilder().mergeFrom(value); } else { artifact_ = value; @@ -1436,11 +1694,15 @@ public Builder mergeArtifact(com.google.cloud.deploy.v1.DeployArtifact value) { return this; } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearArtifact() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1453,11 +1715,15 @@ public Builder clearArtifact() { return this; } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.DeployArtifact.Builder getArtifactBuilder() { bitField0_ |= 0x00000010; @@ -1465,43 +1731,55 @@ public com.google.cloud.deploy.v1.DeployArtifact.Builder getArtifactBuilder() { return getArtifactFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.DeployArtifactOrBuilder getArtifactOrBuilder() { if (artifactBuilder_ != null) { return artifactBuilder_.getMessageOrBuilder(); } else { - return artifact_ == null ? - com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.deploy.v1.DeployArtifact.getDefaultInstance() + : artifact_; } } /** + * + * *
      * Output only. The artifact of a deploy job run, if available.
      * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployArtifact, com.google.cloud.deploy.v1.DeployArtifact.Builder, com.google.cloud.deploy.v1.DeployArtifactOrBuilder> + com.google.cloud.deploy.v1.DeployArtifact, + com.google.cloud.deploy.v1.DeployArtifact.Builder, + com.google.cloud.deploy.v1.DeployArtifactOrBuilder> getArtifactFieldBuilder() { if (artifactBuilder_ == null) { - artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployArtifact, com.google.cloud.deploy.v1.DeployArtifact.Builder, com.google.cloud.deploy.v1.DeployArtifactOrBuilder>( - getArtifact(), - getParentForChildren(), - isClean()); + artifactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeployArtifact, + com.google.cloud.deploy.v1.DeployArtifact.Builder, + com.google.cloud.deploy.v1.DeployArtifactOrBuilder>( + getArtifact(), getParentForChildren(), isClean()); artifact_ = null; } return artifactBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1511,12 +1789,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeployJobRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeployJobRun) private static final com.google.cloud.deploy.v1.DeployJobRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeployJobRun(); } @@ -1525,27 +1803,27 @@ public static com.google.cloud.deploy.v1.DeployJobRun getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployJobRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployJobRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1560,6 +1838,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeployJobRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadata.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadata.java index f8136c756b9e..271ad0dd86af 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
  * the user.
@@ -11,47 +28,53 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.DeployJobRunMetadata}
  */
-public final class DeployJobRunMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeployJobRunMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeployJobRunMetadata)
     DeployJobRunMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeployJobRunMetadata.newBuilder() to construct.
   private DeployJobRunMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DeployJobRunMetadata() {
-  }
+
+  private DeployJobRunMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeployJobRunMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.DeployJobRunMetadata.class, com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder.class);
+            com.google.cloud.deploy.v1.DeployJobRunMetadata.class,
+            com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder.class);
   }
 
   public static final int CLOUD_RUN_FIELD_NUMBER = 1;
   private com.google.cloud.deploy.v1.CloudRunMetadata cloudRun_;
   /**
+   *
+   *
    * 
    * Output only. The name of the Cloud Run Service that is associated with a
    * `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ @java.lang.Override @@ -59,39 +82,57 @@ public boolean hasCloudRun() { return cloudRun_ != null; } /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunMetadata getCloudRun() { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder() { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } public static final int CUSTOM_TARGET_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.CustomTargetDeployMetadata customTarget_; /** + * + * *
    * Output only. Custom Target metadata associated with a `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the customTarget field is set. */ @java.lang.Override @@ -99,37 +140,55 @@ public boolean hasCustomTarget() { return customTarget_ != null; } /** + * + * *
    * Output only. Custom Target metadata associated with a `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The customTarget. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetDeployMetadata getCustomTarget() { - return customTarget_ == null ? com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() : customTarget_; + return customTarget_ == null + ? com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() + : customTarget_; } /** + * + * *
    * Output only. Custom Target metadata associated with a `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder getCustomTargetOrBuilder() { - return customTarget_ == null ? com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() : customTarget_; + return customTarget_ == null + ? com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() + : customTarget_; } public static final int CUSTOM_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.CustomMetadata custom_; /** + * + * *
    * Output only. Custom metadata provided by user-defined deploy operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ @java.lang.Override @@ -137,30 +196,44 @@ public boolean hasCustom() { return custom_ != null; } /** + * + * *
    * Output only. Custom metadata provided by user-defined deploy operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomMetadata getCustom() { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } /** + * + * *
    * Output only. Custom metadata provided by user-defined deploy operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder() { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +245,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 (cloudRun_ != null) { output.writeMessage(1, getCloudRun()); } @@ -193,16 +265,13 @@ public int getSerializedSize() { size = 0; if (cloudRun_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCloudRun()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCloudRun()); } if (customTarget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomTarget()); } if (custom_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCustom()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCustom()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -212,27 +281,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.cloud.deploy.v1.DeployJobRunMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeployJobRunMetadata other = (com.google.cloud.deploy.v1.DeployJobRunMetadata) obj; + com.google.cloud.deploy.v1.DeployJobRunMetadata other = + (com.google.cloud.deploy.v1.DeployJobRunMetadata) obj; if (hasCloudRun() != other.hasCloudRun()) return false; if (hasCloudRun()) { - if (!getCloudRun() - .equals(other.getCloudRun())) return false; + if (!getCloudRun().equals(other.getCloudRun())) return false; } if (hasCustomTarget() != other.hasCustomTarget()) return false; if (hasCustomTarget()) { - if (!getCustomTarget() - .equals(other.getCustomTarget())) return false; + if (!getCustomTarget().equals(other.getCustomTarget())) return false; } if (hasCustom() != other.hasCustom()) return false; if (hasCustom()) { - if (!getCustom() - .equals(other.getCustom())) return false; + if (!getCustom().equals(other.getCustom())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -262,99 +329,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployJobRunMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeployJobRunMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
    * the user.
@@ -362,33 +434,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.DeployJobRunMetadata}
    */
-  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.cloud.deploy.v1.DeployJobRunMetadata)
       com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.DeployJobRunMetadata.class, com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder.class);
+              com.google.cloud.deploy.v1.DeployJobRunMetadata.class,
+              com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.DeployJobRunMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -433,8 +504,11 @@ public com.google.cloud.deploy.v1.DeployJobRunMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.DeployJobRunMetadata buildPartial() {
-      com.google.cloud.deploy.v1.DeployJobRunMetadata result = new com.google.cloud.deploy.v1.DeployJobRunMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.DeployJobRunMetadata result =
+          new com.google.cloud.deploy.v1.DeployJobRunMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -442,19 +516,14 @@ public com.google.cloud.deploy.v1.DeployJobRunMetadata buildPartial() {
     private void buildPartial0(com.google.cloud.deploy.v1.DeployJobRunMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.cloudRun_ = cloudRunBuilder_ == null
-            ? cloudRun_
-            : cloudRunBuilder_.build();
+        result.cloudRun_ = cloudRunBuilder_ == null ? cloudRun_ : cloudRunBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.customTarget_ = customTargetBuilder_ == null
-            ? customTarget_
-            : customTargetBuilder_.build();
+        result.customTarget_ =
+            customTargetBuilder_ == null ? customTarget_ : customTargetBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.custom_ = customBuilder_ == null
-            ? custom_
-            : customBuilder_.build();
+        result.custom_ = customBuilder_ == null ? custom_ : customBuilder_.build();
       }
     }
 
@@ -462,38 +531,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeployJobRunMetadata resul
     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) {
+        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) {
+        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.cloud.deploy.v1.DeployJobRunMetadata) {
-        return mergeFrom((com.google.cloud.deploy.v1.DeployJobRunMetadata)other);
+        return mergeFrom((com.google.cloud.deploy.v1.DeployJobRunMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,7 +571,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.DeployJobRunMetadata other) {
-      if (other == com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.DeployJobRunMetadata.getDefaultInstance())
+        return this;
       if (other.hasCloudRun()) {
         mergeCloudRun(other.getCloudRun());
       }
@@ -537,33 +608,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getCloudRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCustomTargetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCustomFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getCloudRunFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCustomTargetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCustomFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -573,46 +642,66 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.deploy.v1.CloudRunMetadata cloudRun_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.CloudRunMetadata, com.google.cloud.deploy.v1.CloudRunMetadata.Builder, com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder> cloudRunBuilder_;
+            com.google.cloud.deploy.v1.CloudRunMetadata,
+            com.google.cloud.deploy.v1.CloudRunMetadata.Builder,
+            com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder>
+        cloudRunBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ public boolean hasCloudRun() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ public com.google.cloud.deploy.v1.CloudRunMetadata getCloudRun() { if (cloudRunBuilder_ == null) { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } else { return cloudRunBuilder_.getMessage(); } } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) { if (cloudRunBuilder_ == null) { @@ -628,12 +717,16 @@ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) { return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudRun( com.google.cloud.deploy.v1.CloudRunMetadata.Builder builderForValue) { @@ -647,18 +740,22 @@ public Builder setCloudRun( return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) { if (cloudRunBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - cloudRun_ != null && - cloudRun_ != com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && cloudRun_ != null + && cloudRun_ != com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance()) { getCloudRunBuilder().mergeFrom(value); } else { cloudRun_ = value; @@ -671,12 +768,16 @@ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCloudRun() { bitField0_ = (bitField0_ & ~0x00000001); @@ -689,12 +790,16 @@ public Builder clearCloudRun() { return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CloudRunMetadata.Builder getCloudRunBuilder() { bitField0_ |= 0x00000001; @@ -702,38 +807,50 @@ public com.google.cloud.deploy.v1.CloudRunMetadata.Builder getCloudRunBuilder() return getCloudRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder() { if (cloudRunBuilder_ != null) { return cloudRunBuilder_.getMessageOrBuilder(); } else { - return cloudRun_ == null ? - com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunMetadata, com.google.cloud.deploy.v1.CloudRunMetadata.Builder, com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder> + com.google.cloud.deploy.v1.CloudRunMetadata, + com.google.cloud.deploy.v1.CloudRunMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder> getCloudRunFieldBuilder() { if (cloudRunBuilder_ == null) { - cloudRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunMetadata, com.google.cloud.deploy.v1.CloudRunMetadata.Builder, com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder>( - getCloudRun(), - getParentForChildren(), - isClean()); + cloudRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CloudRunMetadata, + com.google.cloud.deploy.v1.CloudRunMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder>( + getCloudRun(), getParentForChildren(), isClean()); cloudRun_ = null; } return cloudRunBuilder_; @@ -741,39 +858,58 @@ public com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder private com.google.cloud.deploy.v1.CustomTargetDeployMetadata customTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetDeployMetadata, com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder, com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder> customTargetBuilder_; + com.google.cloud.deploy.v1.CustomTargetDeployMetadata, + com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder, + com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder> + customTargetBuilder_; /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the customTarget field is set. */ public boolean hasCustomTarget() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The customTarget. */ public com.google.cloud.deploy.v1.CustomTargetDeployMetadata getCustomTarget() { if (customTargetBuilder_ == null) { - return customTarget_ == null ? com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() : customTarget_; + return customTarget_ == null + ? com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() + : customTarget_; } else { return customTargetBuilder_.getMessage(); } } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCustomTarget(com.google.cloud.deploy.v1.CustomTargetDeployMetadata value) { if (customTargetBuilder_ == null) { @@ -789,11 +925,15 @@ public Builder setCustomTarget(com.google.cloud.deploy.v1.CustomTargetDeployMeta return this; } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCustomTarget( com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder builderForValue) { @@ -807,17 +947,22 @@ public Builder setCustomTarget( return this; } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCustomTarget(com.google.cloud.deploy.v1.CustomTargetDeployMetadata value) { if (customTargetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - customTarget_ != null && - customTarget_ != com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && customTarget_ != null + && customTarget_ + != com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance()) { getCustomTargetBuilder().mergeFrom(value); } else { customTarget_ = value; @@ -830,11 +975,15 @@ public Builder mergeCustomTarget(com.google.cloud.deploy.v1.CustomTargetDeployMe return this; } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCustomTarget() { bitField0_ = (bitField0_ & ~0x00000002); @@ -847,11 +996,15 @@ public Builder clearCustomTarget() { return this; } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder getCustomTargetBuilder() { bitField0_ |= 0x00000002; @@ -859,36 +1012,49 @@ public com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder getCustomTa return getCustomTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder getCustomTargetOrBuilder() { + public com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder + getCustomTargetOrBuilder() { if (customTargetBuilder_ != null) { return customTargetBuilder_.getMessageOrBuilder(); } else { - return customTarget_ == null ? - com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() : customTarget_; + return customTarget_ == null + ? com.google.cloud.deploy.v1.CustomTargetDeployMetadata.getDefaultInstance() + : customTarget_; } } /** + * + * *
      * Output only. Custom Target metadata associated with a `DeployJobRun`.
      * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetDeployMetadata, com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder, com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder> + com.google.cloud.deploy.v1.CustomTargetDeployMetadata, + com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder, + com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder> getCustomTargetFieldBuilder() { if (customTargetBuilder_ == null) { - customTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetDeployMetadata, com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder, com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder>( - getCustomTarget(), - getParentForChildren(), - isClean()); + customTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CustomTargetDeployMetadata, + com.google.cloud.deploy.v1.CustomTargetDeployMetadata.Builder, + com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder>( + getCustomTarget(), getParentForChildren(), isClean()); customTarget_ = null; } return customTargetBuilder_; @@ -896,39 +1062,58 @@ public com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder getCustomT private com.google.cloud.deploy.v1.CustomMetadata custom_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder> customBuilder_; + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder> + customBuilder_; /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ public boolean hasCustom() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ public com.google.cloud.deploy.v1.CustomMetadata getCustom() { if (customBuilder_ == null) { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } else { return customBuilder_.getMessage(); } } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata value) { if (customBuilder_ == null) { @@ -944,14 +1129,17 @@ public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata value) { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCustom( - com.google.cloud.deploy.v1.CustomMetadata.Builder builderForValue) { + public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata.Builder builderForValue) { if (customBuilder_ == null) { custom_ = builderForValue.build(); } else { @@ -962,17 +1150,21 @@ public Builder setCustom( return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCustom(com.google.cloud.deploy.v1.CustomMetadata value) { if (customBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - custom_ != null && - custom_ != com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && custom_ != null + && custom_ != com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance()) { getCustomBuilder().mergeFrom(value); } else { custom_ = value; @@ -985,11 +1177,15 @@ public Builder mergeCustom(com.google.cloud.deploy.v1.CustomMetadata value) { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCustom() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1198,15 @@ public Builder clearCustom() { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomMetadata.Builder getCustomBuilder() { bitField0_ |= 0x00000004; @@ -1014,43 +1214,55 @@ public com.google.cloud.deploy.v1.CustomMetadata.Builder getCustomBuilder() { return getCustomFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder() { if (customBuilder_ != null) { return customBuilder_.getMessageOrBuilder(); } else { - return custom_ == null ? - com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } } /** + * + * *
      * Output only. Custom metadata provided by user-defined deploy operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder> + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder> getCustomFieldBuilder() { if (customBuilder_ == null) { - customBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder>( - getCustom(), - getParentForChildren(), - isClean()); + customBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder>( + getCustom(), getParentForChildren(), isClean()); custom_ = null; } return customBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1060,12 +1272,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeployJobRunMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeployJobRunMetadata) private static final com.google.cloud.deploy.v1.DeployJobRunMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeployJobRunMetadata(); } @@ -1074,27 +1286,27 @@ public static com.google.cloud.deploy.v1.DeployJobRunMetadata getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployJobRunMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployJobRunMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,6 +1321,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeployJobRunMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadataOrBuilder.java similarity index 52% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadataOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadataOrBuilder.java index eb8c773cae2e..9abaf3a463a3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadataOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunMetadataOrBuilder.java @@ -1,93 +1,151 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeployJobRunMetadataOrBuilder extends +public interface DeployJobRunMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeployJobRunMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ boolean hasCloudRun(); /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ com.google.cloud.deploy.v1.CloudRunMetadata getCloudRun(); /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder(); /** + * + * *
    * Output only. Custom Target metadata associated with a `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the customTarget field is set. */ boolean hasCustomTarget(); /** + * + * *
    * Output only. Custom Target metadata associated with a `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The customTarget. */ com.google.cloud.deploy.v1.CustomTargetDeployMetadata getCustomTarget(); /** + * + * *
    * Output only. Custom Target metadata associated with a `DeployJobRun`.
    * 
* - * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CustomTargetDeployMetadataOrBuilder getCustomTargetOrBuilder(); /** + * + * *
    * Output only. Custom metadata provided by user-defined deploy operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ boolean hasCustom(); /** + * + * *
    * Output only. Custom metadata provided by user-defined deploy operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ com.google.cloud.deploy.v1.CustomMetadata getCustom(); /** + * + * *
    * Output only. Custom metadata provided by user-defined deploy operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunOrBuilder.java similarity index 57% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunOrBuilder.java index 7079890211da..28549b6d3f53 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobRunOrBuilder.java @@ -1,128 +1,196 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeployJobRunOrBuilder extends +public interface DeployJobRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeployJobRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); /** + * + * *
    * Output only. The reason the deploy failed. This will always be unspecified
    * while the deploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ int getFailureCauseValue(); /** + * + * *
    * Output only. The reason the deploy failed. This will always be unspecified
    * while the deploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ com.google.cloud.deploy.v1.DeployJobRun.FailureCause getFailureCause(); /** + * + * *
    * Output only. Additional information about the deploy failure, if available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ java.lang.String getFailureMessage(); /** + * + * *
    * Output only. Additional information about the deploy failure, if available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - com.google.protobuf.ByteString - getFailureMessageBytes(); + com.google.protobuf.ByteString getFailureMessageBytes(); /** + * + * *
    * Output only. Metadata containing information about the deploy job run.
    * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Metadata containing information about the deploy job run.
    * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ com.google.cloud.deploy.v1.DeployJobRunMetadata getMetadata(); /** + * + * *
    * Output only. Metadata containing information about the deploy job run.
    * 
* - * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.DeployJobRunMetadataOrBuilder getMetadataOrBuilder(); /** + * + * *
    * Output only. The artifact of a deploy job run, if available.
    * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the artifact field is set. */ boolean hasArtifact(); /** + * + * *
    * Output only. The artifact of a deploy job run, if available.
    * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The artifact. */ com.google.cloud.deploy.v1.DeployArtifact getArtifact(); /** + * + * *
    * Output only. The artifact of a deploy job run, if available.
    * 
* - * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.DeployArtifactOrBuilder getArtifactOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParameters.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParameters.java similarity index 57% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParameters.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParameters.java index bb1fdd5a5c98..9d85b33ce70b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParameters.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParameters.java @@ -1,88 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * DeployParameters contains deploy parameters information.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployParameters} */ -public final class DeployParameters extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeployParameters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeployParameters) DeployParametersOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeployParameters.newBuilder() to construct. private DeployParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeployParameters() { - } + + private DeployParameters() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeployParameters(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetValues(); case 2: return internalGetMatchTargetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployParameters.class, com.google.cloud.deploy.v1.DeployParameters.Builder.class); + com.google.cloud.deploy.v1.DeployParameters.class, + com.google.cloud.deploy.v1.DeployParameters.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + private static final class ValuesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { + private com.google.protobuf.MapField values_; + + private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ValuesDefaultEntryHolder.defaultEntry); } return values_; } + public int getValuesCount() { return internalGetValues().getMap().size(); } /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
@@ -90,20 +109,21 @@ public int getValuesCount() { * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetValues().getMap().containsKey(key); } - /** - * Use {@link #getValuesMap()} instead. - */ + /** Use {@link #getValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
@@ -115,6 +135,8 @@ public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
@@ -122,17 +144,19 @@ public java.util.Map getValuesMap() { * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ -java.lang.String getValuesOrDefault( + public /* nullable */ java.lang.String getValuesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
@@ -140,11 +164,11 @@ java.lang.String getValuesOrDefault( * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + public java.lang.String getValuesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -152,102 +176,119 @@ public java.lang.String getValuesOrThrow( } public static final int MATCH_TARGET_LABELS_FIELD_NUMBER = 2; + private static final class MatchTargetLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> matchTargetLabels_; + private com.google.protobuf.MapField matchTargetLabels_; + private com.google.protobuf.MapField - internalGetMatchTargetLabels() { + internalGetMatchTargetLabels() { if (matchTargetLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchTargetLabelsDefaultEntryHolder.defaultEntry); } return matchTargetLabels_; } + public int getMatchTargetLabelsCount() { return internalGetMatchTargetLabels().getMap().size(); } /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsMatchTargetLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMatchTargetLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMatchTargetLabels().getMap().containsKey(key); } - /** - * Use {@link #getMatchTargetLabelsMap()} instead. - */ + /** Use {@link #getMatchTargetLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMatchTargetLabels() { return getMatchTargetLabelsMap(); } /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getMatchTargetLabelsMap() { return internalGetMatchTargetLabels().getMap(); } /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getMatchTargetLabelsOrDefault( + public /* nullable */ java.lang.String getMatchTargetLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMatchTargetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMatchTargetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getMatchTargetLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMatchTargetLabels().getMap(); + public java.lang.String getMatchTargetLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMatchTargetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -255,6 +296,7 @@ public java.lang.String getMatchTargetLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,16 +308,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValues(), - ValuesDefaultEntryHolder.defaultEntry, - 1); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetValues(), ValuesDefaultEntryHolder.defaultEntry, 1); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetMatchTargetLabels(), MatchTargetLabelsDefaultEntryHolder.defaultEntry, @@ -289,25 +325,25 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetValues().getMap().entrySet()) { - com.google.protobuf.MapEntry - values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values__); - } - for (java.util.Map.Entry entry - : internalGetMatchTargetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - matchTargetLabels__ = MatchTargetLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, matchTargetLabels__); + for (java.util.Map.Entry entry : + internalGetValues().getMap().entrySet()) { + com.google.protobuf.MapEntry values__ = + ValuesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values__); + } + for (java.util.Map.Entry entry : + internalGetMatchTargetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry matchTargetLabels__ = + MatchTargetLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, matchTargetLabels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -317,17 +353,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.cloud.deploy.v1.DeployParameters)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeployParameters other = (com.google.cloud.deploy.v1.DeployParameters) obj; + com.google.cloud.deploy.v1.DeployParameters other = + (com.google.cloud.deploy.v1.DeployParameters) obj; - if (!internalGetValues().equals( - other.internalGetValues())) return false; - if (!internalGetMatchTargetLabels().equals( - other.internalGetMatchTargetLabels())) return false; + if (!internalGetValues().equals(other.internalGetValues())) return false; + if (!internalGetMatchTargetLabels().equals(other.internalGetMatchTargetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,158 +387,160 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeployParameters parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeployParameters parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeployParameters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeployParameters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeployParameters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeployParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeployParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeployParameters contains deploy parameters information.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeployParameters} */ - 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.cloud.deploy.v1.DeployParameters) com.google.cloud.deploy.v1.DeployParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetValues(); case 2: return internalGetMatchTargetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 1: return internalGetMutableValues(); case 2: return internalGetMutableMatchTargetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeployParameters.class, com.google.cloud.deploy.v1.DeployParameters.Builder.class); + com.google.cloud.deploy.v1.DeployParameters.class, + com.google.cloud.deploy.v1.DeployParameters.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeployParameters.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; } @java.lang.Override @@ -535,8 +572,11 @@ public com.google.cloud.deploy.v1.DeployParameters build() { @java.lang.Override public com.google.cloud.deploy.v1.DeployParameters buildPartial() { - com.google.cloud.deploy.v1.DeployParameters result = new com.google.cloud.deploy.v1.DeployParameters(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeployParameters result = + new com.google.cloud.deploy.v1.DeployParameters(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -557,38 +597,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeployParameters result) { 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) { + 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) { + 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.cloud.deploy.v1.DeployParameters) { - return mergeFrom((com.google.cloud.deploy.v1.DeployParameters)other); + return mergeFrom((com.google.cloud.deploy.v1.DeployParameters) other); } else { super.mergeFrom(other); return this; @@ -597,11 +638,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.deploy.v1.DeployParameters other) { if (other == com.google.cloud.deploy.v1.DeployParameters.getDefaultInstance()) return this; - internalGetMutableValues().mergeFrom( - other.internalGetValues()); + internalGetMutableValues().mergeFrom(other.internalGetValues()); bitField0_ |= 0x00000001; - internalGetMutableMatchTargetLabels().mergeFrom( - other.internalGetMatchTargetLabels()); + internalGetMutableMatchTargetLabels().mergeFrom(other.internalGetMatchTargetLabels()); bitField0_ |= 0x00000002; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -629,30 +668,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - values__ = input.readMessage( - ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableValues().getMutableMap().put( - values__.getKey(), values__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - matchTargetLabels__ = input.readMessage( - MatchTargetLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMatchTargetLabels().getMutableMap().put( - matchTargetLabels__.getKey(), matchTargetLabels__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry values__ = + input.readMessage( + ValuesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableValues() + .getMutableMap() + .put(values__.getKey(), values__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry + matchTargetLabels__ = + input.readMessage( + MatchTargetLabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMatchTargetLabels() + .getMutableMap() + .put(matchTargetLabels__.getKey(), matchTargetLabels__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,23 +709,22 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { + private com.google.protobuf.MapField values_; + + private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ValuesDefaultEntryHolder.defaultEntry); } return values_; } + private com.google.protobuf.MapField internalGetMutableValues() { if (values_ == null) { - values_ = com.google.protobuf.MapField.newMapField( - ValuesDefaultEntryHolder.defaultEntry); + values_ = com.google.protobuf.MapField.newMapField(ValuesDefaultEntryHolder.defaultEntry); } if (!values_.isMutable()) { values_ = values_.copy(); @@ -687,10 +733,13 @@ public Builder mergeFrom( onChanged(); return values_; } + public int getValuesCount() { return internalGetValues().getMap().size(); } /** + * + * *
      * Required. Values are deploy parameters in key-value pairs.
      * 
@@ -698,20 +747,21 @@ public int getValuesCount() { * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetValues().getMap().containsKey(key); } - /** - * Use {@link #getValuesMap()} instead. - */ + /** Use {@link #getValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** + * + * *
      * Required. Values are deploy parameters in key-value pairs.
      * 
@@ -723,6 +773,8 @@ public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** + * + * *
      * Required. Values are deploy parameters in key-value pairs.
      * 
@@ -730,17 +782,19 @@ public java.util.Map getValuesMap() { * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ -java.lang.String getValuesOrDefault( + public /* nullable */ java.lang.String getValuesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Required. Values are deploy parameters in key-value pairs.
      * 
@@ -748,79 +802,81 @@ java.lang.String getValuesOrDefault( * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetValues().getMap(); + public java.lang.String getValuesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearValues() { bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableValues().getMutableMap() - .clear(); + internalGetMutableValues().getMutableMap().clear(); return this; } /** + * + * *
      * Required. Values are deploy parameters in key-value pairs.
      * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableValues().getMutableMap() - .remove(key); + public Builder removeValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableValues().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableValues() { + public java.util.Map getMutableValues() { bitField0_ |= 0x00000001; return internalGetMutableValues().getMutableMap(); } /** + * + * *
      * Required. Values are deploy parameters in key-value pairs.
      * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putValues( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableValues().getMutableMap() - .put(key, value); + public Builder putValues(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableValues().getMutableMap().put(key, value); bitField0_ |= 0x00000001; return this; } /** + * + * *
      * Required. Values are deploy parameters in key-value pairs.
      * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putAllValues( - java.util.Map values) { - internalGetMutableValues().getMutableMap() - .putAll(values); + public Builder putAllValues(java.util.Map values) { + internalGetMutableValues().getMutableMap().putAll(values); bitField0_ |= 0x00000001; return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> matchTargetLabels_; + private com.google.protobuf.MapField matchTargetLabels_; + private com.google.protobuf.MapField internalGetMatchTargetLabels() { if (matchTargetLabels_ == null) { @@ -829,11 +885,13 @@ public Builder putAllValues( } return matchTargetLabels_; } + private com.google.protobuf.MapField internalGetMutableMatchTargetLabels() { if (matchTargetLabels_ == null) { - matchTargetLabels_ = com.google.protobuf.MapField.newMapField( - MatchTargetLabelsDefaultEntryHolder.defaultEntry); + matchTargetLabels_ = + com.google.protobuf.MapField.newMapField( + MatchTargetLabelsDefaultEntryHolder.defaultEntry); } if (!matchTargetLabels_.isMutable()) { matchTargetLabels_ = matchTargetLabels_.copy(); @@ -842,78 +900,96 @@ public Builder putAllValues( onChanged(); return matchTargetLabels_; } + public int getMatchTargetLabelsCount() { return internalGetMatchTargetLabels().getMap().size(); } /** + * + * *
      * Optional. Deploy parameters are applied to targets with match labels.
      * If unspecified, deploy parameters are applied to all targets (including
      * child targets of a multi-target).
      * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsMatchTargetLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMatchTargetLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMatchTargetLabels().getMap().containsKey(key); } - /** - * Use {@link #getMatchTargetLabelsMap()} instead. - */ + /** Use {@link #getMatchTargetLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMatchTargetLabels() { return getMatchTargetLabelsMap(); } /** + * + * *
      * Optional. Deploy parameters are applied to targets with match labels.
      * If unspecified, deploy parameters are applied to all targets (including
      * child targets of a multi-target).
      * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getMatchTargetLabelsMap() { return internalGetMatchTargetLabels().getMap(); } /** + * + * *
      * Optional. Deploy parameters are applied to targets with match labels.
      * If unspecified, deploy parameters are applied to all targets (including
      * child targets of a multi-target).
      * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getMatchTargetLabelsOrDefault( + public /* nullable */ java.lang.String getMatchTargetLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMatchTargetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Deploy parameters are applied to targets with match labels.
      * If unspecified, deploy parameters are applied to all targets (including
      * child targets of a multi-target).
      * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getMatchTargetLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public java.lang.String getMatchTargetLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMatchTargetLabels().getMap(); if (!map.containsKey(key)) { @@ -921,75 +997,84 @@ public java.lang.String getMatchTargetLabelsOrThrow( } return map.get(key); } + public Builder clearMatchTargetLabels() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableMatchTargetLabels().getMutableMap() - .clear(); + internalGetMutableMatchTargetLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Deploy parameters are applied to targets with match labels.
      * If unspecified, deploy parameters are applied to all targets (including
      * child targets of a multi-target).
      * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeMatchTargetLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMatchTargetLabels().getMutableMap() - .remove(key); + public Builder removeMatchTargetLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMatchTargetLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableMatchTargetLabels() { + public java.util.Map getMutableMatchTargetLabels() { bitField0_ |= 0x00000002; return internalGetMutableMatchTargetLabels().getMutableMap(); } /** + * + * *
      * Optional. Deploy parameters are applied to targets with match labels.
      * If unspecified, deploy parameters are applied to all targets (including
      * child targets of a multi-target).
      * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putMatchTargetLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableMatchTargetLabels().getMutableMap() - .put(key, value); + public Builder putMatchTargetLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableMatchTargetLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Optional. Deploy parameters are applied to targets with match labels.
      * If unspecified, deploy parameters are applied to all targets (including
      * child targets of a multi-target).
      * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllMatchTargetLabels( java.util.Map values) { - internalGetMutableMatchTargetLabels().getMutableMap() - .putAll(values); + internalGetMutableMatchTargetLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1084,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeployParameters) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeployParameters) private static final com.google.cloud.deploy.v1.DeployParameters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeployParameters(); } @@ -1013,27 +1098,27 @@ public static com.google.cloud.deploy.v1.DeployParameters getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1133,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeployParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParametersOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParametersOrBuilder.java similarity index 55% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParametersOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParametersOrBuilder.java index c1f668e8bfe3..f4a02a539b3e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParametersOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployParametersOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeployParametersOrBuilder extends +public interface DeployParametersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeployParameters) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
@@ -16,30 +34,31 @@ public interface DeployParametersOrBuilder extends */ int getValuesCount(); /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ - boolean containsValues( - java.lang.String key); - /** - * Use {@link #getValuesMap()} instead. - */ + boolean containsValues(java.lang.String key); + /** Use {@link #getValuesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getValues(); + java.util.Map getValues(); /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map - getValuesMap(); + java.util.Map getValuesMap(); /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
@@ -47,81 +66,96 @@ boolean containsValues( * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ -java.lang.String getValuesOrDefault( + java.lang.String getValuesOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Required. Values are deploy parameters in key-value pairs.
    * 
* * map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.lang.String getValuesOrThrow( - java.lang.String key); + java.lang.String getValuesOrThrow(java.lang.String key); /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getMatchTargetLabelsCount(); /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsMatchTargetLabels( - java.lang.String key); - /** - * Use {@link #getMatchTargetLabelsMap()} instead. + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsMatchTargetLabels(java.lang.String key); + /** Use {@link #getMatchTargetLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMatchTargetLabels(); + java.util.Map getMatchTargetLabels(); /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getMatchTargetLabelsMap(); + java.util.Map getMatchTargetLabelsMap(); /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getMatchTargetLabelsOrDefault( + java.lang.String getMatchTargetLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. Deploy parameters are applied to targets with match labels.
    * If unspecified, deploy parameters are applied to all targets (including
    * child targets of a multi-target).
    * 
* - * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getMatchTargetLabelsOrThrow( - java.lang.String key); + java.lang.String getMatchTargetLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java similarity index 60% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java index 7f4b983f1e39..b95765670a9d 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Deployment job composition.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.DeploymentJobs} */ -public final class DeploymentJobs extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeploymentJobs extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.DeploymentJobs) DeploymentJobsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeploymentJobs.newBuilder() to construct. private DeploymentJobs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeploymentJobs() { - } + + private DeploymentJobs() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeploymentJobs(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeploymentJobs.class, com.google.cloud.deploy.v1.DeploymentJobs.Builder.class); + com.google.cloud.deploy.v1.DeploymentJobs.class, + com.google.cloud.deploy.v1.DeploymentJobs.Builder.class); } public static final int DEPLOY_JOB_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.Job deployJob_; /** + * + * *
    * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJob field is set. */ @java.lang.Override @@ -57,11 +79,15 @@ public boolean hasDeployJob() { return deployJob_ != null; } /** + * + * *
    * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJob. */ @java.lang.Override @@ -69,11 +95,14 @@ public com.google.cloud.deploy.v1.Job getDeployJob() { return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : deployJob_; } /** + * + * *
    * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { @@ -83,11 +112,15 @@ public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { public static final int VERIFY_JOB_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.Job verifyJob_; /** + * + * *
    * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJob field is set. */ @java.lang.Override @@ -95,11 +128,15 @@ public boolean hasVerifyJob() { return verifyJob_ != null; } /** + * + * *
    * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJob. */ @java.lang.Override @@ -107,11 +144,14 @@ public com.google.cloud.deploy.v1.Job getVerifyJob() { return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : verifyJob_; } /** + * + * *
    * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { @@ -121,11 +161,16 @@ public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { public static final int PREDEPLOY_JOB_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.Job predeployJob_; /** + * + * *
    * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJob field is set. */ @java.lang.Override @@ -133,37 +178,55 @@ public boolean hasPredeployJob() { return predeployJob_ != null; } /** + * + * *
    * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJob. */ @java.lang.Override public com.google.cloud.deploy.v1.Job getPredeployJob() { - return predeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : predeployJob_; + return predeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : predeployJob_; } /** + * + * *
    * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder() { - return predeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : predeployJob_; + return predeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : predeployJob_; } public static final int POSTDEPLOY_JOB_FIELD_NUMBER = 4; private com.google.cloud.deploy.v1.Job postdeployJob_; /** + * + * *
    * Output only. The postdeploy Job, which is the last job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJob field is set. */ @java.lang.Override @@ -171,30 +234,44 @@ public boolean hasPostdeployJob() { return postdeployJob_ != null; } /** + * + * *
    * Output only. The postdeploy Job, which is the last job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJob. */ @java.lang.Override public com.google.cloud.deploy.v1.Job getPostdeployJob() { - return postdeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : postdeployJob_; + return postdeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : postdeployJob_; } /** + * + * *
    * Output only. The postdeploy Job, which is the last job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.JobOrBuilder getPostdeployJobOrBuilder() { - return postdeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : postdeployJob_; + return postdeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : postdeployJob_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +283,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 (deployJob_ != null) { output.writeMessage(1, getDeployJob()); } @@ -230,20 +306,16 @@ public int getSerializedSize() { size = 0; if (deployJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDeployJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDeployJob()); } if (verifyJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVerifyJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyJob()); } if (predeployJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPredeployJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPredeployJob()); } if (postdeployJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPostdeployJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPostdeployJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -253,32 +325,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.DeploymentJobs)) { return super.equals(obj); } - com.google.cloud.deploy.v1.DeploymentJobs other = (com.google.cloud.deploy.v1.DeploymentJobs) obj; + com.google.cloud.deploy.v1.DeploymentJobs other = + (com.google.cloud.deploy.v1.DeploymentJobs) obj; if (hasDeployJob() != other.hasDeployJob()) return false; if (hasDeployJob()) { - if (!getDeployJob() - .equals(other.getDeployJob())) return false; + if (!getDeployJob().equals(other.getDeployJob())) return false; } if (hasVerifyJob() != other.hasVerifyJob()) return false; if (hasVerifyJob()) { - if (!getVerifyJob() - .equals(other.getVerifyJob())) return false; + if (!getVerifyJob().equals(other.getVerifyJob())) return false; } if (hasPredeployJob() != other.hasPredeployJob()) return false; if (hasPredeployJob()) { - if (!getPredeployJob() - .equals(other.getPredeployJob())) return false; + if (!getPredeployJob().equals(other.getPredeployJob())) return false; } if (hasPostdeployJob() != other.hasPostdeployJob()) return false; if (hasPostdeployJob()) { - if (!getPostdeployJob() - .equals(other.getPostdeployJob())) return false; + if (!getPostdeployJob().equals(other.getPostdeployJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,132 +381,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.DeploymentJobs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.DeploymentJobs parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.DeploymentJobs parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.DeploymentJobs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.DeploymentJobs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Deployment job composition.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.DeploymentJobs} */ - 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.cloud.deploy.v1.DeploymentJobs) com.google.cloud.deploy.v1.DeploymentJobsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.DeploymentJobs.class, com.google.cloud.deploy.v1.DeploymentJobs.Builder.class); + com.google.cloud.deploy.v1.DeploymentJobs.class, + com.google.cloud.deploy.v1.DeploymentJobs.Builder.class); } // Construct using com.google.cloud.deploy.v1.DeploymentJobs.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; } @java.lang.Override @@ -487,8 +560,11 @@ public com.google.cloud.deploy.v1.DeploymentJobs build() { @java.lang.Override public com.google.cloud.deploy.v1.DeploymentJobs buildPartial() { - com.google.cloud.deploy.v1.DeploymentJobs result = new com.google.cloud.deploy.v1.DeploymentJobs(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.DeploymentJobs result = + new com.google.cloud.deploy.v1.DeploymentJobs(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -496,24 +572,18 @@ public com.google.cloud.deploy.v1.DeploymentJobs buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.DeploymentJobs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.deployJob_ = deployJobBuilder_ == null - ? deployJob_ - : deployJobBuilder_.build(); + result.deployJob_ = deployJobBuilder_ == null ? deployJob_ : deployJobBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyJob_ = verifyJobBuilder_ == null - ? verifyJob_ - : verifyJobBuilder_.build(); + result.verifyJob_ = verifyJobBuilder_ == null ? verifyJob_ : verifyJobBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.predeployJob_ = predeployJobBuilder_ == null - ? predeployJob_ - : predeployJobBuilder_.build(); + result.predeployJob_ = + predeployJobBuilder_ == null ? predeployJob_ : predeployJobBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.postdeployJob_ = postdeployJobBuilder_ == null - ? postdeployJob_ - : postdeployJobBuilder_.build(); + result.postdeployJob_ = + postdeployJobBuilder_ == null ? postdeployJob_ : postdeployJobBuilder_.build(); } } @@ -521,38 +591,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeploymentJobs result) { 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) { + 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) { + 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.cloud.deploy.v1.DeploymentJobs) { - return mergeFrom((com.google.cloud.deploy.v1.DeploymentJobs)other); + return mergeFrom((com.google.cloud.deploy.v1.DeploymentJobs) other); } else { super.mergeFrom(other); return this; @@ -599,40 +670,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDeployJobFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getVerifyJobFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getPredeployJobFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getPostdeployJobFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getDeployJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getVerifyJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getPredeployJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getPostdeployJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -642,43 +710,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.deploy.v1.Job deployJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> deployJobBuilder_; + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> + deployJobBuilder_; /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJob field is set. */ public boolean hasDeployJob() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJob. */ public com.google.cloud.deploy.v1.Job getDeployJob() { if (deployJobBuilder_ == null) { - return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : deployJob_; + return deployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : deployJob_; } else { return deployJobBuilder_.getMessage(); } } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeployJob(com.google.cloud.deploy.v1.Job value) { if (deployJobBuilder_ == null) { @@ -694,14 +782,17 @@ public Builder setDeployJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeployJob( - com.google.cloud.deploy.v1.Job.Builder builderForValue) { + public Builder setDeployJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { if (deployJobBuilder_ == null) { deployJob_ = builderForValue.build(); } else { @@ -712,17 +803,21 @@ public Builder setDeployJob( return this; } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeployJob(com.google.cloud.deploy.v1.Job value) { if (deployJobBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - deployJob_ != null && - deployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && deployJob_ != null + && deployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { getDeployJobBuilder().mergeFrom(value); } else { deployJob_ = value; @@ -735,11 +830,15 @@ public Builder mergeDeployJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeployJob() { bitField0_ = (bitField0_ & ~0x00000001); @@ -752,11 +851,15 @@ public Builder clearDeployJob() { return this; } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job.Builder getDeployJobBuilder() { bitField0_ |= 0x00000001; @@ -764,36 +867,48 @@ public com.google.cloud.deploy.v1.Job.Builder getDeployJobBuilder() { return getDeployJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { if (deployJobBuilder_ != null) { return deployJobBuilder_.getMessageOrBuilder(); } else { - return deployJob_ == null ? - com.google.cloud.deploy.v1.Job.getDefaultInstance() : deployJob_; + return deployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : deployJob_; } } /** + * + * *
      * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> getDeployJobFieldBuilder() { if (deployJobBuilder_ == null) { - deployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( - getDeployJob(), - getParentForChildren(), - isClean()); + deployJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder>( + getDeployJob(), getParentForChildren(), isClean()); deployJob_ = null; } return deployJobBuilder_; @@ -801,39 +916,58 @@ public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { private com.google.cloud.deploy.v1.Job verifyJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> verifyJobBuilder_; + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> + verifyJobBuilder_; /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJob field is set. */ public boolean hasVerifyJob() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJob. */ public com.google.cloud.deploy.v1.Job getVerifyJob() { if (verifyJobBuilder_ == null) { - return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : verifyJob_; + return verifyJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : verifyJob_; } else { return verifyJobBuilder_.getMessage(); } } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVerifyJob(com.google.cloud.deploy.v1.Job value) { if (verifyJobBuilder_ == null) { @@ -849,14 +983,17 @@ public Builder setVerifyJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setVerifyJob( - com.google.cloud.deploy.v1.Job.Builder builderForValue) { + public Builder setVerifyJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { if (verifyJobBuilder_ == null) { verifyJob_ = builderForValue.build(); } else { @@ -867,17 +1004,21 @@ public Builder setVerifyJob( return this; } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeVerifyJob(com.google.cloud.deploy.v1.Job value) { if (verifyJobBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - verifyJob_ != null && - verifyJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && verifyJob_ != null + && verifyJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { getVerifyJobBuilder().mergeFrom(value); } else { verifyJob_ = value; @@ -890,11 +1031,15 @@ public Builder mergeVerifyJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearVerifyJob() { bitField0_ = (bitField0_ & ~0x00000002); @@ -907,11 +1052,15 @@ public Builder clearVerifyJob() { return this; } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job.Builder getVerifyJobBuilder() { bitField0_ |= 0x00000002; @@ -919,36 +1068,48 @@ public com.google.cloud.deploy.v1.Job.Builder getVerifyJobBuilder() { return getVerifyJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { if (verifyJobBuilder_ != null) { return verifyJobBuilder_.getMessageOrBuilder(); } else { - return verifyJob_ == null ? - com.google.cloud.deploy.v1.Job.getDefaultInstance() : verifyJob_; + return verifyJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : verifyJob_; } } /** + * + * *
      * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> getVerifyJobFieldBuilder() { if (verifyJobBuilder_ == null) { - verifyJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( - getVerifyJob(), - getParentForChildren(), - isClean()); + verifyJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder>( + getVerifyJob(), getParentForChildren(), isClean()); verifyJob_ = null; } return verifyJobBuilder_; @@ -956,39 +1117,58 @@ public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { private com.google.cloud.deploy.v1.Job predeployJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> predeployJobBuilder_; + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> + predeployJobBuilder_; /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJob field is set. */ public boolean hasPredeployJob() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJob. */ public com.google.cloud.deploy.v1.Job getPredeployJob() { if (predeployJobBuilder_ == null) { - return predeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : predeployJob_; + return predeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : predeployJob_; } else { return predeployJobBuilder_.getMessage(); } } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPredeployJob(com.google.cloud.deploy.v1.Job value) { if (predeployJobBuilder_ == null) { @@ -1004,14 +1184,17 @@ public Builder setPredeployJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPredeployJob( - com.google.cloud.deploy.v1.Job.Builder builderForValue) { + public Builder setPredeployJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { if (predeployJobBuilder_ == null) { predeployJob_ = builderForValue.build(); } else { @@ -1022,17 +1205,21 @@ public Builder setPredeployJob( return this; } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePredeployJob(com.google.cloud.deploy.v1.Job value) { if (predeployJobBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - predeployJob_ != null && - predeployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && predeployJob_ != null + && predeployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { getPredeployJobBuilder().mergeFrom(value); } else { predeployJob_ = value; @@ -1045,11 +1232,15 @@ public Builder mergePredeployJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPredeployJob() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1062,11 +1253,15 @@ public Builder clearPredeployJob() { return this; } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job.Builder getPredeployJobBuilder() { bitField0_ |= 0x00000004; @@ -1074,36 +1269,48 @@ public com.google.cloud.deploy.v1.Job.Builder getPredeployJobBuilder() { return getPredeployJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder() { if (predeployJobBuilder_ != null) { return predeployJobBuilder_.getMessageOrBuilder(); } else { - return predeployJob_ == null ? - com.google.cloud.deploy.v1.Job.getDefaultInstance() : predeployJob_; + return predeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : predeployJob_; } } /** + * + * *
      * Output only. The predeploy Job, which is the first job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> getPredeployJobFieldBuilder() { if (predeployJobBuilder_ == null) { - predeployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( - getPredeployJob(), - getParentForChildren(), - isClean()); + predeployJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder>( + getPredeployJob(), getParentForChildren(), isClean()); predeployJob_ = null; } return predeployJobBuilder_; @@ -1111,39 +1318,58 @@ public com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder() { private com.google.cloud.deploy.v1.Job postdeployJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> postdeployJobBuilder_; + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> + postdeployJobBuilder_; /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJob field is set. */ public boolean hasPostdeployJob() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJob. */ public com.google.cloud.deploy.v1.Job getPostdeployJob() { if (postdeployJobBuilder_ == null) { - return postdeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : postdeployJob_; + return postdeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : postdeployJob_; } else { return postdeployJobBuilder_.getMessage(); } } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostdeployJob(com.google.cloud.deploy.v1.Job value) { if (postdeployJobBuilder_ == null) { @@ -1159,14 +1385,17 @@ public Builder setPostdeployJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostdeployJob( - com.google.cloud.deploy.v1.Job.Builder builderForValue) { + public Builder setPostdeployJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { if (postdeployJobBuilder_ == null) { postdeployJob_ = builderForValue.build(); } else { @@ -1177,17 +1406,21 @@ public Builder setPostdeployJob( return this; } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostdeployJob(com.google.cloud.deploy.v1.Job value) { if (postdeployJobBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - postdeployJob_ != null && - postdeployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && postdeployJob_ != null + && postdeployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { getPostdeployJobBuilder().mergeFrom(value); } else { postdeployJob_ = value; @@ -1200,11 +1433,15 @@ public Builder mergePostdeployJob(com.google.cloud.deploy.v1.Job value) { return this; } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostdeployJob() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1217,11 +1454,15 @@ public Builder clearPostdeployJob() { return this; } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Job.Builder getPostdeployJobBuilder() { bitField0_ |= 0x00000008; @@ -1229,43 +1470,55 @@ public com.google.cloud.deploy.v1.Job.Builder getPostdeployJobBuilder() { return getPostdeployJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.JobOrBuilder getPostdeployJobOrBuilder() { if (postdeployJobBuilder_ != null) { return postdeployJobBuilder_.getMessageOrBuilder(); } else { - return postdeployJob_ == null ? - com.google.cloud.deploy.v1.Job.getDefaultInstance() : postdeployJob_; + return postdeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : postdeployJob_; } } /** + * + * *
      * Output only. The postdeploy Job, which is the last job on the phase.
      * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder> getPostdeployJobFieldBuilder() { if (postdeployJobBuilder_ == null) { - postdeployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( - getPostdeployJob(), - getParentForChildren(), - isClean()); + postdeployJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Job, + com.google.cloud.deploy.v1.Job.Builder, + com.google.cloud.deploy.v1.JobOrBuilder>( + getPostdeployJob(), getParentForChildren(), isClean()); postdeployJob_ = null; } return postdeployJobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1275,12 +1528,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.DeploymentJobs) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.DeploymentJobs) private static final com.google.cloud.deploy.v1.DeploymentJobs DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.DeploymentJobs(); } @@ -1289,27 +1542,27 @@ public static com.google.cloud.deploy.v1.DeploymentJobs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeploymentJobs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentJobs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1324,6 +1577,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeploymentJobs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java index 13eb7e189648..bb21be956fce 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java @@ -1,117 +1,183 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface DeploymentJobsOrBuilder extends +public interface DeploymentJobsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeploymentJobs) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJob field is set. */ boolean hasDeployJob(); /** + * + * *
    * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJob. */ com.google.cloud.deploy.v1.Job getDeployJob(); /** + * + * *
    * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder(); /** + * + * *
    * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJob field is set. */ boolean hasVerifyJob(); /** + * + * *
    * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJob. */ com.google.cloud.deploy.v1.Job getVerifyJob(); /** + * + * *
    * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder(); /** + * + * *
    * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJob field is set. */ boolean hasPredeployJob(); /** + * + * *
    * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJob. */ com.google.cloud.deploy.v1.Job getPredeployJob(); /** + * + * *
    * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder(); /** + * + * *
    * Output only. The postdeploy Job, which is the last job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJob field is set. */ boolean hasPostdeployJob(); /** + * + * *
    * Output only. The postdeploy Job, which is the last job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJob. */ com.google.cloud.deploy.v1.Job getPostdeployJob(); /** + * + * *
    * Output only. The postdeploy Job, which is the last job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.JobOrBuilder getPostdeployJobOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java index 6129ca6dab56..51cb1f576a90 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Configuration of the environment to use when calling Skaffold.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ExecutionConfig} */ -public final class ExecutionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExecutionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ExecutionConfig) ExecutionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionConfig.newBuilder() to construct. private ExecutionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecutionConfig() { usages_ = java.util.Collections.emptyList(); workerPool_ = ""; @@ -28,34 +46,38 @@ private ExecutionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ExecutionConfig.class, com.google.cloud.deploy.v1.ExecutionConfig.Builder.class); + com.google.cloud.deploy.v1.ExecutionConfig.class, + com.google.cloud.deploy.v1.ExecutionConfig.Builder.class); } /** + * + * *
    * Possible usages of this configuration.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage} */ - public enum ExecutionEnvironmentUsage - implements com.google.protobuf.ProtocolMessageEnum { + public enum ExecutionEnvironmentUsage implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -64,6 +86,8 @@ public enum ExecutionEnvironmentUsage */ EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED(0), /** + * + * *
      * Use for rendering.
      * 
@@ -72,6 +96,8 @@ public enum ExecutionEnvironmentUsage */ RENDER(1), /** + * + * *
      * Use for deploying and deployment hooks.
      * 
@@ -80,6 +106,8 @@ public enum ExecutionEnvironmentUsage */ DEPLOY(2), /** + * + * *
      * Use for deployment verification.
      * 
@@ -88,6 +116,8 @@ public enum ExecutionEnvironmentUsage */ VERIFY(3), /** + * + * *
      * Use for predeploy job execution.
      * 
@@ -96,6 +126,8 @@ public enum ExecutionEnvironmentUsage */ PREDEPLOY(4), /** + * + * *
      * Use for postdeploy job execution.
      * 
@@ -107,6 +139,8 @@ public enum ExecutionEnvironmentUsage ; /** + * + * *
      * Default value. This value is unused.
      * 
@@ -115,6 +149,8 @@ public enum ExecutionEnvironmentUsage */ public static final int EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use for rendering.
      * 
@@ -123,6 +159,8 @@ public enum ExecutionEnvironmentUsage */ public static final int RENDER_VALUE = 1; /** + * + * *
      * Use for deploying and deployment hooks.
      * 
@@ -131,6 +169,8 @@ public enum ExecutionEnvironmentUsage */ public static final int DEPLOY_VALUE = 2; /** + * + * *
      * Use for deployment verification.
      * 
@@ -139,6 +179,8 @@ public enum ExecutionEnvironmentUsage */ public static final int VERIFY_VALUE = 3; /** + * + * *
      * Use for predeploy job execution.
      * 
@@ -147,6 +189,8 @@ public enum ExecutionEnvironmentUsage */ public static final int PREDEPLOY_VALUE = 4; /** + * + * *
      * Use for postdeploy job execution.
      * 
@@ -155,7 +199,6 @@ public enum ExecutionEnvironmentUsage */ public static final int POSTDEPLOY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,13 +223,20 @@ public static ExecutionEnvironmentUsage valueOf(int value) { */ public static ExecutionEnvironmentUsage forNumber(int value) { switch (value) { - case 0: return EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED; - case 1: return RENDER; - case 2: return DEPLOY; - case 3: return VERIFY; - case 4: return PREDEPLOY; - case 5: return POSTDEPLOY; - default: return null; + case 0: + return EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED; + case 1: + return RENDER; + case 2: + return DEPLOY; + case 3: + return VERIFY; + case 4: + return PREDEPLOY; + case 5: + return POSTDEPLOY; + default: + return null; } } @@ -194,28 +244,28 @@ public static ExecutionEnvironmentUsage forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ExecutionEnvironmentUsage> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionEnvironmentUsage findValueByNumber(int number) { - return ExecutionEnvironmentUsage.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 ExecutionEnvironmentUsage findValueByNumber(int number) { + return ExecutionEnvironmentUsage.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.ExecutionConfig.getDescriptor().getEnumTypes().get(0); } @@ -224,8 +274,7 @@ public ExecutionEnvironmentUsage findValueByNumber(int number) { public static ExecutionEnvironmentUsage 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; @@ -243,15 +292,19 @@ private ExecutionEnvironmentUsage(int value) { } private int executionEnvironmentCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object executionEnvironment_; + public enum ExecutionEnvironmentCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DEFAULT_POOL(2), PRIVATE_POOL(3), EXECUTIONENVIRONMENT_NOT_SET(0); private final int value; + private ExecutionEnvironmentCase(int value) { this.value = value; } @@ -267,54 +320,79 @@ public static ExecutionEnvironmentCase valueOf(int value) { public static ExecutionEnvironmentCase forNumber(int value) { switch (value) { - case 2: return DEFAULT_POOL; - case 3: return PRIVATE_POOL; - case 0: return EXECUTIONENVIRONMENT_NOT_SET; - default: return null; + case 2: + return DEFAULT_POOL; + case 3: + return PRIVATE_POOL; + case 0: + return EXECUTIONENVIRONMENT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ExecutionEnvironmentCase - getExecutionEnvironmentCase() { - return ExecutionEnvironmentCase.forNumber( - executionEnvironmentCase_); + public ExecutionEnvironmentCase getExecutionEnvironmentCase() { + return ExecutionEnvironmentCase.forNumber(executionEnvironmentCase_); } public static final int USAGES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List usages_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage> usages_converter_ = + java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage> + usages_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage>() { - public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage convert(java.lang.Integer from) { - com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage result = com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage.forNumber(from); - return result == null ? com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage.UNRECOGNIZED : result; + java.lang.Integer, + com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage>() { + public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage convert( + java.lang.Integer from) { + com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage result = + com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage.forNumber( + from); + return result == null + ? com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage + .UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the usages. */ @java.lang.Override - public java.util.List getUsagesList() { + public java.util.List + getUsagesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage>(usages_, usages_converter_); + java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage>( + usages_, usages_converter_); } /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of usages. */ @java.lang.Override @@ -322,11 +400,16 @@ public int getUsagesCount() { return usages_.size(); } /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The usages at the given index. */ @@ -335,24 +418,33 @@ public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage getU return usages_converter_.convert(usages_.get(index)); } /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for usages. */ @java.lang.Override - public java.util.List - getUsagesValueList() { + public java.util.List getUsagesValueList() { return usages_; } /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of usages at the given index. */ @@ -360,15 +452,21 @@ public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage getU public int getUsagesValue(int index) { return usages_.get(index); } + private int usagesMemoizedSerializedSize; public static final int DEFAULT_POOL_FIELD_NUMBER = 2; /** + * + * *
    * Optional. Use default Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the defaultPool field is set. */ @java.lang.Override @@ -376,42 +474,56 @@ public boolean hasDefaultPool() { return executionEnvironmentCase_ == 2; } /** + * + * *
    * Optional. Use default Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The defaultPool. */ @java.lang.Override public com.google.cloud.deploy.v1.DefaultPool getDefaultPool() { if (executionEnvironmentCase_ == 2) { - return (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_; + return (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_; } return com.google.cloud.deploy.v1.DefaultPool.getDefaultInstance(); } /** + * + * *
    * Optional. Use default Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DefaultPoolOrBuilder getDefaultPoolOrBuilder() { if (executionEnvironmentCase_ == 2) { - return (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_; + return (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_; } return com.google.cloud.deploy.v1.DefaultPool.getDefaultInstance(); } public static final int PRIVATE_POOL_FIELD_NUMBER = 3; /** + * + * *
    * Optional. Use private Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privatePool field is set. */ @java.lang.Override @@ -419,39 +531,51 @@ public boolean hasPrivatePool() { return executionEnvironmentCase_ == 3; } /** + * + * *
    * Optional. Use private Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privatePool. */ @java.lang.Override public com.google.cloud.deploy.v1.PrivatePool getPrivatePool() { if (executionEnvironmentCase_ == 3) { - return (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_; + return (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_; } return com.google.cloud.deploy.v1.PrivatePool.getDefaultInstance(); } /** + * + * *
    * Optional. Use private Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder() { if (executionEnvironmentCase_ == 3) { - return (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_; + return (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_; } return com.google.cloud.deploy.v1.PrivatePool.getDefaultInstance(); } public static final int WORKER_POOL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object workerPool_ = ""; /** + * + * *
    * Optional. The resource name of the `WorkerPool`, with the format
    * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -459,7 +583,10 @@ public com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder()
    * used.
    * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ @java.lang.Override @@ -468,14 +595,15 @@ public java.lang.String getWorkerPool() { 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(); workerPool_ = s; return s; } } /** + * + * *
    * Optional. The resource name of the `WorkerPool`, with the format
    * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -483,17 +611,18 @@ public java.lang.String getWorkerPool() {
    * used.
    * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; 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); workerPool_ = b; return b; } else { @@ -502,9 +631,12 @@ public java.lang.String getWorkerPool() { } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -512,6 +644,7 @@ public java.lang.String getWorkerPool() {
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ @java.lang.Override @@ -520,14 +653,15 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -535,16 +669,15 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -553,9 +686,12 @@ public java.lang.String getServiceAccount() { } public static final int ARTIFACT_STORAGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object artifactStorage_ = ""; /** + * + * *
    * Optional. Cloud Storage location in which to store execution outputs. This
    * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -564,6 +700,7 @@ public java.lang.String getServiceAccount() {
    * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ @java.lang.Override @@ -572,14 +709,15 @@ public java.lang.String getArtifactStorage() { 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(); artifactStorage_ = s; return s; } } /** + * + * *
    * Optional. Cloud Storage location in which to store execution outputs. This
    * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -588,16 +726,15 @@ public java.lang.String getArtifactStorage() {
    * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactStorageBytes() { + public com.google.protobuf.ByteString getArtifactStorageBytes() { java.lang.Object ref = artifactStorage_; 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); artifactStorage_ = b; return b; } else { @@ -608,13 +745,18 @@ public java.lang.String getArtifactStorage() { public static final int EXECUTION_TIMEOUT_FIELD_NUMBER = 7; private com.google.protobuf.Duration executionTimeout_; /** + * + * *
    * Optional. Execution timeout for a Cloud Build Execution. This must be
    * between 10m and 24h in seconds format. If unspecified, a default timeout of
    * 1h is used.
    * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ @java.lang.Override @@ -622,34 +764,48 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** + * + * *
    * Optional. Execution timeout for a Cloud Build Execution. This must be
    * between 10m and 24h in seconds format. If unspecified, a default timeout of
    * 1h is used.
    * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ @java.lang.Override public com.google.protobuf.Duration getExecutionTimeout() { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } /** + * + * *
    * Optional. Execution timeout for a Cloud Build Execution. This must be
    * between 10m and 24h in seconds format. If unspecified, a default timeout of
    * 1h is used.
    * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -661,8 +817,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 (getUsagesList().size() > 0) { output.writeUInt32NoTag(10); @@ -701,22 +856,24 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < usages_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(usages_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(usages_.get(i)); } size += dataSize; - if (!getUsagesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }usagesMemoizedSerializedSize = dataSize; + if (!getUsagesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + usagesMemoizedSerializedSize = dataSize; } if (executionEnvironmentCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_); } if (executionEnvironmentCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerPool_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, workerPool_); @@ -728,8 +885,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, artifactStorage_); } if (executionTimeout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getExecutionTimeout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExecutionTimeout()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -739,34 +895,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.ExecutionConfig)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ExecutionConfig other = (com.google.cloud.deploy.v1.ExecutionConfig) obj; + com.google.cloud.deploy.v1.ExecutionConfig other = + (com.google.cloud.deploy.v1.ExecutionConfig) obj; if (!usages_.equals(other.usages_)) return false; - if (!getWorkerPool() - .equals(other.getWorkerPool())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getArtifactStorage() - .equals(other.getArtifactStorage())) return false; + if (!getWorkerPool().equals(other.getWorkerPool())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getArtifactStorage().equals(other.getArtifactStorage())) return false; if (hasExecutionTimeout() != other.hasExecutionTimeout()) return false; if (hasExecutionTimeout()) { - if (!getExecutionTimeout() - .equals(other.getExecutionTimeout())) return false; + if (!getExecutionTimeout().equals(other.getExecutionTimeout())) return false; } if (!getExecutionEnvironmentCase().equals(other.getExecutionEnvironmentCase())) return false; switch (executionEnvironmentCase_) { case 2: - if (!getDefaultPool() - .equals(other.getDefaultPool())) return false; + if (!getDefaultPool().equals(other.getDefaultPool())) return false; break; case 3: - if (!getPrivatePool() - .equals(other.getPrivatePool())) return false; + if (!getPrivatePool().equals(other.getPrivatePool())) return false; break; case 0: default: @@ -813,132 +964,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ExecutionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ExecutionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ExecutionConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ExecutionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ExecutionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of the environment to use when calling Skaffold.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ExecutionConfig} */ - 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.cloud.deploy.v1.ExecutionConfig) com.google.cloud.deploy.v1.ExecutionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ExecutionConfig.class, com.google.cloud.deploy.v1.ExecutionConfig.Builder.class); + com.google.cloud.deploy.v1.ExecutionConfig.class, + com.google.cloud.deploy.v1.ExecutionConfig.Builder.class); } // Construct using com.google.cloud.deploy.v1.ExecutionConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -965,9 +1120,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; } @java.lang.Override @@ -986,9 +1141,12 @@ public com.google.cloud.deploy.v1.ExecutionConfig build() { @java.lang.Override public com.google.cloud.deploy.v1.ExecutionConfig buildPartial() { - com.google.cloud.deploy.v1.ExecutionConfig result = new com.google.cloud.deploy.v1.ExecutionConfig(this); + com.google.cloud.deploy.v1.ExecutionConfig result = + new com.google.cloud.deploy.v1.ExecutionConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1014,21 +1172,18 @@ private void buildPartial0(com.google.cloud.deploy.v1.ExecutionConfig result) { result.artifactStorage_ = artifactStorage_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.executionTimeout_ = executionTimeoutBuilder_ == null - ? executionTimeout_ - : executionTimeoutBuilder_.build(); + result.executionTimeout_ = + executionTimeoutBuilder_ == null ? executionTimeout_ : executionTimeoutBuilder_.build(); } } private void buildPartialOneofs(com.google.cloud.deploy.v1.ExecutionConfig result) { result.executionEnvironmentCase_ = executionEnvironmentCase_; result.executionEnvironment_ = this.executionEnvironment_; - if (executionEnvironmentCase_ == 2 && - defaultPoolBuilder_ != null) { + if (executionEnvironmentCase_ == 2 && defaultPoolBuilder_ != null) { result.executionEnvironment_ = defaultPoolBuilder_.build(); } - if (executionEnvironmentCase_ == 3 && - privatePoolBuilder_ != null) { + if (executionEnvironmentCase_ == 3 && privatePoolBuilder_ != null) { result.executionEnvironment_ = privatePoolBuilder_.build(); } } @@ -1037,38 +1192,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.ExecutionConfig resul 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) { + 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) { + 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.cloud.deploy.v1.ExecutionConfig) { - return mergeFrom((com.google.cloud.deploy.v1.ExecutionConfig)other); + return mergeFrom((com.google.cloud.deploy.v1.ExecutionConfig) other); } else { super.mergeFrom(other); return this; @@ -1106,17 +1262,20 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ExecutionConfig other) { mergeExecutionTimeout(other.getExecutionTimeout()); } switch (other.getExecutionEnvironmentCase()) { - case DEFAULT_POOL: { - mergeDefaultPool(other.getDefaultPool()); - break; - } - case PRIVATE_POOL: { - mergePrivatePool(other.getPrivatePool()); - break; - } - case EXECUTIONENVIRONMENT_NOT_SET: { - break; - } + case DEFAULT_POOL: + { + mergeDefaultPool(other.getDefaultPool()); + break; + } + case PRIVATE_POOL: + { + mergePrivatePool(other.getPrivatePool()); + break; + } + case EXECUTIONENVIRONMENT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1144,65 +1303,69 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int tmpRaw = input.readEnum(); - ensureUsagesIsMutable(); - usages_.add(tmpRaw); - break; - } // case 8 - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int tmpRaw = input.readEnum(); ensureUsagesIsMutable(); usages_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - case 18: { - input.readMessage( - getDefaultPoolFieldBuilder().getBuilder(), - extensionRegistry); - executionEnvironmentCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getPrivatePoolFieldBuilder().getBuilder(), - extensionRegistry); - executionEnvironmentCase_ = 3; - break; - } // case 26 - case 34: { - workerPool_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - artifactStorage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getExecutionTimeoutFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureUsagesIsMutable(); + usages_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 10 + case 18: + { + input.readMessage(getDefaultPoolFieldBuilder().getBuilder(), extensionRegistry); + executionEnvironmentCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getPrivatePoolFieldBuilder().getBuilder(), extensionRegistry); + executionEnvironmentCase_ = 3; + break; + } // case 26 + case 34: + { + workerPool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + serviceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + artifactStorage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage( + getExecutionTimeoutFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1212,12 +1375,12 @@ public Builder mergeFrom( } // finally return this; } + private int executionEnvironmentCase_ = 0; private java.lang.Object executionEnvironment_; - public ExecutionEnvironmentCase - getExecutionEnvironmentCase() { - return ExecutionEnvironmentCase.forNumber( - executionEnvironmentCase_); + + public ExecutionEnvironmentCase getExecutionEnvironmentCase() { + return ExecutionEnvironmentCase.forNumber(executionEnvironmentCase_); } public Builder clearExecutionEnvironment() { @@ -1229,8 +1392,8 @@ public Builder clearExecutionEnvironment() { private int bitField0_; - private java.util.List usages_ = - java.util.Collections.emptyList(); + private java.util.List usages_ = java.util.Collections.emptyList(); + private void ensureUsagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { usages_ = new java.util.ArrayList(usages_); @@ -1238,46 +1401,69 @@ private void ensureUsagesIsMutable() { } } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the usages. */ - public java.util.List getUsagesList() { + public java.util.List + getUsagesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage>(usages_, usages_converter_); + java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage>( + usages_, usages_converter_); } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of usages. */ public int getUsagesCount() { return usages_.size(); } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The usages at the given index. */ - public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage getUsages(int index) { + public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage getUsages( + int index) { return usages_converter_.convert(usages_.get(index)); } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The usages to set. * @return This builder for chaining. @@ -1293,15 +1479,21 @@ public Builder setUsages( return this; } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The usages to add. * @return This builder for chaining. */ - public Builder addUsages(com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage value) { + public Builder addUsages( + com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage value) { if (value == null) { throw new NullPointerException(); } @@ -1311,16 +1503,23 @@ public Builder addUsages(com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnv return this; } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The usages to add. * @return This builder for chaining. */ public Builder addAllUsages( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage> + values) { ensureUsagesIsMutable(); for (com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage value : values) { usages_.add(value.getNumber()); @@ -1329,11 +1528,16 @@ public Builder addAllUsages( return this; } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearUsages() { @@ -1343,23 +1547,32 @@ public Builder clearUsages() { return this; } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for usages. */ - public java.util.List - getUsagesValueList() { + public java.util.List getUsagesValueList() { return java.util.Collections.unmodifiableList(usages_); } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of usages at the given index. */ @@ -1367,28 +1580,37 @@ public int getUsagesValue(int index) { return usages_.get(index); } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for usages to set. * @return This builder for chaining. */ - public Builder setUsagesValue( - int index, int value) { + public Builder setUsagesValue(int index, int value) { ensureUsagesIsMutable(); usages_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for usages to add. * @return This builder for chaining. */ @@ -1399,16 +1621,20 @@ public Builder addUsagesValue(int value) { return this; } /** + * + * *
      * Required. Usages when this configuration should be applied.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for usages to add. * @return This builder for chaining. */ - public Builder addAllUsagesValue( - java.lang.Iterable values) { + public Builder addAllUsagesValue(java.lang.Iterable values) { ensureUsagesIsMutable(); for (int value : values) { usages_.add(value); @@ -1418,13 +1644,21 @@ public Builder addAllUsagesValue( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DefaultPool, com.google.cloud.deploy.v1.DefaultPool.Builder, com.google.cloud.deploy.v1.DefaultPoolOrBuilder> defaultPoolBuilder_; + com.google.cloud.deploy.v1.DefaultPool, + com.google.cloud.deploy.v1.DefaultPool.Builder, + com.google.cloud.deploy.v1.DefaultPoolOrBuilder> + defaultPoolBuilder_; /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the defaultPool field is set. */ @java.lang.Override @@ -1432,11 +1666,16 @@ public boolean hasDefaultPool() { return executionEnvironmentCase_ == 2; } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The defaultPool. */ @java.lang.Override @@ -1454,11 +1693,15 @@ public com.google.cloud.deploy.v1.DefaultPool getDefaultPool() { } } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDefaultPool(com.google.cloud.deploy.v1.DefaultPool value) { if (defaultPoolBuilder_ == null) { @@ -1474,14 +1717,17 @@ public Builder setDefaultPool(com.google.cloud.deploy.v1.DefaultPool value) { return this; } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDefaultPool( - com.google.cloud.deploy.v1.DefaultPool.Builder builderForValue) { + public Builder setDefaultPool(com.google.cloud.deploy.v1.DefaultPool.Builder builderForValue) { if (defaultPoolBuilder_ == null) { executionEnvironment_ = builderForValue.build(); onChanged(); @@ -1492,18 +1738,26 @@ public Builder setDefaultPool( return this; } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDefaultPool(com.google.cloud.deploy.v1.DefaultPool value) { if (defaultPoolBuilder_ == null) { - if (executionEnvironmentCase_ == 2 && - executionEnvironment_ != com.google.cloud.deploy.v1.DefaultPool.getDefaultInstance()) { - executionEnvironment_ = com.google.cloud.deploy.v1.DefaultPool.newBuilder((com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_) - .mergeFrom(value).buildPartial(); + if (executionEnvironmentCase_ == 2 + && executionEnvironment_ + != com.google.cloud.deploy.v1.DefaultPool.getDefaultInstance()) { + executionEnvironment_ = + com.google.cloud.deploy.v1.DefaultPool.newBuilder( + (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_) + .mergeFrom(value) + .buildPartial(); } else { executionEnvironment_ = value; } @@ -1519,11 +1773,15 @@ public Builder mergeDefaultPool(com.google.cloud.deploy.v1.DefaultPool value) { return this; } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDefaultPool() { if (defaultPoolBuilder_ == null) { @@ -1542,21 +1800,29 @@ public Builder clearDefaultPool() { return this; } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.DefaultPool.Builder getDefaultPoolBuilder() { return getDefaultPoolFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DefaultPoolOrBuilder getDefaultPoolOrBuilder() { @@ -1570,21 +1836,30 @@ public com.google.cloud.deploy.v1.DefaultPoolOrBuilder getDefaultPoolOrBuilder() } } /** + * + * *
      * Optional. Use default Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DefaultPool, com.google.cloud.deploy.v1.DefaultPool.Builder, com.google.cloud.deploy.v1.DefaultPoolOrBuilder> + com.google.cloud.deploy.v1.DefaultPool, + com.google.cloud.deploy.v1.DefaultPool.Builder, + com.google.cloud.deploy.v1.DefaultPoolOrBuilder> getDefaultPoolFieldBuilder() { if (defaultPoolBuilder_ == null) { if (!(executionEnvironmentCase_ == 2)) { executionEnvironment_ = com.google.cloud.deploy.v1.DefaultPool.getDefaultInstance(); } - defaultPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DefaultPool, com.google.cloud.deploy.v1.DefaultPool.Builder, com.google.cloud.deploy.v1.DefaultPoolOrBuilder>( + defaultPoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DefaultPool, + com.google.cloud.deploy.v1.DefaultPool.Builder, + com.google.cloud.deploy.v1.DefaultPoolOrBuilder>( (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_, getParentForChildren(), isClean()); @@ -1596,13 +1871,21 @@ public com.google.cloud.deploy.v1.DefaultPoolOrBuilder getDefaultPoolOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PrivatePool, com.google.cloud.deploy.v1.PrivatePool.Builder, com.google.cloud.deploy.v1.PrivatePoolOrBuilder> privatePoolBuilder_; + com.google.cloud.deploy.v1.PrivatePool, + com.google.cloud.deploy.v1.PrivatePool.Builder, + com.google.cloud.deploy.v1.PrivatePoolOrBuilder> + privatePoolBuilder_; /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privatePool field is set. */ @java.lang.Override @@ -1610,11 +1893,16 @@ public boolean hasPrivatePool() { return executionEnvironmentCase_ == 3; } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privatePool. */ @java.lang.Override @@ -1632,11 +1920,15 @@ public com.google.cloud.deploy.v1.PrivatePool getPrivatePool() { } } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPrivatePool(com.google.cloud.deploy.v1.PrivatePool value) { if (privatePoolBuilder_ == null) { @@ -1652,14 +1944,17 @@ public Builder setPrivatePool(com.google.cloud.deploy.v1.PrivatePool value) { return this; } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPrivatePool( - com.google.cloud.deploy.v1.PrivatePool.Builder builderForValue) { + public Builder setPrivatePool(com.google.cloud.deploy.v1.PrivatePool.Builder builderForValue) { if (privatePoolBuilder_ == null) { executionEnvironment_ = builderForValue.build(); onChanged(); @@ -1670,18 +1965,26 @@ public Builder setPrivatePool( return this; } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePrivatePool(com.google.cloud.deploy.v1.PrivatePool value) { if (privatePoolBuilder_ == null) { - if (executionEnvironmentCase_ == 3 && - executionEnvironment_ != com.google.cloud.deploy.v1.PrivatePool.getDefaultInstance()) { - executionEnvironment_ = com.google.cloud.deploy.v1.PrivatePool.newBuilder((com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_) - .mergeFrom(value).buildPartial(); + if (executionEnvironmentCase_ == 3 + && executionEnvironment_ + != com.google.cloud.deploy.v1.PrivatePool.getDefaultInstance()) { + executionEnvironment_ = + com.google.cloud.deploy.v1.PrivatePool.newBuilder( + (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_) + .mergeFrom(value) + .buildPartial(); } else { executionEnvironment_ = value; } @@ -1697,11 +2000,15 @@ public Builder mergePrivatePool(com.google.cloud.deploy.v1.PrivatePool value) { return this; } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPrivatePool() { if (privatePoolBuilder_ == null) { @@ -1720,21 +2027,29 @@ public Builder clearPrivatePool() { return this; } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PrivatePool.Builder getPrivatePoolBuilder() { return getPrivatePoolFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder() { @@ -1748,21 +2063,30 @@ public com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder() } } /** + * + * *
      * Optional. Use private Cloud Build pool.
      * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PrivatePool, com.google.cloud.deploy.v1.PrivatePool.Builder, com.google.cloud.deploy.v1.PrivatePoolOrBuilder> + com.google.cloud.deploy.v1.PrivatePool, + com.google.cloud.deploy.v1.PrivatePool.Builder, + com.google.cloud.deploy.v1.PrivatePoolOrBuilder> getPrivatePoolFieldBuilder() { if (privatePoolBuilder_ == null) { if (!(executionEnvironmentCase_ == 3)) { executionEnvironment_ = com.google.cloud.deploy.v1.PrivatePool.getDefaultInstance(); } - privatePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PrivatePool, com.google.cloud.deploy.v1.PrivatePool.Builder, com.google.cloud.deploy.v1.PrivatePoolOrBuilder>( + privatePoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PrivatePool, + com.google.cloud.deploy.v1.PrivatePool.Builder, + com.google.cloud.deploy.v1.PrivatePoolOrBuilder>( (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_, getParentForChildren(), isClean()); @@ -1775,6 +2099,8 @@ public com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder() private java.lang.Object workerPool_ = ""; /** + * + * *
      * Optional. The resource name of the `WorkerPool`, with the format
      * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -1782,14 +2108,16 @@ public com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder()
      * used.
      * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ public java.lang.String getWorkerPool() { java.lang.Object ref = workerPool_; 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(); workerPool_ = s; return s; @@ -1798,6 +2126,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Optional. The resource name of the `WorkerPool`, with the format
      * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -1805,16 +2135,17 @@ public java.lang.String getWorkerPool() {
      * used.
      * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; 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); workerPool_ = b; return b; } else { @@ -1822,6 +2153,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Optional. The resource name of the `WorkerPool`, with the format
      * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -1829,19 +2162,25 @@ public java.lang.String getWorkerPool() {
      * used.
      * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPool( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workerPool_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The resource name of the `WorkerPool`, with the format
      * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -1849,7 +2188,10 @@ public Builder setWorkerPool(
      * used.
      * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkerPool() { @@ -1859,6 +2201,8 @@ public Builder clearWorkerPool() { return this; } /** + * + * *
      * Optional. The resource name of the `WorkerPool`, with the format
      * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -1866,13 +2210,17 @@ public Builder clearWorkerPool() {
      * used.
      * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPoolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workerPool_ = value; bitField0_ |= 0x00000008; @@ -1882,6 +2230,8 @@ public Builder setWorkerPoolBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -1889,13 +2239,13 @@ public Builder setWorkerPoolBytes(
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -1904,6 +2254,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -1911,15 +2263,14 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -1927,6 +2278,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -1934,18 +2287,22 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -1953,6 +2310,7 @@ public Builder setServiceAccount(
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -1962,6 +2320,8 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -1969,12 +2329,14 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000010; @@ -1984,6 +2346,8 @@ public Builder setServiceAccountBytes( private java.lang.Object artifactStorage_ = ""; /** + * + * *
      * Optional. Cloud Storage location in which to store execution outputs. This
      * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -1992,13 +2356,13 @@ public Builder setServiceAccountBytes(
      * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ public java.lang.String getArtifactStorage() { java.lang.Object ref = artifactStorage_; 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(); artifactStorage_ = s; return s; @@ -2007,6 +2371,8 @@ public java.lang.String getArtifactStorage() { } } /** + * + * *
      * Optional. Cloud Storage location in which to store execution outputs. This
      * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -2015,15 +2381,14 @@ public java.lang.String getArtifactStorage() {
      * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ - public com.google.protobuf.ByteString - getArtifactStorageBytes() { + public com.google.protobuf.ByteString getArtifactStorageBytes() { java.lang.Object ref = artifactStorage_; 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); artifactStorage_ = b; return b; } else { @@ -2031,6 +2396,8 @@ public java.lang.String getArtifactStorage() { } } /** + * + * *
      * Optional. Cloud Storage location in which to store execution outputs. This
      * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -2039,18 +2406,22 @@ public java.lang.String getArtifactStorage() {
      * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The artifactStorage to set. * @return This builder for chaining. */ - public Builder setArtifactStorage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactStorage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifactStorage_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. Cloud Storage location in which to store execution outputs. This
      * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -2059,6 +2430,7 @@ public Builder setArtifactStorage(
      * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearArtifactStorage() { @@ -2068,6 +2440,8 @@ public Builder clearArtifactStorage() { return this; } /** + * + * *
      * Optional. Cloud Storage location in which to store execution outputs. This
      * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -2076,12 +2450,14 @@ public Builder clearArtifactStorage() {
      * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for artifactStorage to set. * @return This builder for chaining. */ - public Builder setArtifactStorageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactStorageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifactStorage_ = value; bitField0_ |= 0x00000020; @@ -2091,45 +2467,64 @@ public Builder setArtifactStorageBytes( private com.google.protobuf.Duration executionTimeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> executionTimeoutBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + executionTimeoutBuilder_; /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { if (executionTimeoutBuilder_ == null) { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } else { return executionTimeoutBuilder_.getMessage(); } } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { @@ -2145,16 +2540,19 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setExecutionTimeout( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) { if (executionTimeoutBuilder_ == null) { executionTimeout_ = builderForValue.build(); } else { @@ -2165,19 +2563,23 @@ public Builder setExecutionTimeout( return this; } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - executionTimeout_ != null && - executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && executionTimeout_ != null + && executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) { getExecutionTimeoutBuilder().mergeFrom(value); } else { executionTimeout_ = value; @@ -2190,13 +2592,17 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExecutionTimeout() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2209,13 +2615,17 @@ public Builder clearExecutionTimeout() { return this; } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { bitField0_ |= 0x00000040; @@ -2223,47 +2633,59 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { return getExecutionTimeoutFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { if (executionTimeoutBuilder_ != null) { return executionTimeoutBuilder_.getMessageOrBuilder(); } else { - return executionTimeout_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } } /** + * + * *
      * Optional. Execution timeout for a Cloud Build Execution. This must be
      * between 10m and 24h in seconds format. If unspecified, a default timeout of
      * 1h is used.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getExecutionTimeoutFieldBuilder() { if (executionTimeoutBuilder_ == null) { - executionTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getExecutionTimeout(), - getParentForChildren(), - isClean()); + executionTimeoutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getExecutionTimeout(), getParentForChildren(), isClean()); executionTimeout_ = null; } return executionTimeoutBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2273,12 +2695,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ExecutionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ExecutionConfig) private static final com.google.cloud.deploy.v1.ExecutionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ExecutionConfig(); } @@ -2287,27 +2709,27 @@ public static com.google.cloud.deploy.v1.ExecutionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2322,6 +2744,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ExecutionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java index 15aa3853e1b7..7d09351f2c36 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java @@ -1,116 +1,187 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ExecutionConfigOrBuilder extends +public interface ExecutionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ExecutionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the usages. */ - java.util.List getUsagesList(); + java.util.List + getUsagesList(); /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of usages. */ int getUsagesCount(); /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The usages at the given index. */ com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage getUsages(int index); /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for usages. */ - java.util.List - getUsagesValueList(); + java.util.List getUsagesValueList(); /** + * + * *
    * Required. Usages when this configuration should be applied.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of usages at the given index. */ int getUsagesValue(int index); /** + * + * *
    * Optional. Use default Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the defaultPool field is set. */ boolean hasDefaultPool(); /** + * + * *
    * Optional. Use default Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The defaultPool. */ com.google.cloud.deploy.v1.DefaultPool getDefaultPool(); /** + * + * *
    * Optional. Use default Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.DefaultPoolOrBuilder getDefaultPoolOrBuilder(); /** + * + * *
    * Optional. Use private Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the privatePool field is set. */ boolean hasPrivatePool(); /** + * + * *
    * Optional. Use private Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The privatePool. */ com.google.cloud.deploy.v1.PrivatePool getPrivatePool(); /** + * + * *
    * Optional. Use private Cloud Build pool.
    * 
* - * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder(); /** + * + * *
    * Optional. The resource name of the `WorkerPool`, with the format
    * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -118,11 +189,16 @@ public interface ExecutionConfigOrBuilder extends
    * used.
    * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ java.lang.String getWorkerPool(); /** + * + * *
    * Optional. The resource name of the `WorkerPool`, with the format
    * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
@@ -130,13 +206,17 @@ public interface ExecutionConfigOrBuilder extends
    * used.
    * 
* - * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - com.google.protobuf.ByteString - getWorkerPoolBytes(); + com.google.protobuf.ByteString getWorkerPoolBytes(); /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -144,10 +224,13 @@ public interface ExecutionConfigOrBuilder extends
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -155,12 +238,14 @@ public interface ExecutionConfigOrBuilder extends
    * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Optional. Cloud Storage location in which to store execution outputs. This
    * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -169,10 +254,13 @@ public interface ExecutionConfigOrBuilder extends
    * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ java.lang.String getArtifactStorage(); /** + * + * *
    * Optional. Cloud Storage location in which to store execution outputs. This
    * can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -181,41 +269,55 @@ public interface ExecutionConfigOrBuilder extends
    * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ - com.google.protobuf.ByteString - getArtifactStorageBytes(); + com.google.protobuf.ByteString getArtifactStorageBytes(); /** + * + * *
    * Optional. Execution timeout for a Cloud Build Execution. This must be
    * between 10m and 24h in seconds format. If unspecified, a default timeout of
    * 1h is used.
    * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** + * + * *
    * Optional. Execution timeout for a Cloud Build Execution. This must be
    * between 10m and 24h in seconds format. If unspecified, a default timeout of
    * 1h is used.
    * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** + * + * *
    * Optional. Execution timeout for a Cloud Build Execution. This must be
    * between 10m and 24h in seconds format. If unspecified, a default timeout of
    * 1h is used.
    * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequest.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequest.java index 10396b37d2a0..15f0e847076f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `GetAutomation`
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetAutomationRequest} */ -public final class GetAutomationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAutomationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetAutomationRequest) GetAutomationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAutomationRequest.newBuilder() to construct. private GetAutomationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAutomationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAutomationRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetAutomationRequest.class, com.google.cloud.deploy.v1.GetAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.GetAutomationRequest.class, + com.google.cloud.deploy.v1.GetAutomationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `Automation`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `Automation`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetAutomationRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetAutomationRequest other = (com.google.cloud.deploy.v1.GetAutomationRequest) obj; + com.google.cloud.deploy.v1.GetAutomationRequest other = + (com.google.cloud.deploy.v1.GetAutomationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetAutomationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetAutomationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetAutomationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetAutomationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GetAutomationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `GetAutomation`
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetAutomationRequest} */ - 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.cloud.deploy.v1.GetAutomationRequest) com.google.cloud.deploy.v1.GetAutomationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetAutomationRequest.class, com.google.cloud.deploy.v1.GetAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.GetAutomationRequest.class, + com.google.cloud.deploy.v1.GetAutomationRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetAutomationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.GetAutomationRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetAutomationRequest buildPartial() { - com.google.cloud.deploy.v1.GetAutomationRequest result = new com.google.cloud.deploy.v1.GetAutomationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetAutomationRequest result = + new com.google.cloud.deploy.v1.GetAutomationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetAutomationRequest resul 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) { + 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) { + 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.cloud.deploy.v1.GetAutomationRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetAutomationRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetAutomationRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.GetAutomationRequest other) { - if (other == com.google.cloud.deploy.v1.GetAutomationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.GetAutomationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `Automation`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Automation`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Automation`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `Automation`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `Automation`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetAutomationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetAutomationRequest) private static final com.google.cloud.deploy.v1.GetAutomationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetAutomationRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.deploy.v1.GetAutomationRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAutomationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAutomationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetAutomationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequestOrBuilder.java new file mode 100644 index 000000000000..79ec3c3595cc --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetAutomationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetAutomationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `Automation`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `Automation`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequest.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequest.java index 312fd4247e70..b61a0410088c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `GetAutomationRun`
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetAutomationRunRequest} */ -public final class GetAutomationRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAutomationRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetAutomationRunRequest) GetAutomationRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAutomationRunRequest.newBuilder() to construct. private GetAutomationRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAutomationRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAutomationRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetAutomationRunRequest.class, com.google.cloud.deploy.v1.GetAutomationRunRequest.Builder.class); + com.google.cloud.deploy.v1.GetAutomationRunRequest.class, + com.google.cloud.deploy.v1.GetAutomationRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `AutomationRun`. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `AutomationRun`. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetAutomationRunRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetAutomationRunRequest other = (com.google.cloud.deploy.v1.GetAutomationRunRequest) obj; + com.google.cloud.deploy.v1.GetAutomationRunRequest other = + (com.google.cloud.deploy.v1.GetAutomationRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.GetAutomationRunRequest 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.cloud.deploy.v1.GetAutomationRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetAutomationRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GetAutomationRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `GetAutomationRun`
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetAutomationRunRequest} */ - 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.cloud.deploy.v1.GetAutomationRunRequest) com.google.cloud.deploy.v1.GetAutomationRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetAutomationRunRequest.class, com.google.cloud.deploy.v1.GetAutomationRunRequest.Builder.class); + com.google.cloud.deploy.v1.GetAutomationRunRequest.class, + com.google.cloud.deploy.v1.GetAutomationRunRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetAutomationRunRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.GetAutomationRunRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetAutomationRunRequest buildPartial() { - com.google.cloud.deploy.v1.GetAutomationRunRequest result = new com.google.cloud.deploy.v1.GetAutomationRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetAutomationRunRequest result = + new com.google.cloud.deploy.v1.GetAutomationRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetAutomationRunRequest re 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) { + 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) { + 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.cloud.deploy.v1.GetAutomationRunRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetAutomationRunRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetAutomationRunRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.GetAutomationRunRequest other) { - if (other == com.google.cloud.deploy.v1.GetAutomationRunRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.GetAutomationRunRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `AutomationRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `AutomationRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `AutomationRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `AutomationRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `AutomationRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetAutomationRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetAutomationRunRequest) private static final com.google.cloud.deploy.v1.GetAutomationRunRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetAutomationRunRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.deploy.v1.GetAutomationRunRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAutomationRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAutomationRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetAutomationRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequestOrBuilder.java new file mode 100644 index 000000000000..02aca60fd3ea --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetAutomationRunRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetAutomationRunRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `AutomationRun`. Format must be
+   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `AutomationRun`. Format must be
+   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java index 4fd968ebdf41..962654041515 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Request to get a configuration.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetConfigRequest} */ -public final class GetConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetConfigRequest) GetConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConfigRequest.newBuilder() to construct. private GetConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetConfigRequest.class, com.google.cloud.deploy.v1.GetConfigRequest.Builder.class); + com.google.cloud.deploy.v1.GetConfigRequest.class, + com.google.cloud.deploy.v1.GetConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of requested configuration.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -60,29 +85,31 @@ 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. Name of requested configuration.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +130,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_); } @@ -127,15 +154,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.cloud.deploy.v1.GetConfigRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetConfigRequest other = (com.google.cloud.deploy.v1.GetConfigRequest) obj; + com.google.cloud.deploy.v1.GetConfigRequest other = + (com.google.cloud.deploy.v1.GetConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,132 +181,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GetConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to get a configuration.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetConfigRequest} */ - 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.cloud.deploy.v1.GetConfigRequest) com.google.cloud.deploy.v1.GetConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetConfigRequest.class, com.google.cloud.deploy.v1.GetConfigRequest.Builder.class); + com.google.cloud.deploy.v1.GetConfigRequest.class, + com.google.cloud.deploy.v1.GetConfigRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetConfigRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; } @java.lang.Override @@ -310,8 +341,11 @@ public com.google.cloud.deploy.v1.GetConfigRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetConfigRequest buildPartial() { - com.google.cloud.deploy.v1.GetConfigRequest result = new com.google.cloud.deploy.v1.GetConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetConfigRequest result = + new com.google.cloud.deploy.v1.GetConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +361,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetConfigRequest result) { 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) { + 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) { + 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.cloud.deploy.v1.GetConfigRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetConfigRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +455,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of requested configuration.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -442,20 +484,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of requested configuration.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -463,28 +508,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of requested configuration.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of requested configuration.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -494,26 +550,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of requested configuration.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetConfigRequest) private static final com.google.cloud.deploy.v1.GetConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetConfigRequest(); } @@ -537,27 +599,27 @@ public static com.google.cloud.deploy.v1.GetConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +634,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java new file mode 100644 index 000000000000..a2bc138523fd --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of requested configuration.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of requested configuration.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequest.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequest.java index a52b7edddae0..eeeba17aa3b5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `GetCustomTargetType`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetCustomTargetTypeRequest} */ -public final class GetCustomTargetTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCustomTargetTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetCustomTargetTypeRequest) GetCustomTargetTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCustomTargetTypeRequest.newBuilder() to construct. private GetCustomTargetTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCustomTargetTypeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCustomTargetTypeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `CustomTargetType`. Format must be
    * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `CustomTargetType`. Format must be
    * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetCustomTargetTypeRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetCustomTargetTypeRequest other = (com.google.cloud.deploy.v1.GetCustomTargetTypeRequest) obj; + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest other = + (com.google.cloud.deploy.v1.GetCustomTargetTypeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest 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.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.GetCustomTargetTypeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `GetCustomTargetType`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetCustomTargetTypeRequest} */ - 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.cloud.deploy.v1.GetCustomTargetTypeRequest) com.google.cloud.deploy.v1.GetCustomTargetTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; } @java.lang.Override @@ -312,8 +344,11 @@ public com.google.cloud.deploy.v1.GetCustomTargetTypeRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetCustomTargetTypeRequest buildPartial() { - com.google.cloud.deploy.v1.GetCustomTargetTypeRequest result = new com.google.cloud.deploy.v1.GetCustomTargetTypeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetCustomTargetTypeRequest result = + new com.google.cloud.deploy.v1.GetCustomTargetTypeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetCustomTargetTypeRequest 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) { + 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) { + 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.cloud.deploy.v1.GetCustomTargetTypeRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetCustomTargetTypeRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetCustomTargetTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.GetCustomTargetTypeRequest other) { - if (other == com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +459,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `CustomTargetType`. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +489,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `CustomTargetType`. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +514,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `CustomTargetType`. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `CustomTargetType`. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +558,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `CustomTargetType`. Format must be
      * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetCustomTargetTypeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetCustomTargetTypeRequest) private static final com.google.cloud.deploy.v1.GetCustomTargetTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetCustomTargetTypeRequest(); } @@ -544,27 +608,27 @@ public static com.google.cloud.deploy.v1.GetCustomTargetTypeRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomTargetTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomTargetTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.GetCustomTargetTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequestOrBuilder.java new file mode 100644 index 000000000000..9e2cac0697b1 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetCustomTargetTypeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetCustomTargetTypeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `CustomTargetType`. Format must be
+   * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `CustomTargetType`. Format must be
+   * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java index 42ea674faaa4..483e1bd58c1a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `GetDeliveryPipeline`
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetDeliveryPipelineRequest} */ -public final class GetDeliveryPipelineRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDeliveryPipelineRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetDeliveryPipelineRequest) GetDeliveryPipelineRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDeliveryPipelineRequest.newBuilder() to construct. private GetDeliveryPipelineRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDeliveryPipelineRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDeliveryPipelineRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `DeliveryPipeline`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `DeliveryPipeline`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetDeliveryPipelineRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest other = (com.google.cloud.deploy.v1.GetDeliveryPipelineRequest) obj; + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest other = + (com.google.cloud.deploy.v1.GetDeliveryPipelineRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest 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.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `GetDeliveryPipeline`
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetDeliveryPipelineRequest} */ - 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.cloud.deploy.v1.GetDeliveryPipelineRequest) com.google.cloud.deploy.v1.GetDeliveryPipelineRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; } @java.lang.Override @@ -312,8 +344,11 @@ public com.google.cloud.deploy.v1.GetDeliveryPipelineRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetDeliveryPipelineRequest buildPartial() { - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.GetDeliveryPipelineRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest result = + new com.google.cloud.deploy.v1.GetDeliveryPipelineRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest 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) { + 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) { + 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.cloud.deploy.v1.GetDeliveryPipelineRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetDeliveryPipelineRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetDeliveryPipelineRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest other) { - if (other == com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +459,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `DeliveryPipeline`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +489,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `DeliveryPipeline`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +514,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `DeliveryPipeline`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `DeliveryPipeline`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +558,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `DeliveryPipeline`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetDeliveryPipelineRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetDeliveryPipelineRequest) private static final com.google.cloud.deploy.v1.GetDeliveryPipelineRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetDeliveryPipelineRequest(); } @@ -544,27 +608,27 @@ public static com.google.cloud.deploy.v1.GetDeliveryPipelineRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDeliveryPipelineRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeliveryPipelineRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.GetDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java new file mode 100644 index 000000000000..0b27f6f8fb77 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetDeliveryPipelineRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetDeliveryPipelineRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `DeliveryPipeline`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `DeliveryPipeline`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequest.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequest.java index 7dbdcf78f811..07f0d6ca8f84 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * GetJobRunRequest is the request object used by `GetJobRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetJobRunRequest} */ -public final class GetJobRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetJobRunRequest) GetJobRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRunRequest.newBuilder() to construct. private GetJobRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetJobRunRequest.class, com.google.cloud.deploy.v1.GetJobRunRequest.Builder.class); + com.google.cloud.deploy.v1.GetJobRunRequest.class, + com.google.cloud.deploy.v1.GetJobRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `JobRun`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `JobRun`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetJobRunRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetJobRunRequest other = (com.google.cloud.deploy.v1.GetJobRunRequest) obj; + com.google.cloud.deploy.v1.GetJobRunRequest other = + (com.google.cloud.deploy.v1.GetJobRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetJobRunRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetJobRunRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetJobRunRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetJobRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GetJobRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetJobRunRequest is the request object used by `GetJobRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetJobRunRequest} */ - 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.cloud.deploy.v1.GetJobRunRequest) com.google.cloud.deploy.v1.GetJobRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetJobRunRequest.class, com.google.cloud.deploy.v1.GetJobRunRequest.Builder.class); + com.google.cloud.deploy.v1.GetJobRunRequest.class, + com.google.cloud.deploy.v1.GetJobRunRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetJobRunRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.GetJobRunRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetJobRunRequest buildPartial() { - com.google.cloud.deploy.v1.GetJobRunRequest result = new com.google.cloud.deploy.v1.GetJobRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetJobRunRequest result = + new com.google.cloud.deploy.v1.GetJobRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetJobRunRequest result) { 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) { + 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) { + 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.cloud.deploy.v1.GetJobRunRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetJobRunRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetJobRunRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetJobRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetJobRunRequest) private static final com.google.cloud.deploy.v1.GetJobRunRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetJobRunRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.deploy.v1.GetJobRunRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetJobRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequestOrBuilder.java new file mode 100644 index 000000000000..152f1f580cbb --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetJobRunRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetJobRunRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `JobRun`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `JobRun`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java index 3961bb898e46..2c809b813199 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `GetRelease`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetReleaseRequest} */ -public final class GetReleaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetReleaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetReleaseRequest) GetReleaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetReleaseRequest.newBuilder() to construct. private GetReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetReleaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetReleaseRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetReleaseRequest.class, com.google.cloud.deploy.v1.GetReleaseRequest.Builder.class); + com.google.cloud.deploy.v1.GetReleaseRequest.class, + com.google.cloud.deploy.v1.GetReleaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `Release`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `Release`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetReleaseRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetReleaseRequest other = (com.google.cloud.deploy.v1.GetReleaseRequest) obj; + com.google.cloud.deploy.v1.GetReleaseRequest other = + (com.google.cloud.deploy.v1.GetReleaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetReleaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetReleaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetReleaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetReleaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GetReleaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `GetRelease`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetReleaseRequest} */ - 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.cloud.deploy.v1.GetReleaseRequest) com.google.cloud.deploy.v1.GetReleaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetReleaseRequest.class, com.google.cloud.deploy.v1.GetReleaseRequest.Builder.class); + com.google.cloud.deploy.v1.GetReleaseRequest.class, + com.google.cloud.deploy.v1.GetReleaseRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetReleaseRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.GetReleaseRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetReleaseRequest buildPartial() { - com.google.cloud.deploy.v1.GetReleaseRequest result = new com.google.cloud.deploy.v1.GetReleaseRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetReleaseRequest result = + new com.google.cloud.deploy.v1.GetReleaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetReleaseRequest result) 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) { + 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) { + 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.cloud.deploy.v1.GetReleaseRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetReleaseRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetReleaseRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `Release`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Release`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Release`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `Release`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `Release`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetReleaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetReleaseRequest) private static final com.google.cloud.deploy.v1.GetReleaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetReleaseRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.deploy.v1.GetReleaseRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetReleaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetReleaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetReleaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java new file mode 100644 index 000000000000..94408307cf47 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetReleaseRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetReleaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `Release`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `Release`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java index f3ba059f3c20..082037e71207 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * GetRolloutRequest is the request object used by `GetRollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetRolloutRequest} */ -public final class GetRolloutRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRolloutRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetRolloutRequest) GetRolloutRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRolloutRequest.newBuilder() to construct. private GetRolloutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRolloutRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRolloutRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetRolloutRequest.class, com.google.cloud.deploy.v1.GetRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.GetRolloutRequest.class, + com.google.cloud.deploy.v1.GetRolloutRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `Rollout`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `Rollout`. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetRolloutRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetRolloutRequest other = (com.google.cloud.deploy.v1.GetRolloutRequest) obj; + com.google.cloud.deploy.v1.GetRolloutRequest other = + (com.google.cloud.deploy.v1.GetRolloutRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetRolloutRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetRolloutRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetRolloutRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetRolloutRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GetRolloutRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetRolloutRequest is the request object used by `GetRollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetRolloutRequest} */ - 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.cloud.deploy.v1.GetRolloutRequest) com.google.cloud.deploy.v1.GetRolloutRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetRolloutRequest.class, com.google.cloud.deploy.v1.GetRolloutRequest.Builder.class); + com.google.cloud.deploy.v1.GetRolloutRequest.class, + com.google.cloud.deploy.v1.GetRolloutRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetRolloutRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.GetRolloutRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetRolloutRequest buildPartial() { - com.google.cloud.deploy.v1.GetRolloutRequest result = new com.google.cloud.deploy.v1.GetRolloutRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetRolloutRequest result = + new com.google.cloud.deploy.v1.GetRolloutRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetRolloutRequest result) 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) { + 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) { + 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.cloud.deploy.v1.GetRolloutRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetRolloutRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetRolloutRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `Rollout`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Rollout`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Rollout`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `Rollout`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `Rollout`. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetRolloutRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetRolloutRequest) private static final com.google.cloud.deploy.v1.GetRolloutRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetRolloutRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.deploy.v1.GetRolloutRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRolloutRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRolloutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java new file mode 100644 index 000000000000..fcb9ad424be2 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetRolloutRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetRolloutRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `Rollout`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `Rollout`. Format must be
+   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java index 75c817979650..0c08334615f0 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `GetTarget`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GetTargetRequest} */ -public final class GetTargetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTargetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GetTargetRequest) GetTargetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTargetRequest.newBuilder() to construct. private GetTargetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTargetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTargetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetTargetRequest.class, com.google.cloud.deploy.v1.GetTargetRequest.Builder.class); + com.google.cloud.deploy.v1.GetTargetRequest.class, + com.google.cloud.deploy.v1.GetTargetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `Target`. Format must be
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `Target`. Format must be
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.GetTargetRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.GetTargetRequest other = (com.google.cloud.deploy.v1.GetTargetRequest) obj; + com.google.cloud.deploy.v1.GetTargetRequest other = + (com.google.cloud.deploy.v1.GetTargetRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.GetTargetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.GetTargetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GetTargetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GetTargetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GetTargetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `GetTarget`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GetTargetRequest} */ - 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.cloud.deploy.v1.GetTargetRequest) com.google.cloud.deploy.v1.GetTargetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GetTargetRequest.class, com.google.cloud.deploy.v1.GetTargetRequest.Builder.class); + com.google.cloud.deploy.v1.GetTargetRequest.class, + com.google.cloud.deploy.v1.GetTargetRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.GetTargetRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.GetTargetRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.GetTargetRequest buildPartial() { - com.google.cloud.deploy.v1.GetTargetRequest result = new com.google.cloud.deploy.v1.GetTargetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GetTargetRequest result = + new com.google.cloud.deploy.v1.GetTargetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GetTargetRequest result) { 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) { + 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) { + 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.cloud.deploy.v1.GetTargetRequest) { - return mergeFrom((com.google.cloud.deploy.v1.GetTargetRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.GetTargetRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `Target`. Format must be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Target`. Format must be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `Target`. Format must be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `Target`. Format must be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `Target`. Format must be
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GetTargetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GetTargetRequest) private static final com.google.cloud.deploy.v1.GetTargetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GetTargetRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.deploy.v1.GetTargetRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTargetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTargetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java new file mode 100644 index 000000000000..3f02b7ed6998 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface GetTargetRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetTargetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `Target`. Format must be
+   * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `Target`. Format must be
+   * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java index dde92f587d3e..f29b8d554b55 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java @@ -1,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Information specifying a GKE Cluster.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.GkeCluster} */ -public final class GkeCluster extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GkeCluster extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.GkeCluster) GkeClusterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GkeCluster.newBuilder() to construct. private GkeCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GkeCluster() { cluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GkeCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GkeCluster.class, com.google.cloud.deploy.v1.GkeCluster.Builder.class); + com.google.cloud.deploy.v1.GkeCluster.class, + com.google.cloud.deploy.v1.GkeCluster.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** + * + * *
    * Information specifying a GKE Cluster. Format is
    * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
    * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @return The cluster. */ @java.lang.Override @@ -61,30 +84,30 @@ public java.lang.String getCluster() { 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(); cluster_ = s; return s; } } /** + * + * *
    * Information specifying a GKE Cluster. Format is
    * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
    * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; 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); cluster_ = b; return b; } else { @@ -95,6 +118,8 @@ public java.lang.String getCluster() { public static final int INTERNAL_IP_FIELD_NUMBER = 2; private boolean internalIp_ = false; /** + * + * *
    * Optional. If true, `cluster` is accessed using the private IP address of
    * the control plane endpoint. Otherwise, the default IP address of the
@@ -107,6 +132,7 @@ public java.lang.String getCluster() {
    * 
* * bool internal_ip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The internalIp. */ @java.lang.Override @@ -115,6 +141,7 @@ public boolean getInternalIp() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,8 +153,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(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -147,8 +173,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } if (internalIp_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, internalIp_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, internalIp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -158,17 +183,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.cloud.deploy.v1.GkeCluster)) { return super.equals(obj); } com.google.cloud.deploy.v1.GkeCluster other = (com.google.cloud.deploy.v1.GkeCluster) obj; - if (!getCluster() - .equals(other.getCluster())) return false; - if (getInternalIp() - != other.getInternalIp()) return false; + if (!getCluster().equals(other.getCluster())) return false; + if (getInternalIp() != other.getInternalIp()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,139 +206,141 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_FIELD_NUMBER; hash = (53 * hash) + getCluster().hashCode(); hash = (37 * hash) + INTERNAL_IP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInternalIp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInternalIp()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.deploy.v1.GkeCluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.GkeCluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.GkeCluster parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.GkeCluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.GkeCluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.GkeCluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.GkeCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.GkeCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information specifying a GKE Cluster.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.GkeCluster} */ - 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.cloud.deploy.v1.GkeCluster) com.google.cloud.deploy.v1.GkeClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.GkeCluster.class, com.google.cloud.deploy.v1.GkeCluster.Builder.class); + com.google.cloud.deploy.v1.GkeCluster.class, + com.google.cloud.deploy.v1.GkeCluster.Builder.class); } // Construct using com.google.cloud.deploy.v1.GkeCluster.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; } @java.lang.Override @@ -347,8 +372,11 @@ public com.google.cloud.deploy.v1.GkeCluster build() { @java.lang.Override public com.google.cloud.deploy.v1.GkeCluster buildPartial() { - com.google.cloud.deploy.v1.GkeCluster result = new com.google.cloud.deploy.v1.GkeCluster(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.GkeCluster result = + new com.google.cloud.deploy.v1.GkeCluster(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -367,38 +395,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.GkeCluster result) { 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) { + 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) { + 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.cloud.deploy.v1.GkeCluster) { - return mergeFrom((com.google.cloud.deploy.v1.GkeCluster)other); + return mergeFrom((com.google.cloud.deploy.v1.GkeCluster) other); } else { super.mergeFrom(other); return this; @@ -441,22 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - cluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - internalIp_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + internalIp_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,23 +498,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object cluster_ = ""; /** + * + * *
      * Information specifying a GKE Cluster. Format is
      * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
      * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; 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(); cluster_ = s; return s; @@ -491,21 +526,22 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Information specifying a GKE Cluster. Format is
      * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
      * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for cluster. */ - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; 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); cluster_ = b; return b; } else { @@ -513,30 +549,37 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Information specifying a GKE Cluster. Format is
      * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
      * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Information specifying a GKE Cluster. Format is
      * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
      * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCluster() { @@ -546,18 +589,22 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Information specifying a GKE Cluster. Format is
      * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
      * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000001; @@ -565,8 +612,10 @@ public Builder setClusterBytes( return this; } - private boolean internalIp_ ; + private boolean internalIp_; /** + * + * *
      * Optional. If true, `cluster` is accessed using the private IP address of
      * the control plane endpoint. Otherwise, the default IP address of the
@@ -579,6 +628,7 @@ public Builder setClusterBytes(
      * 
* * bool internal_ip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The internalIp. */ @java.lang.Override @@ -586,6 +636,8 @@ public boolean getInternalIp() { return internalIp_; } /** + * + * *
      * Optional. If true, `cluster` is accessed using the private IP address of
      * the control plane endpoint. Otherwise, the default IP address of the
@@ -598,6 +650,7 @@ public boolean getInternalIp() {
      * 
* * bool internal_ip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The internalIp to set. * @return This builder for chaining. */ @@ -609,6 +662,8 @@ public Builder setInternalIp(boolean value) { return this; } /** + * + * *
      * Optional. If true, `cluster` is accessed using the private IP address of
      * the control plane endpoint. Otherwise, the default IP address of the
@@ -621,6 +676,7 @@ public Builder setInternalIp(boolean value) {
      * 
* * bool internal_ip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -629,9 +685,9 @@ public Builder clearInternalIp() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,12 +697,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.GkeCluster) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.GkeCluster) private static final com.google.cloud.deploy.v1.GkeCluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.GkeCluster(); } @@ -655,27 +711,27 @@ public static com.google.cloud.deploy.v1.GkeCluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GkeCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GkeCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -690,6 +746,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GkeCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java index 8500f9f4b8f4..55204747d1e3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface GkeClusterOrBuilder extends +public interface GkeClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GkeCluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Information specifying a GKE Cluster. Format is
    * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
    * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @return The cluster. */ java.lang.String getCluster(); /** + * + * *
    * Information specifying a GKE Cluster. Format is
    * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
    * 
* * string cluster = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for cluster. */ - com.google.protobuf.ByteString - getClusterBytes(); + com.google.protobuf.ByteString getClusterBytes(); /** + * + * *
    * Optional. If true, `cluster` is accessed using the private IP address of
    * the control plane endpoint. Otherwise, the default IP address of the
@@ -42,6 +65,7 @@ public interface GkeClusterOrBuilder extends
    * 
* * bool internal_ip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The internalIp. */ boolean getInternalIp(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequest.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequest.java index 846e9a69d6c6..069f2750a71e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object used by `IgnoreJob`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.IgnoreJobRequest} */ -public final class IgnoreJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IgnoreJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.IgnoreJobRequest) IgnoreJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IgnoreJobRequest.newBuilder() to construct. private IgnoreJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IgnoreJobRequest() { rollout_ = ""; phaseId_ = ""; @@ -27,34 +45,41 @@ private IgnoreJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IgnoreJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.IgnoreJobRequest.class, com.google.cloud.deploy.v1.IgnoreJobRequest.Builder.class); + com.google.cloud.deploy.v1.IgnoreJobRequest.class, + com.google.cloud.deploy.v1.IgnoreJobRequest.Builder.class); } public static final int ROLLOUT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The rollout. */ @java.lang.Override @@ -63,30 +88,32 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -95,14 +122,18 @@ public java.lang.String getRollout() { } public static final int PHASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object phaseId_ = ""; /** + * + * *
    * Required. The phase ID the Job to ignore belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ @java.lang.Override @@ -111,29 +142,29 @@ public java.lang.String getPhaseId() { 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(); phaseId_ = s; return s; } } /** + * + * *
    * Required. The phase ID the Job to ignore belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -142,14 +173,18 @@ public java.lang.String getPhaseId() { } public static final int JOB_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * Required. The job ID for the Job to ignore.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobId. */ @java.lang.Override @@ -158,29 +193,29 @@ public java.lang.String getJobId() { 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(); jobId_ = s; return s; } } /** + * + * *
    * Required. The job ID for the Job to ignore.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobId. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -189,6 +224,7 @@ public java.lang.String getJobId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +236,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(rollout_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rollout_); } @@ -237,19 +272,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.cloud.deploy.v1.IgnoreJobRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.IgnoreJobRequest other = (com.google.cloud.deploy.v1.IgnoreJobRequest) obj; + com.google.cloud.deploy.v1.IgnoreJobRequest other = + (com.google.cloud.deploy.v1.IgnoreJobRequest) obj; - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getPhaseId() - .equals(other.getPhaseId())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getPhaseId().equals(other.getPhaseId())) return false; + if (!getJobId().equals(other.getJobId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,132 +305,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.IgnoreJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.IgnoreJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.IgnoreJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.IgnoreJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object used by `IgnoreJob`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.IgnoreJobRequest} */ - 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.cloud.deploy.v1.IgnoreJobRequest) com.google.cloud.deploy.v1.IgnoreJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.IgnoreJobRequest.class, com.google.cloud.deploy.v1.IgnoreJobRequest.Builder.class); + com.google.cloud.deploy.v1.IgnoreJobRequest.class, + com.google.cloud.deploy.v1.IgnoreJobRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.IgnoreJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; } @java.lang.Override @@ -430,8 +467,11 @@ public com.google.cloud.deploy.v1.IgnoreJobRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.IgnoreJobRequest buildPartial() { - com.google.cloud.deploy.v1.IgnoreJobRequest result = new com.google.cloud.deploy.v1.IgnoreJobRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.IgnoreJobRequest result = + new com.google.cloud.deploy.v1.IgnoreJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -453,38 +493,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.IgnoreJobRequest result) { 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) { + 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) { + 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.cloud.deploy.v1.IgnoreJobRequest) { - return mergeFrom((com.google.cloud.deploy.v1.IgnoreJobRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.IgnoreJobRequest) other); } else { super.mergeFrom(other); return this; @@ -534,27 +575,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rollout_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - phaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - jobId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rollout_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + phaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + jobId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,23 +609,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object rollout_ = ""; /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -589,21 +639,24 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -611,30 +664,41 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -644,18 +708,24 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000001; @@ -665,18 +735,20 @@ public Builder setRolloutBytes( private java.lang.Object phaseId_ = ""; /** + * + * *
      * Required. The phase ID the Job to ignore belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ public java.lang.String getPhaseId() { java.lang.Object ref = phaseId_; 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(); phaseId_ = s; return s; @@ -685,20 +757,21 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Required. The phase ID the Job to ignore belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -706,28 +779,35 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Required. The phase ID the Job to ignore belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The phase ID the Job to ignore belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPhaseId() { @@ -737,17 +817,21 @@ public Builder clearPhaseId() { return this; } /** + * + * *
      * Required. The phase ID the Job to ignore belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phaseId_ = value; bitField0_ |= 0x00000002; @@ -757,18 +841,20 @@ public Builder setPhaseIdBytes( private java.lang.Object jobId_ = ""; /** + * + * *
      * Required. The job ID for the Job to ignore.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; @@ -777,20 +863,21 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Required. The job ID for the Job to ignore.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobId. */ - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -798,28 +885,35 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Required. The job ID for the Job to ignore.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The job ID for the Job to ignore.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -829,26 +923,30 @@ public Builder clearJobId() { return this; } /** + * + * *
      * Required. The job ID for the Job to ignore.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -858,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.IgnoreJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.IgnoreJobRequest) private static final com.google.cloud.deploy.v1.IgnoreJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.IgnoreJobRequest(); } @@ -872,27 +970,27 @@ public static com.google.cloud.deploy.v1.IgnoreJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IgnoreJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IgnoreJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -907,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.IgnoreJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequestOrBuilder.java index a819440f5fd4..712f26ff27e0 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobRequestOrBuilder.java @@ -1,71 +1,106 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface IgnoreJobRequestOrBuilder extends +public interface IgnoreJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.IgnoreJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * Required. The phase ID the Job to ignore belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ java.lang.String getPhaseId(); /** + * + * *
    * Required. The phase ID the Job to ignore belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + com.google.protobuf.ByteString getPhaseIdBytes(); /** + * + * *
    * Required. The job ID for the Job to ignore.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * Required. The job ID for the Job to ignore.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponse.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponse.java index 0c6387696807..e7b3985a4549 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `IgnoreJob`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.IgnoreJobResponse} */ -public final class IgnoreJobResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IgnoreJobResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.IgnoreJobResponse) IgnoreJobResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IgnoreJobResponse.newBuilder() to construct. private IgnoreJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IgnoreJobResponse() { - } + + private IgnoreJobResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IgnoreJobResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.IgnoreJobResponse.class, com.google.cloud.deploy.v1.IgnoreJobResponse.Builder.class); + com.google.cloud.deploy.v1.IgnoreJobResponse.class, + com.google.cloud.deploy.v1.IgnoreJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.IgnoreJobResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.IgnoreJobResponse other = (com.google.cloud.deploy.v1.IgnoreJobResponse) obj; + com.google.cloud.deploy.v1.IgnoreJobResponse other = + (com.google.cloud.deploy.v1.IgnoreJobResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -96,132 +115,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.IgnoreJobResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.IgnoreJobResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.IgnoreJobResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.IgnoreJobResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `IgnoreJob`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.IgnoreJobResponse} */ - 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.cloud.deploy.v1.IgnoreJobResponse) com.google.cloud.deploy.v1.IgnoreJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.IgnoreJobResponse.class, com.google.cloud.deploy.v1.IgnoreJobResponse.Builder.class); + com.google.cloud.deploy.v1.IgnoreJobResponse.class, + com.google.cloud.deploy.v1.IgnoreJobResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.IgnoreJobResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.IgnoreJobResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.IgnoreJobResponse buildPartial() { - com.google.cloud.deploy.v1.IgnoreJobResponse result = new com.google.cloud.deploy.v1.IgnoreJobResponse(this); + com.google.cloud.deploy.v1.IgnoreJobResponse result = + new com.google.cloud.deploy.v1.IgnoreJobResponse(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.IgnoreJobResponse 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) { + 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) { + 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.cloud.deploy.v1.IgnoreJobResponse) { - return mergeFrom((com.google.cloud.deploy.v1.IgnoreJobResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.IgnoreJobResponse) other); } else { super.mergeFrom(other); return this; @@ -325,12 +350,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +366,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +378,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.IgnoreJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.IgnoreJobResponse) private static final com.google.cloud.deploy.v1.IgnoreJobResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.IgnoreJobResponse(); } @@ -366,27 +392,27 @@ public static com.google.cloud.deploy.v1.IgnoreJobResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IgnoreJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IgnoreJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +427,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.IgnoreJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponseOrBuilder.java new file mode 100644 index 000000000000..e3237a0b0b09 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface IgnoreJobResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.IgnoreJobResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Job.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Job.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Job.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Job.java index 6a41311fb1e7..9094ce5746ab 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Job.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Job.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Job represents an operation for a `Rollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Job} */ -public final class Job extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Job extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Job) JobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Job.newBuilder() to construct. private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Job() { id_ = ""; state_ = 0; @@ -28,34 +46,37 @@ private Job() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Job(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Job_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.deploy.v1.Job.class, com.google.cloud.deploy.v1.Job.Builder.class); } /** + * + * *
    * Valid states of a Job.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.Job.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The Job has an unspecified state.
      * 
@@ -64,6 +85,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The Job is waiting for an earlier Phase(s) or Job(s) to complete.
      * 
@@ -72,6 +95,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The Job is disabled.
      * 
@@ -80,6 +105,8 @@ public enum State */ DISABLED(2), /** + * + * *
      * The Job is in progress.
      * 
@@ -88,6 +115,8 @@ public enum State */ IN_PROGRESS(3), /** + * + * *
      * The Job succeeded.
      * 
@@ -96,6 +125,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
      * The Job failed.
      * 
@@ -104,6 +135,8 @@ public enum State */ FAILED(5), /** + * + * *
      * The Job was aborted.
      * 
@@ -112,6 +145,8 @@ public enum State */ ABORTED(6), /** + * + * *
      * The Job was skipped.
      * 
@@ -120,6 +155,8 @@ public enum State */ SKIPPED(7), /** + * + * *
      * The Job was ignored.
      * 
@@ -131,6 +168,8 @@ public enum State ; /** + * + * *
      * The Job has an unspecified state.
      * 
@@ -139,6 +178,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The Job is waiting for an earlier Phase(s) or Job(s) to complete.
      * 
@@ -147,6 +188,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The Job is disabled.
      * 
@@ -155,6 +198,8 @@ public enum State */ public static final int DISABLED_VALUE = 2; /** + * + * *
      * The Job is in progress.
      * 
@@ -163,6 +208,8 @@ public enum State */ public static final int IN_PROGRESS_VALUE = 3; /** + * + * *
      * The Job succeeded.
      * 
@@ -171,6 +218,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
      * The Job failed.
      * 
@@ -179,6 +228,8 @@ public enum State */ public static final int FAILED_VALUE = 5; /** + * + * *
      * The Job was aborted.
      * 
@@ -187,6 +238,8 @@ public enum State */ public static final int ABORTED_VALUE = 6; /** + * + * *
      * The Job was skipped.
      * 
@@ -195,6 +248,8 @@ public enum State */ public static final int SKIPPED_VALUE = 7; /** + * + * *
      * The Job was ignored.
      * 
@@ -203,7 +258,6 @@ public enum State */ public static final int IGNORED_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -228,55 +282,61 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return DISABLED; - case 3: return IN_PROGRESS; - case 4: return SUCCEEDED; - case 5: return FAILED; - case 6: return ABORTED; - case 7: return SKIPPED; - case 8: return IGNORED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return DISABLED; + case 3: + return IN_PROGRESS; + case 4: + return SUCCEEDED; + case 5: + return FAILED; + case 6: + return ABORTED; + case 7: + return SKIPPED; + case 8: + return IGNORED; + default: + return null; + } + } + + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.Job.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; @@ -294,10 +354,13 @@ private State(int value) { } private int jobTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object jobType_; + public enum JobTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DEPLOY_JOB(4), VERIFY_JOB(5), @@ -307,6 +370,7 @@ public enum JobTypeCase ADVANCE_CHILD_ROLLOUT_JOB(7), JOBTYPE_NOT_SET(0); private final int value; + private JobTypeCase(int value) { this.value = value; } @@ -322,36 +386,47 @@ public static JobTypeCase valueOf(int value) { public static JobTypeCase forNumber(int value) { switch (value) { - case 4: return DEPLOY_JOB; - case 5: return VERIFY_JOB; - case 9: return PREDEPLOY_JOB; - case 10: return POSTDEPLOY_JOB; - case 6: return CREATE_CHILD_ROLLOUT_JOB; - case 7: return ADVANCE_CHILD_ROLLOUT_JOB; - case 0: return JOBTYPE_NOT_SET; - default: return null; + case 4: + return DEPLOY_JOB; + case 5: + return VERIFY_JOB; + case 9: + return PREDEPLOY_JOB; + case 10: + return POSTDEPLOY_JOB; + case 6: + return CREATE_CHILD_ROLLOUT_JOB; + case 7: + return ADVANCE_CHILD_ROLLOUT_JOB; + case 0: + return JOBTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public JobTypeCase - getJobTypeCase() { - return JobTypeCase.forNumber( - jobTypeCase_); + public JobTypeCase getJobTypeCase() { + return JobTypeCase.forNumber(jobTypeCase_); } public static final int ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
    * Output only. The ID of the Job.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ @java.lang.Override @@ -360,29 +435,29 @@ public java.lang.String getId() { 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(); id_ = s; return s; } } /** + * + * *
    * Output only. The ID of the Job.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -393,39 +468,54 @@ public java.lang.String getId() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** + * + * *
    * Output only. The current state of the Job.
    * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job.State state = 2 [(.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. The current state of the Job.
    * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.deploy.v1.Job.State getState() { - com.google.cloud.deploy.v1.Job.State result = com.google.cloud.deploy.v1.Job.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.deploy.v1.Job.State getState() { + com.google.cloud.deploy.v1.Job.State result = + com.google.cloud.deploy.v1.Job.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.Job.State.UNRECOGNIZED : result; } public static final int SKIP_MESSAGE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object skipMessage_ = ""; /** + * + * *
    * Output only. Additional information on why the Job was skipped, if
    * available.
    * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ @java.lang.Override @@ -434,30 +524,30 @@ public java.lang.String getSkipMessage() { 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(); skipMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information on why the Job was skipped, if
    * available.
    * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkipMessageBytes() { + public com.google.protobuf.ByteString getSkipMessageBytes() { java.lang.Object ref = skipMessage_; 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); skipMessage_ = b; return b; } else { @@ -466,15 +556,21 @@ public java.lang.String getSkipMessage() { } public static final int JOB_RUN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object jobRun_ = ""; /** + * + * *
    * Output only. The name of the `JobRun` responsible for the most recent
    * invocation of this Job.
    * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The jobRun. */ @java.lang.Override @@ -483,30 +579,32 @@ public java.lang.String getJobRun() { 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(); jobRun_ = s; return s; } } /** + * + * *
    * Output only. The name of the `JobRun` responsible for the most recent
    * invocation of this Job.
    * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for jobRun. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobRunBytes() { + public com.google.protobuf.ByteString getJobRunBytes() { java.lang.Object ref = jobRun_; 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); jobRun_ = b; return b; } else { @@ -516,11 +614,16 @@ public java.lang.String getJobRun() { public static final int DEPLOY_JOB_FIELD_NUMBER = 4; /** + * + * *
    * Output only. A deploy Job.
    * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJob field is set. */ @java.lang.Override @@ -528,42 +631,56 @@ public boolean hasDeployJob() { return jobTypeCase_ == 4; } /** + * + * *
    * Output only. A deploy Job.
    * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJob. */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJob getDeployJob() { if (jobTypeCase_ == 4) { - return (com.google.cloud.deploy.v1.DeployJob) jobType_; + return (com.google.cloud.deploy.v1.DeployJob) jobType_; } return com.google.cloud.deploy.v1.DeployJob.getDefaultInstance(); } /** + * + * *
    * Output only. A deploy Job.
    * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobOrBuilder getDeployJobOrBuilder() { if (jobTypeCase_ == 4) { - return (com.google.cloud.deploy.v1.DeployJob) jobType_; + return (com.google.cloud.deploy.v1.DeployJob) jobType_; } return com.google.cloud.deploy.v1.DeployJob.getDefaultInstance(); } public static final int VERIFY_JOB_FIELD_NUMBER = 5; /** + * + * *
    * Output only. A verify Job.
    * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJob field is set. */ @java.lang.Override @@ -571,42 +688,56 @@ public boolean hasVerifyJob() { return jobTypeCase_ == 5; } /** + * + * *
    * Output only. A verify Job.
    * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJob. */ @java.lang.Override public com.google.cloud.deploy.v1.VerifyJob getVerifyJob() { if (jobTypeCase_ == 5) { - return (com.google.cloud.deploy.v1.VerifyJob) jobType_; + return (com.google.cloud.deploy.v1.VerifyJob) jobType_; } return com.google.cloud.deploy.v1.VerifyJob.getDefaultInstance(); } /** + * + * *
    * Output only. A verify Job.
    * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobOrBuilder getVerifyJobOrBuilder() { if (jobTypeCase_ == 5) { - return (com.google.cloud.deploy.v1.VerifyJob) jobType_; + return (com.google.cloud.deploy.v1.VerifyJob) jobType_; } return com.google.cloud.deploy.v1.VerifyJob.getDefaultInstance(); } public static final int PREDEPLOY_JOB_FIELD_NUMBER = 9; /** + * + * *
    * Output only. A predeploy Job.
    * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJob field is set. */ @java.lang.Override @@ -614,42 +745,56 @@ public boolean hasPredeployJob() { return jobTypeCase_ == 9; } /** + * + * *
    * Output only. A predeploy Job.
    * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJob. */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployJob getPredeployJob() { if (jobTypeCase_ == 9) { - return (com.google.cloud.deploy.v1.PredeployJob) jobType_; + return (com.google.cloud.deploy.v1.PredeployJob) jobType_; } return com.google.cloud.deploy.v1.PredeployJob.getDefaultInstance(); } /** + * + * *
    * Output only. A predeploy Job.
    * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobOrBuilder getPredeployJobOrBuilder() { if (jobTypeCase_ == 9) { - return (com.google.cloud.deploy.v1.PredeployJob) jobType_; + return (com.google.cloud.deploy.v1.PredeployJob) jobType_; } return com.google.cloud.deploy.v1.PredeployJob.getDefaultInstance(); } public static final int POSTDEPLOY_JOB_FIELD_NUMBER = 10; /** + * + * *
    * Output only. A postdeploy Job.
    * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJob field is set. */ @java.lang.Override @@ -657,42 +802,56 @@ public boolean hasPostdeployJob() { return jobTypeCase_ == 10; } /** + * + * *
    * Output only. A postdeploy Job.
    * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJob. */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJob getPostdeployJob() { if (jobTypeCase_ == 10) { - return (com.google.cloud.deploy.v1.PostdeployJob) jobType_; + return (com.google.cloud.deploy.v1.PostdeployJob) jobType_; } return com.google.cloud.deploy.v1.PostdeployJob.getDefaultInstance(); } /** + * + * *
    * Output only. A postdeploy Job.
    * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobOrBuilder getPostdeployJobOrBuilder() { if (jobTypeCase_ == 10) { - return (com.google.cloud.deploy.v1.PostdeployJob) jobType_; + return (com.google.cloud.deploy.v1.PostdeployJob) jobType_; } return com.google.cloud.deploy.v1.PostdeployJob.getDefaultInstance(); } public static final int CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER = 6; /** + * + * *
    * Output only. A createChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createChildRolloutJob field is set. */ @java.lang.Override @@ -700,42 +859,57 @@ public boolean hasCreateChildRolloutJob() { return jobTypeCase_ == 6; } /** + * + * *
    * Output only. A createChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createChildRolloutJob. */ @java.lang.Override public com.google.cloud.deploy.v1.CreateChildRolloutJob getCreateChildRolloutJob() { if (jobTypeCase_ == 6) { - return (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_; + return (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_; } return com.google.cloud.deploy.v1.CreateChildRolloutJob.getDefaultInstance(); } /** + * + * *
    * Output only. A createChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder getCreateChildRolloutJobOrBuilder() { + public com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder + getCreateChildRolloutJobOrBuilder() { if (jobTypeCase_ == 6) { - return (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_; + return (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_; } return com.google.cloud.deploy.v1.CreateChildRolloutJob.getDefaultInstance(); } public static final int ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER = 7; /** + * + * *
    * Output only. An advanceChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceChildRolloutJob field is set. */ @java.lang.Override @@ -743,36 +917,47 @@ public boolean hasAdvanceChildRolloutJob() { return jobTypeCase_ == 7; } /** + * + * *
    * Output only. An advanceChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceChildRolloutJob. */ @java.lang.Override public com.google.cloud.deploy.v1.AdvanceChildRolloutJob getAdvanceChildRolloutJob() { if (jobTypeCase_ == 7) { - return (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_; + return (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_; } return com.google.cloud.deploy.v1.AdvanceChildRolloutJob.getDefaultInstance(); } /** + * + * *
    * Output only. An advanceChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder getAdvanceChildRolloutJobOrBuilder() { + public com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder + getAdvanceChildRolloutJobOrBuilder() { if (jobTypeCase_ == 7) { - return (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_; + return (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_; } return com.google.cloud.deploy.v1.AdvanceChildRolloutJob.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -784,8 +969,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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -829,38 +1013,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (state_ != com.google.cloud.deploy.v1.Job.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobRun_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobRun_); } if (jobTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.deploy.v1.DeployJob) jobType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.deploy.v1.DeployJob) jobType_); } if (jobTypeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.deploy.v1.VerifyJob) jobType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.deploy.v1.VerifyJob) jobType_); } if (jobTypeCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_); } if (jobTypeCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skipMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, skipMessage_); } if (jobTypeCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.deploy.v1.PredeployJob) jobType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.deploy.v1.PredeployJob) jobType_); } if (jobTypeCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.deploy.v1.PostdeployJob) jobType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.deploy.v1.PostdeployJob) jobType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -870,45 +1059,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.cloud.deploy.v1.Job)) { return super.equals(obj); } com.google.cloud.deploy.v1.Job other = (com.google.cloud.deploy.v1.Job) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (state_ != other.state_) return false; - if (!getSkipMessage() - .equals(other.getSkipMessage())) return false; - if (!getJobRun() - .equals(other.getJobRun())) return false; + if (!getSkipMessage().equals(other.getSkipMessage())) return false; + if (!getJobRun().equals(other.getJobRun())) return false; if (!getJobTypeCase().equals(other.getJobTypeCase())) return false; switch (jobTypeCase_) { case 4: - if (!getDeployJob() - .equals(other.getDeployJob())) return false; + if (!getDeployJob().equals(other.getDeployJob())) return false; break; case 5: - if (!getVerifyJob() - .equals(other.getVerifyJob())) return false; + if (!getVerifyJob().equals(other.getVerifyJob())) return false; break; case 9: - if (!getPredeployJob() - .equals(other.getPredeployJob())) return false; + if (!getPredeployJob().equals(other.getPredeployJob())) return false; break; case 10: - if (!getPostdeployJob() - .equals(other.getPostdeployJob())) return false; + if (!getPostdeployJob().equals(other.getPostdeployJob())) return false; break; case 6: - if (!getCreateChildRolloutJob() - .equals(other.getCreateChildRolloutJob())) return false; + if (!getCreateChildRolloutJob().equals(other.getCreateChildRolloutJob())) return false; break; case 7: - if (!getAdvanceChildRolloutJob() - .equals(other.getAdvanceChildRolloutJob())) return false; + if (!getAdvanceChildRolloutJob().equals(other.getAdvanceChildRolloutJob())) return false; break; case 0: default: @@ -965,132 +1145,134 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Job parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Job parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Job parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Job parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Job parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Job parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Job parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.Job parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.deploy.v1.Job parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Job represents an operation for a `Rollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Job} */ - 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.cloud.deploy.v1.Job) com.google.cloud.deploy.v1.JobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Job_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.deploy.v1.Job.class, com.google.cloud.deploy.v1.Job.Builder.class); } // Construct using com.google.cloud.deploy.v1.Job.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1123,9 +1305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Job_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Job_descriptor; } @java.lang.Override @@ -1145,7 +1327,9 @@ public com.google.cloud.deploy.v1.Job build() { @java.lang.Override public com.google.cloud.deploy.v1.Job buildPartial() { com.google.cloud.deploy.v1.Job result = new com.google.cloud.deploy.v1.Job(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1170,28 +1354,22 @@ private void buildPartial0(com.google.cloud.deploy.v1.Job result) { private void buildPartialOneofs(com.google.cloud.deploy.v1.Job result) { result.jobTypeCase_ = jobTypeCase_; result.jobType_ = this.jobType_; - if (jobTypeCase_ == 4 && - deployJobBuilder_ != null) { + if (jobTypeCase_ == 4 && deployJobBuilder_ != null) { result.jobType_ = deployJobBuilder_.build(); } - if (jobTypeCase_ == 5 && - verifyJobBuilder_ != null) { + if (jobTypeCase_ == 5 && verifyJobBuilder_ != null) { result.jobType_ = verifyJobBuilder_.build(); } - if (jobTypeCase_ == 9 && - predeployJobBuilder_ != null) { + if (jobTypeCase_ == 9 && predeployJobBuilder_ != null) { result.jobType_ = predeployJobBuilder_.build(); } - if (jobTypeCase_ == 10 && - postdeployJobBuilder_ != null) { + if (jobTypeCase_ == 10 && postdeployJobBuilder_ != null) { result.jobType_ = postdeployJobBuilder_.build(); } - if (jobTypeCase_ == 6 && - createChildRolloutJobBuilder_ != null) { + if (jobTypeCase_ == 6 && createChildRolloutJobBuilder_ != null) { result.jobType_ = createChildRolloutJobBuilder_.build(); } - if (jobTypeCase_ == 7 && - advanceChildRolloutJobBuilder_ != null) { + if (jobTypeCase_ == 7 && advanceChildRolloutJobBuilder_ != null) { result.jobType_ = advanceChildRolloutJobBuilder_.build(); } } @@ -1200,38 +1378,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.Job result) { 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) { + 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) { + 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.cloud.deploy.v1.Job) { - return mergeFrom((com.google.cloud.deploy.v1.Job)other); + return mergeFrom((com.google.cloud.deploy.v1.Job) other); } else { super.mergeFrom(other); return this; @@ -1259,33 +1438,40 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Job other) { onChanged(); } switch (other.getJobTypeCase()) { - case DEPLOY_JOB: { - mergeDeployJob(other.getDeployJob()); - break; - } - case VERIFY_JOB: { - mergeVerifyJob(other.getVerifyJob()); - break; - } - case PREDEPLOY_JOB: { - mergePredeployJob(other.getPredeployJob()); - break; - } - case POSTDEPLOY_JOB: { - mergePostdeployJob(other.getPostdeployJob()); - break; - } - case CREATE_CHILD_ROLLOUT_JOB: { - mergeCreateChildRolloutJob(other.getCreateChildRolloutJob()); - break; - } - case ADVANCE_CHILD_ROLLOUT_JOB: { - mergeAdvanceChildRolloutJob(other.getAdvanceChildRolloutJob()); - break; - } - case JOBTYPE_NOT_SET: { - break; - } + case DEPLOY_JOB: + { + mergeDeployJob(other.getDeployJob()); + break; + } + case VERIFY_JOB: + { + mergeVerifyJob(other.getVerifyJob()); + break; + } + case PREDEPLOY_JOB: + { + mergePredeployJob(other.getPredeployJob()); + break; + } + case POSTDEPLOY_JOB: + { + mergePostdeployJob(other.getPostdeployJob()); + break; + } + case CREATE_CHILD_ROLLOUT_JOB: + { + mergeCreateChildRolloutJob(other.getCreateChildRolloutJob()); + break; + } + case ADVANCE_CHILD_ROLLOUT_JOB: + { + mergeAdvanceChildRolloutJob(other.getAdvanceChildRolloutJob()); + break; + } + case JOBTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1313,74 +1499,75 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - state_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - jobRun_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - input.readMessage( - getDeployJobFieldBuilder().getBuilder(), - extensionRegistry); - jobTypeCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getVerifyJobFieldBuilder().getBuilder(), - extensionRegistry); - jobTypeCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getCreateChildRolloutJobFieldBuilder().getBuilder(), - extensionRegistry); - jobTypeCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getAdvanceChildRolloutJobFieldBuilder().getBuilder(), - extensionRegistry); - jobTypeCase_ = 7; - break; - } // case 58 - case 66: { - skipMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 66 - case 74: { - input.readMessage( - getPredeployJobFieldBuilder().getBuilder(), - extensionRegistry); - jobTypeCase_ = 9; - break; - } // case 74 - case 82: { - input.readMessage( - getPostdeployJobFieldBuilder().getBuilder(), - extensionRegistry); - jobTypeCase_ = 10; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + jobRun_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + input.readMessage(getDeployJobFieldBuilder().getBuilder(), extensionRegistry); + jobTypeCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getVerifyJobFieldBuilder().getBuilder(), extensionRegistry); + jobTypeCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage( + getCreateChildRolloutJobFieldBuilder().getBuilder(), extensionRegistry); + jobTypeCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage( + getAdvanceChildRolloutJobFieldBuilder().getBuilder(), extensionRegistry); + jobTypeCase_ = 7; + break; + } // case 58 + case 66: + { + skipMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 66 + case 74: + { + input.readMessage(getPredeployJobFieldBuilder().getBuilder(), extensionRegistry); + jobTypeCase_ = 9; + break; + } // case 74 + case 82: + { + input.readMessage(getPostdeployJobFieldBuilder().getBuilder(), extensionRegistry); + jobTypeCase_ = 10; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1390,12 +1577,12 @@ public Builder mergeFrom( } // finally return this; } + private int jobTypeCase_ = 0; private java.lang.Object jobType_; - public JobTypeCase - getJobTypeCase() { - return JobTypeCase.forNumber( - jobTypeCase_); + + public JobTypeCase getJobTypeCase() { + return JobTypeCase.forNumber(jobTypeCase_); } public Builder clearJobType() { @@ -1409,18 +1596,20 @@ public Builder clearJobType() { private java.lang.Object id_ = ""; /** + * + * *
      * Output only. The ID of the Job.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; @@ -1429,20 +1618,21 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. The ID of the Job.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -1450,28 +1640,35 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. The ID of the Job.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the Job.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearId() { @@ -1481,17 +1678,21 @@ public Builder clearId() { return this; } /** + * + * *
      * Output only. The ID of the Job.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -1501,22 +1702,33 @@ public Builder setIdBytes( private int state_ = 0; /** + * + * *
      * Output only. The current state of the Job.
      * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job.State state = 2 [(.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. The current state of the Job.
      * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1527,24 +1739,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the Job.
      * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.deploy.v1.Job.State getState() { - com.google.cloud.deploy.v1.Job.State result = com.google.cloud.deploy.v1.Job.State.forNumber(state_); + com.google.cloud.deploy.v1.Job.State result = + com.google.cloud.deploy.v1.Job.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.Job.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the Job.
      * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1558,11 +1781,16 @@ public Builder setState(com.google.cloud.deploy.v1.Job.State value) { return this; } /** + * + * *
      * Output only. The current state of the Job.
      * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1574,19 +1802,21 @@ public Builder clearState() { private java.lang.Object skipMessage_ = ""; /** + * + * *
      * Output only. Additional information on why the Job was skipped, if
      * available.
      * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ public java.lang.String getSkipMessage() { java.lang.Object ref = skipMessage_; 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(); skipMessage_ = s; return s; @@ -1595,21 +1825,22 @@ public java.lang.String getSkipMessage() { } } /** + * + * *
      * Output only. Additional information on why the Job was skipped, if
      * available.
      * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ - public com.google.protobuf.ByteString - getSkipMessageBytes() { + public com.google.protobuf.ByteString getSkipMessageBytes() { java.lang.Object ref = skipMessage_; 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); skipMessage_ = b; return b; } else { @@ -1617,30 +1848,37 @@ public java.lang.String getSkipMessage() { } } /** + * + * *
      * Output only. Additional information on why the Job was skipped, if
      * available.
      * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The skipMessage to set. * @return This builder for chaining. */ - public Builder setSkipMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkipMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skipMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Additional information on why the Job was skipped, if
      * available.
      * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSkipMessage() { @@ -1650,18 +1888,22 @@ public Builder clearSkipMessage() { return this; } /** + * + * *
      * Output only. Additional information on why the Job was skipped, if
      * available.
      * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for skipMessage to set. * @return This builder for chaining. */ - public Builder setSkipMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkipMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skipMessage_ = value; bitField0_ |= 0x00000004; @@ -1671,19 +1913,23 @@ public Builder setSkipMessageBytes( private java.lang.Object jobRun_ = ""; /** + * + * *
      * Output only. The name of the `JobRun` responsible for the most recent
      * invocation of this Job.
      * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The jobRun. */ public java.lang.String getJobRun() { java.lang.Object ref = jobRun_; 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(); jobRun_ = s; return s; @@ -1692,21 +1938,24 @@ public java.lang.String getJobRun() { } } /** + * + * *
      * Output only. The name of the `JobRun` responsible for the most recent
      * invocation of this Job.
      * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for jobRun. */ - public com.google.protobuf.ByteString - getJobRunBytes() { + public com.google.protobuf.ByteString getJobRunBytes() { java.lang.Object ref = jobRun_; 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); jobRun_ = b; return b; } else { @@ -1714,30 +1963,41 @@ public java.lang.String getJobRun() { } } /** + * + * *
      * Output only. The name of the `JobRun` responsible for the most recent
      * invocation of this Job.
      * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The jobRun to set. * @return This builder for chaining. */ - public Builder setJobRun( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobRun(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobRun_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The name of the `JobRun` responsible for the most recent
      * invocation of this Job.
      * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearJobRun() { @@ -1747,18 +2007,24 @@ public Builder clearJobRun() { return this; } /** + * + * *
      * Output only. The name of the `JobRun` responsible for the most recent
      * invocation of this Job.
      * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for jobRun to set. * @return This builder for chaining. */ - public Builder setJobRunBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobRunBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobRun_ = value; bitField0_ |= 0x00000008; @@ -1767,13 +2033,21 @@ public Builder setJobRunBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJob, com.google.cloud.deploy.v1.DeployJob.Builder, com.google.cloud.deploy.v1.DeployJobOrBuilder> deployJobBuilder_; + com.google.cloud.deploy.v1.DeployJob, + com.google.cloud.deploy.v1.DeployJob.Builder, + com.google.cloud.deploy.v1.DeployJobOrBuilder> + deployJobBuilder_; /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJob field is set. */ @java.lang.Override @@ -1781,11 +2055,16 @@ public boolean hasDeployJob() { return jobTypeCase_ == 4; } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJob. */ @java.lang.Override @@ -1803,11 +2082,15 @@ public com.google.cloud.deploy.v1.DeployJob getDeployJob() { } } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeployJob(com.google.cloud.deploy.v1.DeployJob value) { if (deployJobBuilder_ == null) { @@ -1823,14 +2106,17 @@ public Builder setDeployJob(com.google.cloud.deploy.v1.DeployJob value) { return this; } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeployJob( - com.google.cloud.deploy.v1.DeployJob.Builder builderForValue) { + public Builder setDeployJob(com.google.cloud.deploy.v1.DeployJob.Builder builderForValue) { if (deployJobBuilder_ == null) { jobType_ = builderForValue.build(); onChanged(); @@ -1841,18 +2127,25 @@ public Builder setDeployJob( return this; } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeployJob(com.google.cloud.deploy.v1.DeployJob value) { if (deployJobBuilder_ == null) { - if (jobTypeCase_ == 4 && - jobType_ != com.google.cloud.deploy.v1.DeployJob.getDefaultInstance()) { - jobType_ = com.google.cloud.deploy.v1.DeployJob.newBuilder((com.google.cloud.deploy.v1.DeployJob) jobType_) - .mergeFrom(value).buildPartial(); + if (jobTypeCase_ == 4 + && jobType_ != com.google.cloud.deploy.v1.DeployJob.getDefaultInstance()) { + jobType_ = + com.google.cloud.deploy.v1.DeployJob.newBuilder( + (com.google.cloud.deploy.v1.DeployJob) jobType_) + .mergeFrom(value) + .buildPartial(); } else { jobType_ = value; } @@ -1868,11 +2161,15 @@ public Builder mergeDeployJob(com.google.cloud.deploy.v1.DeployJob value) { return this; } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeployJob() { if (deployJobBuilder_ == null) { @@ -1891,21 +2188,29 @@ public Builder clearDeployJob() { return this; } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.DeployJob.Builder getDeployJobBuilder() { return getDeployJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobOrBuilder getDeployJobOrBuilder() { @@ -1919,24 +2224,31 @@ public com.google.cloud.deploy.v1.DeployJobOrBuilder getDeployJobOrBuilder() { } } /** + * + * *
      * Output only. A deploy Job.
      * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJob, com.google.cloud.deploy.v1.DeployJob.Builder, com.google.cloud.deploy.v1.DeployJobOrBuilder> + com.google.cloud.deploy.v1.DeployJob, + com.google.cloud.deploy.v1.DeployJob.Builder, + com.google.cloud.deploy.v1.DeployJobOrBuilder> getDeployJobFieldBuilder() { if (deployJobBuilder_ == null) { if (!(jobTypeCase_ == 4)) { jobType_ = com.google.cloud.deploy.v1.DeployJob.getDefaultInstance(); } - deployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJob, com.google.cloud.deploy.v1.DeployJob.Builder, com.google.cloud.deploy.v1.DeployJobOrBuilder>( - (com.google.cloud.deploy.v1.DeployJob) jobType_, - getParentForChildren(), - isClean()); + deployJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeployJob, + com.google.cloud.deploy.v1.DeployJob.Builder, + com.google.cloud.deploy.v1.DeployJobOrBuilder>( + (com.google.cloud.deploy.v1.DeployJob) jobType_, getParentForChildren(), isClean()); jobType_ = null; } jobTypeCase_ = 4; @@ -1945,13 +2257,21 @@ public com.google.cloud.deploy.v1.DeployJobOrBuilder getDeployJobOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.VerifyJob, com.google.cloud.deploy.v1.VerifyJob.Builder, com.google.cloud.deploy.v1.VerifyJobOrBuilder> verifyJobBuilder_; + com.google.cloud.deploy.v1.VerifyJob, + com.google.cloud.deploy.v1.VerifyJob.Builder, + com.google.cloud.deploy.v1.VerifyJobOrBuilder> + verifyJobBuilder_; /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJob field is set. */ @java.lang.Override @@ -1959,11 +2279,16 @@ public boolean hasVerifyJob() { return jobTypeCase_ == 5; } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJob. */ @java.lang.Override @@ -1981,11 +2306,15 @@ public com.google.cloud.deploy.v1.VerifyJob getVerifyJob() { } } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVerifyJob(com.google.cloud.deploy.v1.VerifyJob value) { if (verifyJobBuilder_ == null) { @@ -2001,14 +2330,17 @@ public Builder setVerifyJob(com.google.cloud.deploy.v1.VerifyJob value) { return this; } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setVerifyJob( - com.google.cloud.deploy.v1.VerifyJob.Builder builderForValue) { + public Builder setVerifyJob(com.google.cloud.deploy.v1.VerifyJob.Builder builderForValue) { if (verifyJobBuilder_ == null) { jobType_ = builderForValue.build(); onChanged(); @@ -2019,18 +2351,25 @@ public Builder setVerifyJob( return this; } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeVerifyJob(com.google.cloud.deploy.v1.VerifyJob value) { if (verifyJobBuilder_ == null) { - if (jobTypeCase_ == 5 && - jobType_ != com.google.cloud.deploy.v1.VerifyJob.getDefaultInstance()) { - jobType_ = com.google.cloud.deploy.v1.VerifyJob.newBuilder((com.google.cloud.deploy.v1.VerifyJob) jobType_) - .mergeFrom(value).buildPartial(); + if (jobTypeCase_ == 5 + && jobType_ != com.google.cloud.deploy.v1.VerifyJob.getDefaultInstance()) { + jobType_ = + com.google.cloud.deploy.v1.VerifyJob.newBuilder( + (com.google.cloud.deploy.v1.VerifyJob) jobType_) + .mergeFrom(value) + .buildPartial(); } else { jobType_ = value; } @@ -2046,11 +2385,15 @@ public Builder mergeVerifyJob(com.google.cloud.deploy.v1.VerifyJob value) { return this; } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearVerifyJob() { if (verifyJobBuilder_ == null) { @@ -2069,21 +2412,29 @@ public Builder clearVerifyJob() { return this; } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.VerifyJob.Builder getVerifyJobBuilder() { return getVerifyJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobOrBuilder getVerifyJobOrBuilder() { @@ -2097,24 +2448,31 @@ public com.google.cloud.deploy.v1.VerifyJobOrBuilder getVerifyJobOrBuilder() { } } /** + * + * *
      * Output only. A verify Job.
      * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.VerifyJob, com.google.cloud.deploy.v1.VerifyJob.Builder, com.google.cloud.deploy.v1.VerifyJobOrBuilder> + com.google.cloud.deploy.v1.VerifyJob, + com.google.cloud.deploy.v1.VerifyJob.Builder, + com.google.cloud.deploy.v1.VerifyJobOrBuilder> getVerifyJobFieldBuilder() { if (verifyJobBuilder_ == null) { if (!(jobTypeCase_ == 5)) { jobType_ = com.google.cloud.deploy.v1.VerifyJob.getDefaultInstance(); } - verifyJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.VerifyJob, com.google.cloud.deploy.v1.VerifyJob.Builder, com.google.cloud.deploy.v1.VerifyJobOrBuilder>( - (com.google.cloud.deploy.v1.VerifyJob) jobType_, - getParentForChildren(), - isClean()); + verifyJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.VerifyJob, + com.google.cloud.deploy.v1.VerifyJob.Builder, + com.google.cloud.deploy.v1.VerifyJobOrBuilder>( + (com.google.cloud.deploy.v1.VerifyJob) jobType_, getParentForChildren(), isClean()); jobType_ = null; } jobTypeCase_ = 5; @@ -2123,13 +2481,21 @@ public com.google.cloud.deploy.v1.VerifyJobOrBuilder getVerifyJobOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PredeployJob, com.google.cloud.deploy.v1.PredeployJob.Builder, com.google.cloud.deploy.v1.PredeployJobOrBuilder> predeployJobBuilder_; + com.google.cloud.deploy.v1.PredeployJob, + com.google.cloud.deploy.v1.PredeployJob.Builder, + com.google.cloud.deploy.v1.PredeployJobOrBuilder> + predeployJobBuilder_; /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJob field is set. */ @java.lang.Override @@ -2137,11 +2503,16 @@ public boolean hasPredeployJob() { return jobTypeCase_ == 9; } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJob. */ @java.lang.Override @@ -2159,11 +2530,15 @@ public com.google.cloud.deploy.v1.PredeployJob getPredeployJob() { } } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPredeployJob(com.google.cloud.deploy.v1.PredeployJob value) { if (predeployJobBuilder_ == null) { @@ -2179,11 +2554,15 @@ public Builder setPredeployJob(com.google.cloud.deploy.v1.PredeployJob value) { return this; } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPredeployJob( com.google.cloud.deploy.v1.PredeployJob.Builder builderForValue) { @@ -2197,18 +2576,25 @@ public Builder setPredeployJob( return this; } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePredeployJob(com.google.cloud.deploy.v1.PredeployJob value) { if (predeployJobBuilder_ == null) { - if (jobTypeCase_ == 9 && - jobType_ != com.google.cloud.deploy.v1.PredeployJob.getDefaultInstance()) { - jobType_ = com.google.cloud.deploy.v1.PredeployJob.newBuilder((com.google.cloud.deploy.v1.PredeployJob) jobType_) - .mergeFrom(value).buildPartial(); + if (jobTypeCase_ == 9 + && jobType_ != com.google.cloud.deploy.v1.PredeployJob.getDefaultInstance()) { + jobType_ = + com.google.cloud.deploy.v1.PredeployJob.newBuilder( + (com.google.cloud.deploy.v1.PredeployJob) jobType_) + .mergeFrom(value) + .buildPartial(); } else { jobType_ = value; } @@ -2224,11 +2610,15 @@ public Builder mergePredeployJob(com.google.cloud.deploy.v1.PredeployJob value) return this; } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPredeployJob() { if (predeployJobBuilder_ == null) { @@ -2247,21 +2637,29 @@ public Builder clearPredeployJob() { return this; } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.PredeployJob.Builder getPredeployJobBuilder() { return getPredeployJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobOrBuilder getPredeployJobOrBuilder() { @@ -2275,21 +2673,30 @@ public com.google.cloud.deploy.v1.PredeployJobOrBuilder getPredeployJobOrBuilder } } /** + * + * *
      * Output only. A predeploy Job.
      * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PredeployJob, com.google.cloud.deploy.v1.PredeployJob.Builder, com.google.cloud.deploy.v1.PredeployJobOrBuilder> + com.google.cloud.deploy.v1.PredeployJob, + com.google.cloud.deploy.v1.PredeployJob.Builder, + com.google.cloud.deploy.v1.PredeployJobOrBuilder> getPredeployJobFieldBuilder() { if (predeployJobBuilder_ == null) { if (!(jobTypeCase_ == 9)) { jobType_ = com.google.cloud.deploy.v1.PredeployJob.getDefaultInstance(); } - predeployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PredeployJob, com.google.cloud.deploy.v1.PredeployJob.Builder, com.google.cloud.deploy.v1.PredeployJobOrBuilder>( + predeployJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PredeployJob, + com.google.cloud.deploy.v1.PredeployJob.Builder, + com.google.cloud.deploy.v1.PredeployJobOrBuilder>( (com.google.cloud.deploy.v1.PredeployJob) jobType_, getParentForChildren(), isClean()); @@ -2301,13 +2708,21 @@ public com.google.cloud.deploy.v1.PredeployJobOrBuilder getPredeployJobOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PostdeployJob, com.google.cloud.deploy.v1.PostdeployJob.Builder, com.google.cloud.deploy.v1.PostdeployJobOrBuilder> postdeployJobBuilder_; + com.google.cloud.deploy.v1.PostdeployJob, + com.google.cloud.deploy.v1.PostdeployJob.Builder, + com.google.cloud.deploy.v1.PostdeployJobOrBuilder> + postdeployJobBuilder_; /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJob field is set. */ @java.lang.Override @@ -2315,11 +2730,16 @@ public boolean hasPostdeployJob() { return jobTypeCase_ == 10; } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJob. */ @java.lang.Override @@ -2337,11 +2757,15 @@ public com.google.cloud.deploy.v1.PostdeployJob getPostdeployJob() { } } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostdeployJob(com.google.cloud.deploy.v1.PostdeployJob value) { if (postdeployJobBuilder_ == null) { @@ -2357,11 +2781,15 @@ public Builder setPostdeployJob(com.google.cloud.deploy.v1.PostdeployJob value) return this; } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostdeployJob( com.google.cloud.deploy.v1.PostdeployJob.Builder builderForValue) { @@ -2375,18 +2803,25 @@ public Builder setPostdeployJob( return this; } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostdeployJob(com.google.cloud.deploy.v1.PostdeployJob value) { if (postdeployJobBuilder_ == null) { - if (jobTypeCase_ == 10 && - jobType_ != com.google.cloud.deploy.v1.PostdeployJob.getDefaultInstance()) { - jobType_ = com.google.cloud.deploy.v1.PostdeployJob.newBuilder((com.google.cloud.deploy.v1.PostdeployJob) jobType_) - .mergeFrom(value).buildPartial(); + if (jobTypeCase_ == 10 + && jobType_ != com.google.cloud.deploy.v1.PostdeployJob.getDefaultInstance()) { + jobType_ = + com.google.cloud.deploy.v1.PostdeployJob.newBuilder( + (com.google.cloud.deploy.v1.PostdeployJob) jobType_) + .mergeFrom(value) + .buildPartial(); } else { jobType_ = value; } @@ -2402,11 +2837,15 @@ public Builder mergePostdeployJob(com.google.cloud.deploy.v1.PostdeployJob value return this; } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostdeployJob() { if (postdeployJobBuilder_ == null) { @@ -2425,21 +2864,29 @@ public Builder clearPostdeployJob() { return this; } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.PostdeployJob.Builder getPostdeployJobBuilder() { return getPostdeployJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobOrBuilder getPostdeployJobOrBuilder() { @@ -2453,21 +2900,30 @@ public com.google.cloud.deploy.v1.PostdeployJobOrBuilder getPostdeployJobOrBuild } } /** + * + * *
      * Output only. A postdeploy Job.
      * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PostdeployJob, com.google.cloud.deploy.v1.PostdeployJob.Builder, com.google.cloud.deploy.v1.PostdeployJobOrBuilder> + com.google.cloud.deploy.v1.PostdeployJob, + com.google.cloud.deploy.v1.PostdeployJob.Builder, + com.google.cloud.deploy.v1.PostdeployJobOrBuilder> getPostdeployJobFieldBuilder() { if (postdeployJobBuilder_ == null) { if (!(jobTypeCase_ == 10)) { jobType_ = com.google.cloud.deploy.v1.PostdeployJob.getDefaultInstance(); } - postdeployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PostdeployJob, com.google.cloud.deploy.v1.PostdeployJob.Builder, com.google.cloud.deploy.v1.PostdeployJobOrBuilder>( + postdeployJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PostdeployJob, + com.google.cloud.deploy.v1.PostdeployJob.Builder, + com.google.cloud.deploy.v1.PostdeployJobOrBuilder>( (com.google.cloud.deploy.v1.PostdeployJob) jobType_, getParentForChildren(), isClean()); @@ -2479,13 +2935,21 @@ public com.google.cloud.deploy.v1.PostdeployJobOrBuilder getPostdeployJobOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CreateChildRolloutJob, com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder, com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder> createChildRolloutJobBuilder_; + com.google.cloud.deploy.v1.CreateChildRolloutJob, + com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder, + com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder> + createChildRolloutJobBuilder_; /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createChildRolloutJob field is set. */ @java.lang.Override @@ -2493,11 +2957,16 @@ public boolean hasCreateChildRolloutJob() { return jobTypeCase_ == 6; } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createChildRolloutJob. */ @java.lang.Override @@ -2515,13 +2984,18 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJob getCreateChildRolloutJob } } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateChildRolloutJob(com.google.cloud.deploy.v1.CreateChildRolloutJob value) { + public Builder setCreateChildRolloutJob( + com.google.cloud.deploy.v1.CreateChildRolloutJob value) { if (createChildRolloutJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2535,11 +3009,15 @@ public Builder setCreateChildRolloutJob(com.google.cloud.deploy.v1.CreateChildRo return this; } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateChildRolloutJob( com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder builderForValue) { @@ -2553,18 +3031,26 @@ public Builder setCreateChildRolloutJob( return this; } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeCreateChildRolloutJob(com.google.cloud.deploy.v1.CreateChildRolloutJob value) { + public Builder mergeCreateChildRolloutJob( + com.google.cloud.deploy.v1.CreateChildRolloutJob value) { if (createChildRolloutJobBuilder_ == null) { - if (jobTypeCase_ == 6 && - jobType_ != com.google.cloud.deploy.v1.CreateChildRolloutJob.getDefaultInstance()) { - jobType_ = com.google.cloud.deploy.v1.CreateChildRolloutJob.newBuilder((com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_) - .mergeFrom(value).buildPartial(); + if (jobTypeCase_ == 6 + && jobType_ != com.google.cloud.deploy.v1.CreateChildRolloutJob.getDefaultInstance()) { + jobType_ = + com.google.cloud.deploy.v1.CreateChildRolloutJob.newBuilder( + (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_) + .mergeFrom(value) + .buildPartial(); } else { jobType_ = value; } @@ -2580,11 +3066,15 @@ public Builder mergeCreateChildRolloutJob(com.google.cloud.deploy.v1.CreateChild return this; } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateChildRolloutJob() { if (createChildRolloutJobBuilder_ == null) { @@ -2603,24 +3093,34 @@ public Builder clearCreateChildRolloutJob() { return this; } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder getCreateChildRolloutJobBuilder() { + public com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder + getCreateChildRolloutJobBuilder() { return getCreateChildRolloutJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder getCreateChildRolloutJobOrBuilder() { + public com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder + getCreateChildRolloutJobOrBuilder() { if ((jobTypeCase_ == 6) && (createChildRolloutJobBuilder_ != null)) { return createChildRolloutJobBuilder_.getMessageOrBuilder(); } else { @@ -2631,21 +3131,30 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder getCreateChildR } } /** + * + * *
      * Output only. A createChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CreateChildRolloutJob, com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder, com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder> + com.google.cloud.deploy.v1.CreateChildRolloutJob, + com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder, + com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder> getCreateChildRolloutJobFieldBuilder() { if (createChildRolloutJobBuilder_ == null) { if (!(jobTypeCase_ == 6)) { jobType_ = com.google.cloud.deploy.v1.CreateChildRolloutJob.getDefaultInstance(); } - createChildRolloutJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CreateChildRolloutJob, com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder, com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder>( + createChildRolloutJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CreateChildRolloutJob, + com.google.cloud.deploy.v1.CreateChildRolloutJob.Builder, + com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder>( (com.google.cloud.deploy.v1.CreateChildRolloutJob) jobType_, getParentForChildren(), isClean()); @@ -2657,13 +3166,21 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder getCreateChildR } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceChildRolloutJob, com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder, com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder> advanceChildRolloutJobBuilder_; + com.google.cloud.deploy.v1.AdvanceChildRolloutJob, + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder> + advanceChildRolloutJobBuilder_; /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceChildRolloutJob field is set. */ @java.lang.Override @@ -2671,11 +3188,16 @@ public boolean hasAdvanceChildRolloutJob() { return jobTypeCase_ == 7; } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceChildRolloutJob. */ @java.lang.Override @@ -2693,13 +3215,18 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJob getAdvanceChildRolloutJ } } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAdvanceChildRolloutJob(com.google.cloud.deploy.v1.AdvanceChildRolloutJob value) { + public Builder setAdvanceChildRolloutJob( + com.google.cloud.deploy.v1.AdvanceChildRolloutJob value) { if (advanceChildRolloutJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2713,11 +3240,15 @@ public Builder setAdvanceChildRolloutJob(com.google.cloud.deploy.v1.AdvanceChild return this; } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAdvanceChildRolloutJob( com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder builderForValue) { @@ -2731,18 +3262,26 @@ public Builder setAdvanceChildRolloutJob( return this; } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAdvanceChildRolloutJob(com.google.cloud.deploy.v1.AdvanceChildRolloutJob value) { + public Builder mergeAdvanceChildRolloutJob( + com.google.cloud.deploy.v1.AdvanceChildRolloutJob value) { if (advanceChildRolloutJobBuilder_ == null) { - if (jobTypeCase_ == 7 && - jobType_ != com.google.cloud.deploy.v1.AdvanceChildRolloutJob.getDefaultInstance()) { - jobType_ = com.google.cloud.deploy.v1.AdvanceChildRolloutJob.newBuilder((com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_) - .mergeFrom(value).buildPartial(); + if (jobTypeCase_ == 7 + && jobType_ != com.google.cloud.deploy.v1.AdvanceChildRolloutJob.getDefaultInstance()) { + jobType_ = + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.newBuilder( + (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_) + .mergeFrom(value) + .buildPartial(); } else { jobType_ = value; } @@ -2758,11 +3297,15 @@ public Builder mergeAdvanceChildRolloutJob(com.google.cloud.deploy.v1.AdvanceChi return this; } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAdvanceChildRolloutJob() { if (advanceChildRolloutJobBuilder_ == null) { @@ -2781,24 +3324,34 @@ public Builder clearAdvanceChildRolloutJob() { return this; } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder getAdvanceChildRolloutJobBuilder() { + public com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder + getAdvanceChildRolloutJobBuilder() { return getAdvanceChildRolloutJobFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder getAdvanceChildRolloutJobOrBuilder() { + public com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder + getAdvanceChildRolloutJobOrBuilder() { if ((jobTypeCase_ == 7) && (advanceChildRolloutJobBuilder_ != null)) { return advanceChildRolloutJobBuilder_.getMessageOrBuilder(); } else { @@ -2809,21 +3362,30 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder getAdvanceChil } } /** + * + * *
      * Output only. An advanceChildRollout Job.
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceChildRolloutJob, com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder, com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder> + com.google.cloud.deploy.v1.AdvanceChildRolloutJob, + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder> getAdvanceChildRolloutJobFieldBuilder() { if (advanceChildRolloutJobBuilder_ == null) { if (!(jobTypeCase_ == 7)) { jobType_ = com.google.cloud.deploy.v1.AdvanceChildRolloutJob.getDefaultInstance(); } - advanceChildRolloutJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceChildRolloutJob, com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder, com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder>( + advanceChildRolloutJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AdvanceChildRolloutJob, + com.google.cloud.deploy.v1.AdvanceChildRolloutJob.Builder, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder>( (com.google.cloud.deploy.v1.AdvanceChildRolloutJob) jobType_, getParentForChildren(), isClean()); @@ -2833,9 +3395,9 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder getAdvanceChil onChanged(); return advanceChildRolloutJobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2845,12 +3407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Job) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Job) private static final com.google.cloud.deploy.v1.Job DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Job(); } @@ -2859,27 +3421,27 @@ public static com.google.cloud.deploy.v1.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2894,6 +3456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobOrBuilder.java similarity index 56% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobOrBuilder.java index 409b3270c663..52c53fb31453 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobOrBuilder.java @@ -1,254 +1,381 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface JobOrBuilder extends +public interface JobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Job) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The ID of the Job.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Output only. The ID of the Job.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Output only. The current state of the Job.
    * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the Job.
    * 
* - * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.deploy.v1.Job.State getState(); /** + * + * *
    * Output only. Additional information on why the Job was skipped, if
    * available.
    * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ java.lang.String getSkipMessage(); /** + * + * *
    * Output only. Additional information on why the Job was skipped, if
    * available.
    * 
* * string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ - com.google.protobuf.ByteString - getSkipMessageBytes(); + com.google.protobuf.ByteString getSkipMessageBytes(); /** + * + * *
    * Output only. The name of the `JobRun` responsible for the most recent
    * invocation of this Job.
    * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The jobRun. */ java.lang.String getJobRun(); /** + * + * *
    * Output only. The name of the `JobRun` responsible for the most recent
    * invocation of this Job.
    * 
* - * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for jobRun. */ - com.google.protobuf.ByteString - getJobRunBytes(); + com.google.protobuf.ByteString getJobRunBytes(); /** + * + * *
    * Output only. A deploy Job.
    * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJob field is set. */ boolean hasDeployJob(); /** + * + * *
    * Output only. A deploy Job.
    * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJob. */ com.google.cloud.deploy.v1.DeployJob getDeployJob(); /** + * + * *
    * Output only. A deploy Job.
    * 
* - * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.DeployJobOrBuilder getDeployJobOrBuilder(); /** + * + * *
    * Output only. A verify Job.
    * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJob field is set. */ boolean hasVerifyJob(); /** + * + * *
    * Output only. A verify Job.
    * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJob. */ com.google.cloud.deploy.v1.VerifyJob getVerifyJob(); /** + * + * *
    * Output only. A verify Job.
    * 
* - * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.VerifyJobOrBuilder getVerifyJobOrBuilder(); /** + * + * *
    * Output only. A predeploy Job.
    * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJob field is set. */ boolean hasPredeployJob(); /** + * + * *
    * Output only. A predeploy Job.
    * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJob. */ com.google.cloud.deploy.v1.PredeployJob getPredeployJob(); /** + * + * *
    * Output only. A predeploy Job.
    * 
* - * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.PredeployJobOrBuilder getPredeployJobOrBuilder(); /** + * + * *
    * Output only. A postdeploy Job.
    * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJob field is set. */ boolean hasPostdeployJob(); /** + * + * *
    * Output only. A postdeploy Job.
    * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJob. */ com.google.cloud.deploy.v1.PostdeployJob getPostdeployJob(); /** + * + * *
    * Output only. A postdeploy Job.
    * 
* - * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.PostdeployJobOrBuilder getPostdeployJobOrBuilder(); /** + * + * *
    * Output only. A createChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createChildRolloutJob field is set. */ boolean hasCreateChildRolloutJob(); /** + * + * *
    * Output only. A createChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createChildRolloutJob. */ com.google.cloud.deploy.v1.CreateChildRolloutJob getCreateChildRolloutJob(); /** + * + * *
    * Output only. A createChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder getCreateChildRolloutJobOrBuilder(); /** + * + * *
    * Output only. An advanceChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceChildRolloutJob field is set. */ boolean hasAdvanceChildRolloutJob(); /** + * + * *
    * Output only. An advanceChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceChildRolloutJob. */ com.google.cloud.deploy.v1.AdvanceChildRolloutJob getAdvanceChildRolloutJob(); /** + * + * *
    * Output only. An advanceChildRollout Job.
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder getAdvanceChildRolloutJobOrBuilder(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java index ab045aed2237..cf47d0ec981c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A `JobRun` resource in the Cloud Deploy API.
  *
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.JobRun}
  */
-public final class JobRun extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobRun extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.JobRun)
     JobRunOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobRun.newBuilder() to construct.
   private JobRun(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobRun() {
     name_ = "";
     uid_ = "";
@@ -32,34 +50,38 @@ private JobRun() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobRun();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_JobRun_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_JobRun_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.JobRun.class, com.google.cloud.deploy.v1.JobRun.Builder.class);
+            com.google.cloud.deploy.v1.JobRun.class,
+            com.google.cloud.deploy.v1.JobRun.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Valid states of a `JobRun`.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.JobRun.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The `JobRun` has an unspecified state.
      * 
@@ -68,6 +90,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The `JobRun` is in progress.
      * 
@@ -76,6 +100,8 @@ public enum State */ IN_PROGRESS(1), /** + * + * *
      * The `JobRun` has succeeded.
      * 
@@ -84,6 +110,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The `JobRun` has failed.
      * 
@@ -92,6 +120,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The `JobRun` is terminating.
      * 
@@ -100,6 +130,8 @@ public enum State */ TERMINATING(4), /** + * + * *
      * The `JobRun` was terminated.
      * 
@@ -111,6 +143,8 @@ public enum State ; /** + * + * *
      * The `JobRun` has an unspecified state.
      * 
@@ -119,6 +153,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The `JobRun` is in progress.
      * 
@@ -127,6 +163,8 @@ public enum State */ public static final int IN_PROGRESS_VALUE = 1; /** + * + * *
      * The `JobRun` has succeeded.
      * 
@@ -135,6 +173,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The `JobRun` has failed.
      * 
@@ -143,6 +183,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The `JobRun` is terminating.
      * 
@@ -151,6 +193,8 @@ public enum State */ public static final int TERMINATING_VALUE = 4; /** + * + * *
      * The `JobRun` was terminated.
      * 
@@ -159,7 +203,6 @@ public enum State */ public static final int TERMINATED_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,52 +227,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return IN_PROGRESS; - case 2: return SUCCEEDED; - case 3: return FAILED; - case 4: return TERMINATING; - case 5: return TERMINATED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return IN_PROGRESS; + case 2: + return SUCCEEDED; + case 3: + return FAILED; + case 4: + return TERMINATING; + case 5: + return TERMINATED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.JobRun.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; @@ -247,10 +293,13 @@ private State(int value) { } private int jobRunCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object jobRun_; + public enum JobRunCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DEPLOY_JOB_RUN(9), VERIFY_JOB_RUN(10), @@ -260,6 +309,7 @@ public enum JobRunCase ADVANCE_CHILD_ROLLOUT_JOB_RUN(13), JOBRUN_NOT_SET(0); private final int value; + private JobRunCase(int value) { this.value = value; } @@ -275,37 +325,48 @@ public static JobRunCase valueOf(int value) { public static JobRunCase forNumber(int value) { switch (value) { - case 9: return DEPLOY_JOB_RUN; - case 10: return VERIFY_JOB_RUN; - case 14: return PREDEPLOY_JOB_RUN; - case 15: return POSTDEPLOY_JOB_RUN; - case 12: return CREATE_CHILD_ROLLOUT_JOB_RUN; - case 13: return ADVANCE_CHILD_ROLLOUT_JOB_RUN; - case 0: return JOBRUN_NOT_SET; - default: return null; + case 9: + return DEPLOY_JOB_RUN; + case 10: + return VERIFY_JOB_RUN; + case 14: + return PREDEPLOY_JOB_RUN; + case 15: + return POSTDEPLOY_JOB_RUN; + case 12: + return CREATE_CHILD_ROLLOUT_JOB_RUN; + case 13: + return ADVANCE_CHILD_ROLLOUT_JOB_RUN; + case 0: + return JOBRUN_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public JobRunCase - getJobRunCase() { - return JobRunCase.forNumber( - jobRunCase_); + public JobRunCase getJobRunCase() { + return JobRunCase.forNumber(jobRunCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Optional. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ @java.lang.Override @@ -314,30 +375,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; } } /** + * + * *
    * Optional. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -346,14 +407,18 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. Unique identifier of the `JobRun`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -362,29 +427,29 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier of the `JobRun`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -393,14 +458,18 @@ public java.lang.String getUid() { } public static final int PHASE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object phaseId_ = ""; /** + * + * *
    * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phaseId. */ @java.lang.Override @@ -409,29 +478,29 @@ public java.lang.String getPhaseId() { 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(); phaseId_ = s; return s; } } /** + * + * *
    * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -440,14 +509,18 @@ public java.lang.String getPhaseId() { } public static final int JOB_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobId. */ @java.lang.Override @@ -456,29 +529,29 @@ public java.lang.String getJobId() { 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(); jobId_ = s; return s; } } /** + * + * *
    * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobId. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -489,11 +562,15 @@ public java.lang.String getJobId() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time at which the `JobRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -501,11 +578,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the `JobRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -513,11 +594,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the `JobRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -527,11 +611,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. Time at which the `JobRun` was started.
    * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -539,11 +627,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. Time at which the `JobRun` was started.
    * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -551,11 +643,14 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Time at which the `JobRun` was started.
    * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -565,11 +660,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. Time at which the `JobRun` ended.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -577,11 +676,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. Time at which the `JobRun` ended.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -589,11 +692,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Time at which the `JobRun` ended.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -603,36 +709,54 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. The current state of the `JobRun`.
    * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.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. The current state of the `JobRun`.
    * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.deploy.v1.JobRun.State getState() { - com.google.cloud.deploy.v1.JobRun.State result = com.google.cloud.deploy.v1.JobRun.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.deploy.v1.JobRun.State getState() { + com.google.cloud.deploy.v1.JobRun.State result = + com.google.cloud.deploy.v1.JobRun.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.JobRun.State.UNRECOGNIZED : result; } public static final int DEPLOY_JOB_RUN_FIELD_NUMBER = 9; /** + * + * *
    * Output only. Information specific to a deploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJobRun field is set. */ @java.lang.Override @@ -640,42 +764,56 @@ public boolean hasDeployJobRun() { return jobRunCase_ == 9; } /** + * + * *
    * Output only. Information specific to a deploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJobRun. */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRun getDeployJobRun() { if (jobRunCase_ == 9) { - return (com.google.cloud.deploy.v1.DeployJobRun) jobRun_; + return (com.google.cloud.deploy.v1.DeployJobRun) jobRun_; } return com.google.cloud.deploy.v1.DeployJobRun.getDefaultInstance(); } /** + * + * *
    * Output only. Information specific to a deploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRunOrBuilder getDeployJobRunOrBuilder() { if (jobRunCase_ == 9) { - return (com.google.cloud.deploy.v1.DeployJobRun) jobRun_; + return (com.google.cloud.deploy.v1.DeployJobRun) jobRun_; } return com.google.cloud.deploy.v1.DeployJobRun.getDefaultInstance(); } public static final int VERIFY_JOB_RUN_FIELD_NUMBER = 10; /** + * + * *
    * Output only. Information specific to a verify `JobRun`.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJobRun field is set. */ @java.lang.Override @@ -683,42 +821,56 @@ public boolean hasVerifyJobRun() { return jobRunCase_ == 10; } /** + * + * *
    * Output only. Information specific to a verify `JobRun`.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJobRun. */ @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobRun getVerifyJobRun() { if (jobRunCase_ == 10) { - return (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_; + return (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_; } return com.google.cloud.deploy.v1.VerifyJobRun.getDefaultInstance(); } /** + * + * *
    * Output only. Information specific to a verify `JobRun`.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobRunOrBuilder getVerifyJobRunOrBuilder() { if (jobRunCase_ == 10) { - return (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_; + return (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_; } return com.google.cloud.deploy.v1.VerifyJobRun.getDefaultInstance(); } public static final int PREDEPLOY_JOB_RUN_FIELD_NUMBER = 14; /** + * + * *
    * Output only. Information specific to a predeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJobRun field is set. */ @java.lang.Override @@ -726,42 +878,56 @@ public boolean hasPredeployJobRun() { return jobRunCase_ == 14; } /** + * + * *
    * Output only. Information specific to a predeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJobRun. */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobRun getPredeployJobRun() { if (jobRunCase_ == 14) { - return (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_; + return (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_; } return com.google.cloud.deploy.v1.PredeployJobRun.getDefaultInstance(); } /** + * + * *
    * Output only. Information specific to a predeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobRunOrBuilder getPredeployJobRunOrBuilder() { if (jobRunCase_ == 14) { - return (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_; + return (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_; } return com.google.cloud.deploy.v1.PredeployJobRun.getDefaultInstance(); } public static final int POSTDEPLOY_JOB_RUN_FIELD_NUMBER = 15; /** + * + * *
    * Output only. Information specific to a postdeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJobRun field is set. */ @java.lang.Override @@ -769,42 +935,56 @@ public boolean hasPostdeployJobRun() { return jobRunCase_ == 15; } /** + * + * *
    * Output only. Information specific to a postdeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJobRun. */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobRun getPostdeployJobRun() { if (jobRunCase_ == 15) { - return (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_; + return (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_; } return com.google.cloud.deploy.v1.PostdeployJobRun.getDefaultInstance(); } /** + * + * *
    * Output only. Information specific to a postdeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder getPostdeployJobRunOrBuilder() { if (jobRunCase_ == 15) { - return (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_; + return (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_; } return com.google.cloud.deploy.v1.PostdeployJobRun.getDefaultInstance(); } public static final int CREATE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER = 12; /** + * + * *
    * Output only. Information specific to a createChildRollout `JobRun`.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createChildRolloutJobRun field is set. */ @java.lang.Override @@ -812,42 +992,57 @@ public boolean hasCreateChildRolloutJobRun() { return jobRunCase_ == 12; } /** + * + * *
    * Output only. Information specific to a createChildRollout `JobRun`.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createChildRolloutJobRun. */ @java.lang.Override public com.google.cloud.deploy.v1.CreateChildRolloutJobRun getCreateChildRolloutJobRun() { if (jobRunCase_ == 12) { - return (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_; + return (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_; } return com.google.cloud.deploy.v1.CreateChildRolloutJobRun.getDefaultInstance(); } /** + * + * *
    * Output only. Information specific to a createChildRollout `JobRun`.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder getCreateChildRolloutJobRunOrBuilder() { + public com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder + getCreateChildRolloutJobRunOrBuilder() { if (jobRunCase_ == 12) { - return (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_; + return (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_; } return com.google.cloud.deploy.v1.CreateChildRolloutJobRun.getDefaultInstance(); } public static final int ADVANCE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER = 13; /** + * + * *
    * Output only. Information specific to an advanceChildRollout `JobRun`
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceChildRolloutJobRun field is set. */ @java.lang.Override @@ -855,39 +1050,52 @@ public boolean hasAdvanceChildRolloutJobRun() { return jobRunCase_ == 13; } /** + * + * *
    * Output only. Information specific to an advanceChildRollout `JobRun`
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceChildRolloutJobRun. */ @java.lang.Override public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun getAdvanceChildRolloutJobRun() { if (jobRunCase_ == 13) { - return (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_; + return (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_; } return com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.getDefaultInstance(); } /** + * + * *
    * Output only. Information specific to an advanceChildRollout `JobRun`
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder getAdvanceChildRolloutJobRunOrBuilder() { + public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder + getAdvanceChildRolloutJobRunOrBuilder() { if (jobRunCase_ == 13) { - return (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_; + return (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_; } return com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.getDefaultInstance(); } public static final int ETAG_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Output only. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -895,6 +1103,7 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder getAdvanceC
    * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The etag. */ @java.lang.Override @@ -903,14 +1112,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Output only. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -918,16 +1128,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -936,6 +1145,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -947,8 +1157,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_); } @@ -1016,47 +1225,49 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEndTime()); } if (state_ != com.google.cloud.deploy.v1.JobRun.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (jobRunCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.deploy.v1.DeployJobRun) jobRun_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.deploy.v1.DeployJobRun) jobRun_); } if (jobRunCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); } if (jobRunCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_); } if (jobRunCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_); } if (jobRunCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_); } if (jobRunCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1066,64 +1277,52 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.JobRun)) { return super.equals(obj); } com.google.cloud.deploy.v1.JobRun other = (com.google.cloud.deploy.v1.JobRun) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getPhaseId() - .equals(other.getPhaseId())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getPhaseId().equals(other.getPhaseId())) return false; + if (!getJobId().equals(other.getJobId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) 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 (state_ != other.state_) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getJobRunCase().equals(other.getJobRunCase())) return false; switch (jobRunCase_) { case 9: - if (!getDeployJobRun() - .equals(other.getDeployJobRun())) return false; + if (!getDeployJobRun().equals(other.getDeployJobRun())) return false; break; case 10: - if (!getVerifyJobRun() - .equals(other.getVerifyJobRun())) return false; + if (!getVerifyJobRun().equals(other.getVerifyJobRun())) return false; break; case 14: - if (!getPredeployJobRun() - .equals(other.getPredeployJobRun())) return false; + if (!getPredeployJobRun().equals(other.getPredeployJobRun())) return false; break; case 15: - if (!getPostdeployJobRun() - .equals(other.getPostdeployJobRun())) return false; + if (!getPostdeployJobRun().equals(other.getPostdeployJobRun())) return false; break; case 12: - if (!getCreateChildRolloutJobRun() - .equals(other.getCreateChildRolloutJobRun())) return false; + if (!getCreateChildRolloutJobRun().equals(other.getCreateChildRolloutJobRun())) + return false; break; case 13: - if (!getAdvanceChildRolloutJobRun() - .equals(other.getAdvanceChildRolloutJobRun())) return false; + if (!getAdvanceChildRolloutJobRun().equals(other.getAdvanceChildRolloutJobRun())) + return false; break; case 0: default: @@ -1196,99 +1395,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.JobRun parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.JobRun parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.JobRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.JobRun parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.JobRun parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.JobRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.JobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.JobRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.JobRun parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.JobRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.JobRun parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.JobRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.JobRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.JobRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.JobRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A `JobRun` resource in the Cloud Deploy API.
    *
@@ -1297,33 +1500,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.JobRun}
    */
-  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.cloud.deploy.v1.JobRun)
       com.google.cloud.deploy.v1.JobRunOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_JobRun_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_JobRun_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.JobRun.class, com.google.cloud.deploy.v1.JobRun.Builder.class);
+              com.google.cloud.deploy.v1.JobRun.class,
+              com.google.cloud.deploy.v1.JobRun.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.JobRun.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1373,9 +1575,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_JobRun_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_JobRun_descriptor;
     }
 
     @java.lang.Override
@@ -1395,7 +1597,9 @@ public com.google.cloud.deploy.v1.JobRun build() {
     @java.lang.Override
     public com.google.cloud.deploy.v1.JobRun buildPartial() {
       com.google.cloud.deploy.v1.JobRun result = new com.google.cloud.deploy.v1.JobRun(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1416,19 +1620,13 @@ private void buildPartial0(com.google.cloud.deploy.v1.JobRun result) {
         result.jobId_ = jobId_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
         result.state_ = state_;
@@ -1441,28 +1639,22 @@ private void buildPartial0(com.google.cloud.deploy.v1.JobRun result) {
     private void buildPartialOneofs(com.google.cloud.deploy.v1.JobRun result) {
       result.jobRunCase_ = jobRunCase_;
       result.jobRun_ = this.jobRun_;
-      if (jobRunCase_ == 9 &&
-          deployJobRunBuilder_ != null) {
+      if (jobRunCase_ == 9 && deployJobRunBuilder_ != null) {
         result.jobRun_ = deployJobRunBuilder_.build();
       }
-      if (jobRunCase_ == 10 &&
-          verifyJobRunBuilder_ != null) {
+      if (jobRunCase_ == 10 && verifyJobRunBuilder_ != null) {
         result.jobRun_ = verifyJobRunBuilder_.build();
       }
-      if (jobRunCase_ == 14 &&
-          predeployJobRunBuilder_ != null) {
+      if (jobRunCase_ == 14 && predeployJobRunBuilder_ != null) {
         result.jobRun_ = predeployJobRunBuilder_.build();
       }
-      if (jobRunCase_ == 15 &&
-          postdeployJobRunBuilder_ != null) {
+      if (jobRunCase_ == 15 && postdeployJobRunBuilder_ != null) {
         result.jobRun_ = postdeployJobRunBuilder_.build();
       }
-      if (jobRunCase_ == 12 &&
-          createChildRolloutJobRunBuilder_ != null) {
+      if (jobRunCase_ == 12 && createChildRolloutJobRunBuilder_ != null) {
         result.jobRun_ = createChildRolloutJobRunBuilder_.build();
       }
-      if (jobRunCase_ == 13 &&
-          advanceChildRolloutJobRunBuilder_ != null) {
+      if (jobRunCase_ == 13 && advanceChildRolloutJobRunBuilder_ != null) {
         result.jobRun_ = advanceChildRolloutJobRunBuilder_.build();
       }
     }
@@ -1471,38 +1663,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.JobRun result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.JobRun) {
-        return mergeFrom((com.google.cloud.deploy.v1.JobRun)other);
+        return mergeFrom((com.google.cloud.deploy.v1.JobRun) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1549,33 +1742,40 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.JobRun other) {
         onChanged();
       }
       switch (other.getJobRunCase()) {
-        case DEPLOY_JOB_RUN: {
-          mergeDeployJobRun(other.getDeployJobRun());
-          break;
-        }
-        case VERIFY_JOB_RUN: {
-          mergeVerifyJobRun(other.getVerifyJobRun());
-          break;
-        }
-        case PREDEPLOY_JOB_RUN: {
-          mergePredeployJobRun(other.getPredeployJobRun());
-          break;
-        }
-        case POSTDEPLOY_JOB_RUN: {
-          mergePostdeployJobRun(other.getPostdeployJobRun());
-          break;
-        }
-        case CREATE_CHILD_ROLLOUT_JOB_RUN: {
-          mergeCreateChildRolloutJobRun(other.getCreateChildRolloutJobRun());
-          break;
-        }
-        case ADVANCE_CHILD_ROLLOUT_JOB_RUN: {
-          mergeAdvanceChildRolloutJobRun(other.getAdvanceChildRolloutJobRun());
-          break;
-        }
-        case JOBRUN_NOT_SET: {
-          break;
-        }
+        case DEPLOY_JOB_RUN:
+          {
+            mergeDeployJobRun(other.getDeployJobRun());
+            break;
+          }
+        case VERIFY_JOB_RUN:
+          {
+            mergeVerifyJobRun(other.getVerifyJobRun());
+            break;
+          }
+        case PREDEPLOY_JOB_RUN:
+          {
+            mergePredeployJobRun(other.getPredeployJobRun());
+            break;
+          }
+        case POSTDEPLOY_JOB_RUN:
+          {
+            mergePostdeployJobRun(other.getPostdeployJobRun());
+            break;
+          }
+        case CREATE_CHILD_ROLLOUT_JOB_RUN:
+          {
+            mergeCreateChildRolloutJobRun(other.getCreateChildRolloutJobRun());
+            break;
+          }
+        case ADVANCE_CHILD_ROLLOUT_JOB_RUN:
+          {
+            mergeAdvanceChildRolloutJobRun(other.getAdvanceChildRolloutJobRun());
+            break;
+          }
+        case JOBRUN_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1603,105 +1803,106 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              phaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              jobId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 74: {
-              input.readMessage(
-                  getDeployJobRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobRunCase_ = 9;
-              break;
-            } // case 74
-            case 82: {
-              input.readMessage(
-                  getVerifyJobRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobRunCase_ = 10;
-              break;
-            } // case 82
-            case 90: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getCreateChildRolloutJobRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobRunCase_ = 12;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getAdvanceChildRolloutJobRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobRunCase_ = 13;
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getPredeployJobRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobRunCase_ = 14;
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getPostdeployJobRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobRunCase_ = 15;
-              break;
-            } // case 122
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                phaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                jobId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 74:
+              {
+                input.readMessage(getDeployJobRunFieldBuilder().getBuilder(), extensionRegistry);
+                jobRunCase_ = 9;
+                break;
+              } // case 74
+            case 82:
+              {
+                input.readMessage(getVerifyJobRunFieldBuilder().getBuilder(), extensionRegistry);
+                jobRunCase_ = 10;
+                break;
+              } // case 82
+            case 90:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(
+                    getCreateChildRolloutJobRunFieldBuilder().getBuilder(), extensionRegistry);
+                jobRunCase_ = 12;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(
+                    getAdvanceChildRolloutJobRunFieldBuilder().getBuilder(), extensionRegistry);
+                jobRunCase_ = 13;
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getPredeployJobRunFieldBuilder().getBuilder(), extensionRegistry);
+                jobRunCase_ = 14;
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(
+                    getPostdeployJobRunFieldBuilder().getBuilder(), extensionRegistry);
+                jobRunCase_ = 15;
+                break;
+              } // case 122
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1711,12 +1912,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int jobRunCase_ = 0;
     private java.lang.Object jobRun_;
-    public JobRunCase
-        getJobRunCase() {
-      return JobRunCase.forNumber(
-          jobRunCase_);
+
+    public JobRunCase getJobRunCase() {
+      return JobRunCase.forNumber(jobRunCase_);
     }
 
     public Builder clearJobRun() {
@@ -1730,19 +1931,21 @@ public Builder clearJobRun() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optional. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1751,21 +1954,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1773,30 +1977,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1806,18 +2017,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1827,18 +2042,20 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Unique identifier of the `JobRun`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -1847,20 +2064,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `JobRun`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -1868,28 +2086,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `JobRun`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier of the `JobRun`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1899,17 +2124,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. Unique identifier of the `JobRun`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -1919,18 +2148,20 @@ public Builder setUidBytes( private java.lang.Object phaseId_ = ""; /** + * + * *
      * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phaseId. */ public java.lang.String getPhaseId() { java.lang.Object ref = phaseId_; 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(); phaseId_ = s; return s; @@ -1939,20 +2170,21 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phaseId. */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -1960,28 +2192,35 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPhaseId() { @@ -1991,17 +2230,21 @@ public Builder clearPhaseId() { return this; } /** + * + * *
      * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phaseId_ = value; bitField0_ |= 0x00000004; @@ -2011,18 +2254,20 @@ public Builder setPhaseIdBytes( private java.lang.Object jobId_ = ""; /** + * + * *
      * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; @@ -2031,20 +2276,21 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobId. */ - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -2052,28 +2298,35 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -2083,17 +2336,21 @@ public Builder clearJobId() { return this; } /** + * + * *
      * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000008; @@ -2103,39 +2360,58 @@ public Builder setJobIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2151,14 +2427,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2169,17 +2448,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2192,11 +2475,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2209,11 +2496,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -2221,36 +2512,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the `JobRun` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2258,24 +2561,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2286,11 +2600,14 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2306,14 +2623,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2324,17 +2643,20 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2347,11 +2669,14 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2364,11 +2689,14 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000020; @@ -2376,36 +2704,44 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; } } /** + * + * *
      * Output only. Time at which the `JobRun` was started.
      * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.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> 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_; @@ -2413,24 +2749,35 @@ 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_; /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2441,11 +2788,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2461,14 +2811,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2479,17 +2831,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2502,11 +2857,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2519,11 +2877,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000040; @@ -2531,36 +2892,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. Time at which the `JobRun` ended.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_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> 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_; @@ -2568,22 +2937,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The current state of the `JobRun`.
      * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.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. The current state of the `JobRun`.
      * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2594,24 +2974,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the `JobRun`.
      * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.deploy.v1.JobRun.State getState() { - com.google.cloud.deploy.v1.JobRun.State result = com.google.cloud.deploy.v1.JobRun.State.forNumber(state_); + com.google.cloud.deploy.v1.JobRun.State result = + com.google.cloud.deploy.v1.JobRun.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.JobRun.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the `JobRun`.
      * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2625,11 +3016,16 @@ public Builder setState(com.google.cloud.deploy.v1.JobRun.State value) { return this; } /** + * + * *
      * Output only. The current state of the `JobRun`.
      * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2640,13 +3036,21 @@ public Builder clearState() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJobRun, com.google.cloud.deploy.v1.DeployJobRun.Builder, com.google.cloud.deploy.v1.DeployJobRunOrBuilder> deployJobRunBuilder_; + com.google.cloud.deploy.v1.DeployJobRun, + com.google.cloud.deploy.v1.DeployJobRun.Builder, + com.google.cloud.deploy.v1.DeployJobRunOrBuilder> + deployJobRunBuilder_; /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJobRun field is set. */ @java.lang.Override @@ -2654,11 +3058,16 @@ public boolean hasDeployJobRun() { return jobRunCase_ == 9; } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJobRun. */ @java.lang.Override @@ -2676,11 +3085,15 @@ public com.google.cloud.deploy.v1.DeployJobRun getDeployJobRun() { } } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeployJobRun(com.google.cloud.deploy.v1.DeployJobRun value) { if (deployJobRunBuilder_ == null) { @@ -2696,11 +3109,15 @@ public Builder setDeployJobRun(com.google.cloud.deploy.v1.DeployJobRun value) { return this; } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeployJobRun( com.google.cloud.deploy.v1.DeployJobRun.Builder builderForValue) { @@ -2714,18 +3131,25 @@ public Builder setDeployJobRun( return this; } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeployJobRun(com.google.cloud.deploy.v1.DeployJobRun value) { if (deployJobRunBuilder_ == null) { - if (jobRunCase_ == 9 && - jobRun_ != com.google.cloud.deploy.v1.DeployJobRun.getDefaultInstance()) { - jobRun_ = com.google.cloud.deploy.v1.DeployJobRun.newBuilder((com.google.cloud.deploy.v1.DeployJobRun) jobRun_) - .mergeFrom(value).buildPartial(); + if (jobRunCase_ == 9 + && jobRun_ != com.google.cloud.deploy.v1.DeployJobRun.getDefaultInstance()) { + jobRun_ = + com.google.cloud.deploy.v1.DeployJobRun.newBuilder( + (com.google.cloud.deploy.v1.DeployJobRun) jobRun_) + .mergeFrom(value) + .buildPartial(); } else { jobRun_ = value; } @@ -2741,11 +3165,15 @@ public Builder mergeDeployJobRun(com.google.cloud.deploy.v1.DeployJobRun value) return this; } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeployJobRun() { if (deployJobRunBuilder_ == null) { @@ -2764,21 +3192,29 @@ public Builder clearDeployJobRun() { return this; } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.DeployJobRun.Builder getDeployJobRunBuilder() { return getDeployJobRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployJobRunOrBuilder getDeployJobRunOrBuilder() { @@ -2792,21 +3228,30 @@ public com.google.cloud.deploy.v1.DeployJobRunOrBuilder getDeployJobRunOrBuilder } } /** + * + * *
      * Output only. Information specific to a deploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJobRun, com.google.cloud.deploy.v1.DeployJobRun.Builder, com.google.cloud.deploy.v1.DeployJobRunOrBuilder> + com.google.cloud.deploy.v1.DeployJobRun, + com.google.cloud.deploy.v1.DeployJobRun.Builder, + com.google.cloud.deploy.v1.DeployJobRunOrBuilder> getDeployJobRunFieldBuilder() { if (deployJobRunBuilder_ == null) { if (!(jobRunCase_ == 9)) { jobRun_ = com.google.cloud.deploy.v1.DeployJobRun.getDefaultInstance(); } - deployJobRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeployJobRun, com.google.cloud.deploy.v1.DeployJobRun.Builder, com.google.cloud.deploy.v1.DeployJobRunOrBuilder>( + deployJobRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeployJobRun, + com.google.cloud.deploy.v1.DeployJobRun.Builder, + com.google.cloud.deploy.v1.DeployJobRunOrBuilder>( (com.google.cloud.deploy.v1.DeployJobRun) jobRun_, getParentForChildren(), isClean()); @@ -2818,13 +3263,21 @@ public com.google.cloud.deploy.v1.DeployJobRunOrBuilder getDeployJobRunOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.VerifyJobRun, com.google.cloud.deploy.v1.VerifyJobRun.Builder, com.google.cloud.deploy.v1.VerifyJobRunOrBuilder> verifyJobRunBuilder_; + com.google.cloud.deploy.v1.VerifyJobRun, + com.google.cloud.deploy.v1.VerifyJobRun.Builder, + com.google.cloud.deploy.v1.VerifyJobRunOrBuilder> + verifyJobRunBuilder_; /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJobRun field is set. */ @java.lang.Override @@ -2832,11 +3285,16 @@ public boolean hasVerifyJobRun() { return jobRunCase_ == 10; } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJobRun. */ @java.lang.Override @@ -2854,11 +3312,15 @@ public com.google.cloud.deploy.v1.VerifyJobRun getVerifyJobRun() { } } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVerifyJobRun(com.google.cloud.deploy.v1.VerifyJobRun value) { if (verifyJobRunBuilder_ == null) { @@ -2874,11 +3336,15 @@ public Builder setVerifyJobRun(com.google.cloud.deploy.v1.VerifyJobRun value) { return this; } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVerifyJobRun( com.google.cloud.deploy.v1.VerifyJobRun.Builder builderForValue) { @@ -2892,18 +3358,25 @@ public Builder setVerifyJobRun( return this; } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeVerifyJobRun(com.google.cloud.deploy.v1.VerifyJobRun value) { if (verifyJobRunBuilder_ == null) { - if (jobRunCase_ == 10 && - jobRun_ != com.google.cloud.deploy.v1.VerifyJobRun.getDefaultInstance()) { - jobRun_ = com.google.cloud.deploy.v1.VerifyJobRun.newBuilder((com.google.cloud.deploy.v1.VerifyJobRun) jobRun_) - .mergeFrom(value).buildPartial(); + if (jobRunCase_ == 10 + && jobRun_ != com.google.cloud.deploy.v1.VerifyJobRun.getDefaultInstance()) { + jobRun_ = + com.google.cloud.deploy.v1.VerifyJobRun.newBuilder( + (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_) + .mergeFrom(value) + .buildPartial(); } else { jobRun_ = value; } @@ -2919,11 +3392,15 @@ public Builder mergeVerifyJobRun(com.google.cloud.deploy.v1.VerifyJobRun value) return this; } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearVerifyJobRun() { if (verifyJobRunBuilder_ == null) { @@ -2942,21 +3419,29 @@ public Builder clearVerifyJobRun() { return this; } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.VerifyJobRun.Builder getVerifyJobRunBuilder() { return getVerifyJobRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobRunOrBuilder getVerifyJobRunOrBuilder() { @@ -2970,21 +3455,30 @@ public com.google.cloud.deploy.v1.VerifyJobRunOrBuilder getVerifyJobRunOrBuilder } } /** + * + * *
      * Output only. Information specific to a verify `JobRun`.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.VerifyJobRun, com.google.cloud.deploy.v1.VerifyJobRun.Builder, com.google.cloud.deploy.v1.VerifyJobRunOrBuilder> + com.google.cloud.deploy.v1.VerifyJobRun, + com.google.cloud.deploy.v1.VerifyJobRun.Builder, + com.google.cloud.deploy.v1.VerifyJobRunOrBuilder> getVerifyJobRunFieldBuilder() { if (verifyJobRunBuilder_ == null) { if (!(jobRunCase_ == 10)) { jobRun_ = com.google.cloud.deploy.v1.VerifyJobRun.getDefaultInstance(); } - verifyJobRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.VerifyJobRun, com.google.cloud.deploy.v1.VerifyJobRun.Builder, com.google.cloud.deploy.v1.VerifyJobRunOrBuilder>( + verifyJobRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.VerifyJobRun, + com.google.cloud.deploy.v1.VerifyJobRun.Builder, + com.google.cloud.deploy.v1.VerifyJobRunOrBuilder>( (com.google.cloud.deploy.v1.VerifyJobRun) jobRun_, getParentForChildren(), isClean()); @@ -2996,13 +3490,21 @@ public com.google.cloud.deploy.v1.VerifyJobRunOrBuilder getVerifyJobRunOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PredeployJobRun, com.google.cloud.deploy.v1.PredeployJobRun.Builder, com.google.cloud.deploy.v1.PredeployJobRunOrBuilder> predeployJobRunBuilder_; + com.google.cloud.deploy.v1.PredeployJobRun, + com.google.cloud.deploy.v1.PredeployJobRun.Builder, + com.google.cloud.deploy.v1.PredeployJobRunOrBuilder> + predeployJobRunBuilder_; /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJobRun field is set. */ @java.lang.Override @@ -3010,11 +3512,16 @@ public boolean hasPredeployJobRun() { return jobRunCase_ == 14; } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJobRun. */ @java.lang.Override @@ -3032,11 +3539,15 @@ public com.google.cloud.deploy.v1.PredeployJobRun getPredeployJobRun() { } } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPredeployJobRun(com.google.cloud.deploy.v1.PredeployJobRun value) { if (predeployJobRunBuilder_ == null) { @@ -3052,11 +3563,15 @@ public Builder setPredeployJobRun(com.google.cloud.deploy.v1.PredeployJobRun val return this; } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPredeployJobRun( com.google.cloud.deploy.v1.PredeployJobRun.Builder builderForValue) { @@ -3070,18 +3585,25 @@ public Builder setPredeployJobRun( return this; } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePredeployJobRun(com.google.cloud.deploy.v1.PredeployJobRun value) { if (predeployJobRunBuilder_ == null) { - if (jobRunCase_ == 14 && - jobRun_ != com.google.cloud.deploy.v1.PredeployJobRun.getDefaultInstance()) { - jobRun_ = com.google.cloud.deploy.v1.PredeployJobRun.newBuilder((com.google.cloud.deploy.v1.PredeployJobRun) jobRun_) - .mergeFrom(value).buildPartial(); + if (jobRunCase_ == 14 + && jobRun_ != com.google.cloud.deploy.v1.PredeployJobRun.getDefaultInstance()) { + jobRun_ = + com.google.cloud.deploy.v1.PredeployJobRun.newBuilder( + (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_) + .mergeFrom(value) + .buildPartial(); } else { jobRun_ = value; } @@ -3097,11 +3619,15 @@ public Builder mergePredeployJobRun(com.google.cloud.deploy.v1.PredeployJobRun v return this; } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPredeployJobRun() { if (predeployJobRunBuilder_ == null) { @@ -3120,21 +3646,29 @@ public Builder clearPredeployJobRun() { return this; } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.PredeployJobRun.Builder getPredeployJobRunBuilder() { return getPredeployJobRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobRunOrBuilder getPredeployJobRunOrBuilder() { @@ -3148,21 +3682,30 @@ public com.google.cloud.deploy.v1.PredeployJobRunOrBuilder getPredeployJobRunOrB } } /** + * + * *
      * Output only. Information specific to a predeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PredeployJobRun, com.google.cloud.deploy.v1.PredeployJobRun.Builder, com.google.cloud.deploy.v1.PredeployJobRunOrBuilder> + com.google.cloud.deploy.v1.PredeployJobRun, + com.google.cloud.deploy.v1.PredeployJobRun.Builder, + com.google.cloud.deploy.v1.PredeployJobRunOrBuilder> getPredeployJobRunFieldBuilder() { if (predeployJobRunBuilder_ == null) { if (!(jobRunCase_ == 14)) { jobRun_ = com.google.cloud.deploy.v1.PredeployJobRun.getDefaultInstance(); } - predeployJobRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PredeployJobRun, com.google.cloud.deploy.v1.PredeployJobRun.Builder, com.google.cloud.deploy.v1.PredeployJobRunOrBuilder>( + predeployJobRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PredeployJobRun, + com.google.cloud.deploy.v1.PredeployJobRun.Builder, + com.google.cloud.deploy.v1.PredeployJobRunOrBuilder>( (com.google.cloud.deploy.v1.PredeployJobRun) jobRun_, getParentForChildren(), isClean()); @@ -3174,13 +3717,21 @@ public com.google.cloud.deploy.v1.PredeployJobRunOrBuilder getPredeployJobRunOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PostdeployJobRun, com.google.cloud.deploy.v1.PostdeployJobRun.Builder, com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder> postdeployJobRunBuilder_; + com.google.cloud.deploy.v1.PostdeployJobRun, + com.google.cloud.deploy.v1.PostdeployJobRun.Builder, + com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder> + postdeployJobRunBuilder_; /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJobRun field is set. */ @java.lang.Override @@ -3188,11 +3739,16 @@ public boolean hasPostdeployJobRun() { return jobRunCase_ == 15; } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJobRun. */ @java.lang.Override @@ -3210,11 +3766,15 @@ public com.google.cloud.deploy.v1.PostdeployJobRun getPostdeployJobRun() { } } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostdeployJobRun(com.google.cloud.deploy.v1.PostdeployJobRun value) { if (postdeployJobRunBuilder_ == null) { @@ -3230,11 +3790,15 @@ public Builder setPostdeployJobRun(com.google.cloud.deploy.v1.PostdeployJobRun v return this; } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostdeployJobRun( com.google.cloud.deploy.v1.PostdeployJobRun.Builder builderForValue) { @@ -3248,18 +3812,25 @@ public Builder setPostdeployJobRun( return this; } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostdeployJobRun(com.google.cloud.deploy.v1.PostdeployJobRun value) { if (postdeployJobRunBuilder_ == null) { - if (jobRunCase_ == 15 && - jobRun_ != com.google.cloud.deploy.v1.PostdeployJobRun.getDefaultInstance()) { - jobRun_ = com.google.cloud.deploy.v1.PostdeployJobRun.newBuilder((com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_) - .mergeFrom(value).buildPartial(); + if (jobRunCase_ == 15 + && jobRun_ != com.google.cloud.deploy.v1.PostdeployJobRun.getDefaultInstance()) { + jobRun_ = + com.google.cloud.deploy.v1.PostdeployJobRun.newBuilder( + (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_) + .mergeFrom(value) + .buildPartial(); } else { jobRun_ = value; } @@ -3275,11 +3846,15 @@ public Builder mergePostdeployJobRun(com.google.cloud.deploy.v1.PostdeployJobRun return this; } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostdeployJobRun() { if (postdeployJobRunBuilder_ == null) { @@ -3298,21 +3873,29 @@ public Builder clearPostdeployJobRun() { return this; } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.PostdeployJobRun.Builder getPostdeployJobRunBuilder() { return getPostdeployJobRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder getPostdeployJobRunOrBuilder() { @@ -3326,21 +3909,30 @@ public com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder getPostdeployJobRunO } } /** + * + * *
      * Output only. Information specific to a postdeploy `JobRun`.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PostdeployJobRun, com.google.cloud.deploy.v1.PostdeployJobRun.Builder, com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder> + com.google.cloud.deploy.v1.PostdeployJobRun, + com.google.cloud.deploy.v1.PostdeployJobRun.Builder, + com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder> getPostdeployJobRunFieldBuilder() { if (postdeployJobRunBuilder_ == null) { if (!(jobRunCase_ == 15)) { jobRun_ = com.google.cloud.deploy.v1.PostdeployJobRun.getDefaultInstance(); } - postdeployJobRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PostdeployJobRun, com.google.cloud.deploy.v1.PostdeployJobRun.Builder, com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder>( + postdeployJobRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PostdeployJobRun, + com.google.cloud.deploy.v1.PostdeployJobRun.Builder, + com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder>( (com.google.cloud.deploy.v1.PostdeployJobRun) jobRun_, getParentForChildren(), isClean()); @@ -3352,13 +3944,21 @@ public com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder getPostdeployJobRunO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CreateChildRolloutJobRun, com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder, com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder> createChildRolloutJobRunBuilder_; + com.google.cloud.deploy.v1.CreateChildRolloutJobRun, + com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder, + com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder> + createChildRolloutJobRunBuilder_; /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createChildRolloutJobRun field is set. */ @java.lang.Override @@ -3366,11 +3966,16 @@ public boolean hasCreateChildRolloutJobRun() { return jobRunCase_ == 12; } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createChildRolloutJobRun. */ @java.lang.Override @@ -3388,13 +3993,18 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJobRun getCreateChildRollout } } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateChildRolloutJobRun(com.google.cloud.deploy.v1.CreateChildRolloutJobRun value) { + public Builder setCreateChildRolloutJobRun( + com.google.cloud.deploy.v1.CreateChildRolloutJobRun value) { if (createChildRolloutJobRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3408,11 +4018,15 @@ public Builder setCreateChildRolloutJobRun(com.google.cloud.deploy.v1.CreateChil return this; } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateChildRolloutJobRun( com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder builderForValue) { @@ -3426,18 +4040,27 @@ public Builder setCreateChildRolloutJobRun( return this; } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeCreateChildRolloutJobRun(com.google.cloud.deploy.v1.CreateChildRolloutJobRun value) { + public Builder mergeCreateChildRolloutJobRun( + com.google.cloud.deploy.v1.CreateChildRolloutJobRun value) { if (createChildRolloutJobRunBuilder_ == null) { - if (jobRunCase_ == 12 && - jobRun_ != com.google.cloud.deploy.v1.CreateChildRolloutJobRun.getDefaultInstance()) { - jobRun_ = com.google.cloud.deploy.v1.CreateChildRolloutJobRun.newBuilder((com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_) - .mergeFrom(value).buildPartial(); + if (jobRunCase_ == 12 + && jobRun_ + != com.google.cloud.deploy.v1.CreateChildRolloutJobRun.getDefaultInstance()) { + jobRun_ = + com.google.cloud.deploy.v1.CreateChildRolloutJobRun.newBuilder( + (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_) + .mergeFrom(value) + .buildPartial(); } else { jobRun_ = value; } @@ -3453,11 +4076,15 @@ public Builder mergeCreateChildRolloutJobRun(com.google.cloud.deploy.v1.CreateCh return this; } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateChildRolloutJobRun() { if (createChildRolloutJobRunBuilder_ == null) { @@ -3476,24 +4103,34 @@ public Builder clearCreateChildRolloutJobRun() { return this; } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder getCreateChildRolloutJobRunBuilder() { + public com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder + getCreateChildRolloutJobRunBuilder() { return getCreateChildRolloutJobRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder getCreateChildRolloutJobRunOrBuilder() { + public com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder + getCreateChildRolloutJobRunOrBuilder() { if ((jobRunCase_ == 12) && (createChildRolloutJobRunBuilder_ != null)) { return createChildRolloutJobRunBuilder_.getMessageOrBuilder(); } else { @@ -3504,21 +4141,30 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder getCreateChi } } /** + * + * *
      * Output only. Information specific to a createChildRollout `JobRun`.
      * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CreateChildRolloutJobRun, com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder, com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder> + com.google.cloud.deploy.v1.CreateChildRolloutJobRun, + com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder, + com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder> getCreateChildRolloutJobRunFieldBuilder() { if (createChildRolloutJobRunBuilder_ == null) { if (!(jobRunCase_ == 12)) { jobRun_ = com.google.cloud.deploy.v1.CreateChildRolloutJobRun.getDefaultInstance(); } - createChildRolloutJobRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CreateChildRolloutJobRun, com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder, com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder>( + createChildRolloutJobRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CreateChildRolloutJobRun, + com.google.cloud.deploy.v1.CreateChildRolloutJobRun.Builder, + com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder>( (com.google.cloud.deploy.v1.CreateChildRolloutJobRun) jobRun_, getParentForChildren(), isClean()); @@ -3530,13 +4176,21 @@ public com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder getCreateChi } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder> advanceChildRolloutJobRunBuilder_; + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder> + advanceChildRolloutJobRunBuilder_; /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceChildRolloutJobRun field is set. */ @java.lang.Override @@ -3544,11 +4198,16 @@ public boolean hasAdvanceChildRolloutJobRun() { return jobRunCase_ == 13; } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceChildRolloutJobRun. */ @java.lang.Override @@ -3566,13 +4225,18 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun getAdvanceChildRollo } } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAdvanceChildRolloutJobRun(com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun value) { + public Builder setAdvanceChildRolloutJobRun( + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun value) { if (advanceChildRolloutJobRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3586,11 +4250,15 @@ public Builder setAdvanceChildRolloutJobRun(com.google.cloud.deploy.v1.AdvanceCh return this; } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAdvanceChildRolloutJobRun( com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder builderForValue) { @@ -3604,18 +4272,27 @@ public Builder setAdvanceChildRolloutJobRun( return this; } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAdvanceChildRolloutJobRun(com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun value) { + public Builder mergeAdvanceChildRolloutJobRun( + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun value) { if (advanceChildRolloutJobRunBuilder_ == null) { - if (jobRunCase_ == 13 && - jobRun_ != com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.getDefaultInstance()) { - jobRun_ = com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.newBuilder((com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_) - .mergeFrom(value).buildPartial(); + if (jobRunCase_ == 13 + && jobRun_ + != com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.getDefaultInstance()) { + jobRun_ = + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.newBuilder( + (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_) + .mergeFrom(value) + .buildPartial(); } else { jobRun_ = value; } @@ -3631,11 +4308,15 @@ public Builder mergeAdvanceChildRolloutJobRun(com.google.cloud.deploy.v1.Advance return this; } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAdvanceChildRolloutJobRun() { if (advanceChildRolloutJobRunBuilder_ == null) { @@ -3654,24 +4335,34 @@ public Builder clearAdvanceChildRolloutJobRun() { return this; } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder getAdvanceChildRolloutJobRunBuilder() { + public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder + getAdvanceChildRolloutJobRunBuilder() { return getAdvanceChildRolloutJobRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder getAdvanceChildRolloutJobRunOrBuilder() { + public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder + getAdvanceChildRolloutJobRunOrBuilder() { if ((jobRunCase_ == 13) && (advanceChildRolloutJobRunBuilder_ != null)) { return advanceChildRolloutJobRunBuilder_.getMessageOrBuilder(); } else { @@ -3682,21 +4373,30 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder getAdvanceC } } /** + * + * *
      * Output only. Information specific to an advanceChildRollout `JobRun`
      * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder> + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder> getAdvanceChildRolloutJobRunFieldBuilder() { if (advanceChildRolloutJobRunBuilder_ == null) { if (!(jobRunCase_ == 13)) { jobRun_ = com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.getDefaultInstance(); } - advanceChildRolloutJobRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder, com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder>( + advanceChildRolloutJobRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun.Builder, + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder>( (com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun) jobRun_, getParentForChildren(), isClean()); @@ -3709,6 +4409,8 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder getAdvanceC private java.lang.Object etag_ = ""; /** + * + * *
      * Output only. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -3716,13 +4418,13 @@ public com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder getAdvanceC
      * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -3731,6 +4433,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Output only. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -3738,15 +4442,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -3754,6 +4457,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Output only. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -3761,18 +4466,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Output only. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -3780,6 +4489,7 @@ public Builder setEtag(
      * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3789,6 +4499,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Output only. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -3796,21 +4508,23 @@ public Builder clearEtag() {
      * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3820,12 +4534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.JobRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.JobRun) private static final com.google.cloud.deploy.v1.JobRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.JobRun(); } @@ -3834,27 +4548,27 @@ public static com.google.cloud.deploy.v1.JobRun getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3869,6 +4583,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.JobRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEvent.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEvent.java index 36370ccaf70e..b8a0bad201ba 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/jobrun_notification_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/jobrun_notification"
  * Platform Log event that describes the failure to send JobRun resource update
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.JobRunNotificationEvent}
  */
-public final class JobRunNotificationEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobRunNotificationEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.JobRunNotificationEvent)
     JobRunNotificationEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobRunNotificationEvent.newBuilder() to construct.
   private JobRunNotificationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobRunNotificationEvent() {
     message_ = "";
     jobRun_ = "";
@@ -35,33 +53,38 @@ private JobRunNotificationEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobRunNotificationEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto.internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto.internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.JobRunNotificationEvent.class, com.google.cloud.deploy.v1.JobRunNotificationEvent.Builder.class);
+            com.google.cloud.deploy.v1.JobRunNotificationEvent.class,
+            com.google.cloud.deploy.v1.JobRunNotificationEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -70,29 +93,29 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -101,14 +124,18 @@ public java.lang.String getMessage() { } public static final int JOB_RUN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object jobRun_ = ""; /** + * + * *
    * The name of the `JobRun`.
    * 
* * string job_run = 2; + * * @return The jobRun. */ @java.lang.Override @@ -117,29 +144,29 @@ public java.lang.String getJobRun() { 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(); jobRun_ = s; return s; } } /** + * + * *
    * The name of the `JobRun`.
    * 
* * string job_run = 2; + * * @return The bytes for jobRun. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobRunBytes() { + public com.google.protobuf.ByteString getJobRunBytes() { java.lang.Object ref = jobRun_; 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); jobRun_ = b; return b; } else { @@ -148,14 +175,18 @@ public java.lang.String getJobRun() { } public static final int PIPELINE_UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ @java.lang.Override @@ -164,29 +195,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -195,14 +226,18 @@ public java.lang.String getPipelineUid() { } public static final int RELEASE_UID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object releaseUid_ = ""; /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 4; + * * @return The releaseUid. */ @java.lang.Override @@ -211,29 +246,29 @@ public java.lang.String getReleaseUid() { 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(); releaseUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 4; + * * @return The bytes for releaseUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -242,14 +277,18 @@ public java.lang.String getReleaseUid() { } public static final int RELEASE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object release_ = ""; /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The release. */ @java.lang.Override @@ -258,29 +297,29 @@ public java.lang.String getRelease() { 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(); release_ = s; return s; } } /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The bytes for release. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -289,14 +328,18 @@ public java.lang.String getRelease() { } public static final int ROLLOUT_UID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutUid_ = ""; /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 5; + * * @return The rolloutUid. */ @java.lang.Override @@ -305,29 +348,29 @@ public java.lang.String getRolloutUid() { 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(); rolloutUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 5; + * * @return The bytes for rolloutUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutUidBytes() { + public com.google.protobuf.ByteString getRolloutUidBytes() { java.lang.Object ref = rolloutUid_; 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); rolloutUid_ = b; return b; } else { @@ -336,14 +379,18 @@ public java.lang.String getRolloutUid() { } public static final int ROLLOUT_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 9; + * * @return The rollout. */ @java.lang.Override @@ -352,29 +399,29 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 9; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -383,14 +430,18 @@ public java.lang.String getRollout() { } public static final int TARGET_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * ID of the `Target`.
    * 
* * string target_id = 6; + * * @return The targetId. */ @java.lang.Override @@ -399,29 +450,29 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * ID of the `Target`.
    * 
* * string target_id = 6; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -432,30 +483,39 @@ public java.lang.String getTargetId() { public static final int TYPE_FIELD_NUMBER = 7; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -467,8 +527,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -524,8 +583,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, targetId_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(release_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, release_); @@ -541,29 +599,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.cloud.deploy.v1.JobRunNotificationEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.JobRunNotificationEvent other = (com.google.cloud.deploy.v1.JobRunNotificationEvent) obj; - - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getJobRun() - .equals(other.getJobRun())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; - if (!getReleaseUid() - .equals(other.getReleaseUid())) return false; - if (!getRelease() - .equals(other.getRelease())) return false; - if (!getRolloutUid() - .equals(other.getRolloutUid())) return false; - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getTargetId() - .equals(other.getTargetId())) return false; + com.google.cloud.deploy.v1.JobRunNotificationEvent other = + (com.google.cloud.deploy.v1.JobRunNotificationEvent) obj; + + if (!getMessage().equals(other.getMessage())) return false; + if (!getJobRun().equals(other.getJobRun())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; + if (!getReleaseUid().equals(other.getReleaseUid())) return false; + if (!getRelease().equals(other.getRelease())) return false; + if (!getRolloutUid().equals(other.getRolloutUid())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -600,98 +651,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.JobRunNotificationEvent 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.cloud.deploy.v1.JobRunNotificationEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.JobRunNotificationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.JobRunNotificationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/jobrun_notification"
    * Platform Log event that describes the failure to send JobRun resource update
@@ -700,33 +756,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.JobRunNotificationEvent}
    */
-  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.cloud.deploy.v1.JobRunNotificationEvent)
       com.google.cloud.deploy.v1.JobRunNotificationEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto.internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto.internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.JobRunNotificationEvent.class, com.google.cloud.deploy.v1.JobRunNotificationEvent.Builder.class);
+              com.google.cloud.deploy.v1.JobRunNotificationEvent.class,
+              com.google.cloud.deploy.v1.JobRunNotificationEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.JobRunNotificationEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -744,9 +799,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto.internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.JobRunNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor;
     }
 
     @java.lang.Override
@@ -765,8 +820,11 @@ public com.google.cloud.deploy.v1.JobRunNotificationEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.JobRunNotificationEvent buildPartial() {
-      com.google.cloud.deploy.v1.JobRunNotificationEvent result = new com.google.cloud.deploy.v1.JobRunNotificationEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.JobRunNotificationEvent result =
+          new com.google.cloud.deploy.v1.JobRunNotificationEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -806,38 +864,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.JobRunNotificationEvent re
     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) {
+        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) {
+        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.cloud.deploy.v1.JobRunNotificationEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.JobRunNotificationEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.JobRunNotificationEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -845,7 +904,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.JobRunNotificationEvent other) {
-      if (other == com.google.cloud.deploy.v1.JobRunNotificationEvent.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.JobRunNotificationEvent.getDefaultInstance())
+        return this;
       if (!other.getMessage().isEmpty()) {
         message_ = other.message_;
         bitField0_ |= 0x00000001;
@@ -915,57 +975,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              jobRun_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              releaseUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              rolloutUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 50: {
-              targetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 50
-            case 56: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 56
-            case 66: {
-              release_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 66
-            case 74: {
-              rollout_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                jobRun_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                releaseUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                rolloutUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 50:
+              {
+                targetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 50
+            case 56:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 56
+            case 66:
+              {
+                release_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 66
+            case 74:
+              {
+                rollout_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -975,22 +1045,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -999,20 +1072,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -1020,28 +1094,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1051,17 +1132,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -1071,18 +1156,20 @@ public Builder setMessageBytes( private java.lang.Object jobRun_ = ""; /** + * + * *
      * The name of the `JobRun`.
      * 
* * string job_run = 2; + * * @return The jobRun. */ public java.lang.String getJobRun() { java.lang.Object ref = jobRun_; 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(); jobRun_ = s; return s; @@ -1091,20 +1178,21 @@ public java.lang.String getJobRun() { } } /** + * + * *
      * The name of the `JobRun`.
      * 
* * string job_run = 2; + * * @return The bytes for jobRun. */ - public com.google.protobuf.ByteString - getJobRunBytes() { + public com.google.protobuf.ByteString getJobRunBytes() { java.lang.Object ref = jobRun_; 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); jobRun_ = b; return b; } else { @@ -1112,28 +1200,35 @@ public java.lang.String getJobRun() { } } /** + * + * *
      * The name of the `JobRun`.
      * 
* * string job_run = 2; + * * @param value The jobRun to set. * @return This builder for chaining. */ - public Builder setJobRun( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobRun(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobRun_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The name of the `JobRun`.
      * 
* * string job_run = 2; + * * @return This builder for chaining. */ public Builder clearJobRun() { @@ -1143,17 +1238,21 @@ public Builder clearJobRun() { return this; } /** + * + * *
      * The name of the `JobRun`.
      * 
* * string job_run = 2; + * * @param value The bytes for jobRun to set. * @return This builder for chaining. */ - public Builder setJobRunBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobRunBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobRun_ = value; bitField0_ |= 0x00000002; @@ -1163,18 +1262,20 @@ public Builder setJobRunBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -1183,20 +1284,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -1204,28 +1306,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -1235,17 +1344,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 3; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000004; @@ -1255,18 +1368,20 @@ public Builder setPipelineUidBytes( private java.lang.Object releaseUid_ = ""; /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 4; + * * @return The releaseUid. */ public java.lang.String getReleaseUid() { java.lang.Object ref = releaseUid_; 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(); releaseUid_ = s; return s; @@ -1275,20 +1390,21 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 4; + * * @return The bytes for releaseUid. */ - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -1296,28 +1412,35 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 4; + * * @param value The releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } releaseUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 4; + * * @return This builder for chaining. */ public Builder clearReleaseUid() { @@ -1327,17 +1450,21 @@ public Builder clearReleaseUid() { return this; } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 4; + * * @param value The bytes for releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); releaseUid_ = value; bitField0_ |= 0x00000008; @@ -1347,18 +1474,20 @@ public Builder setReleaseUidBytes( private java.lang.Object release_ = ""; /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @return The release. */ public java.lang.String getRelease() { java.lang.Object ref = release_; 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(); release_ = s; return s; @@ -1367,20 +1496,21 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @return The bytes for release. */ - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -1388,28 +1518,35 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @param value The release to set. * @return This builder for chaining. */ - public Builder setRelease( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelease(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } release_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @return This builder for chaining. */ public Builder clearRelease() { @@ -1419,17 +1556,21 @@ public Builder clearRelease() { return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @param value The bytes for release to set. * @return This builder for chaining. */ - public Builder setReleaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); release_ = value; bitField0_ |= 0x00000010; @@ -1439,18 +1580,20 @@ public Builder setReleaseBytes( private java.lang.Object rolloutUid_ = ""; /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 5; + * * @return The rolloutUid. */ public java.lang.String getRolloutUid() { java.lang.Object ref = rolloutUid_; 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(); rolloutUid_ = s; return s; @@ -1459,20 +1602,21 @@ public java.lang.String getRolloutUid() { } } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 5; + * * @return The bytes for rolloutUid. */ - public com.google.protobuf.ByteString - getRolloutUidBytes() { + public com.google.protobuf.ByteString getRolloutUidBytes() { java.lang.Object ref = rolloutUid_; 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); rolloutUid_ = b; return b; } else { @@ -1480,28 +1624,35 @@ public java.lang.String getRolloutUid() { } } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 5; + * * @param value The rolloutUid to set. * @return This builder for chaining. */ - public Builder setRolloutUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutUid_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 5; + * * @return This builder for chaining. */ public Builder clearRolloutUid() { @@ -1511,17 +1662,21 @@ public Builder clearRolloutUid() { return this; } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 5; + * * @param value The bytes for rolloutUid to set. * @return This builder for chaining. */ - public Builder setRolloutUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutUid_ = value; bitField0_ |= 0x00000020; @@ -1531,18 +1686,20 @@ public Builder setRolloutUidBytes( private java.lang.Object rollout_ = ""; /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 9; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -1551,20 +1708,21 @@ public java.lang.String getRollout() { } } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 9; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -1572,28 +1730,35 @@ public java.lang.String getRollout() { } } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 9; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 9; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -1603,17 +1768,21 @@ public Builder clearRollout() { return this; } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 9; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000040; @@ -1623,18 +1792,20 @@ public Builder setRolloutBytes( private java.lang.Object targetId_ = ""; /** + * + * *
      * ID of the `Target`.
      * 
* * string target_id = 6; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -1643,20 +1814,21 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * ID of the `Target`.
      * 
* * string target_id = 6; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -1664,28 +1836,35 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * ID of the `Target`.
      * 
* * string target_id = 6; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * ID of the `Target`.
      * 
* * string target_id = 6; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -1695,17 +1874,21 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * ID of the `Target`.
      * 
* * string target_id = 6; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000080; @@ -1715,22 +1898,29 @@ public Builder setTargetIdBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1741,11 +1931,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ @java.lang.Override @@ -1754,11 +1947,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1772,11 +1968,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1785,9 +1984,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1797,12 +1996,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.JobRunNotificationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.JobRunNotificationEvent) private static final com.google.cloud.deploy.v1.JobRunNotificationEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.JobRunNotificationEvent(); } @@ -1811,27 +2010,27 @@ public static com.google.cloud.deploy.v1.JobRunNotificationEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobRunNotificationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobRunNotificationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1846,6 +2045,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.JobRunNotificationEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEventOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEventOrBuilder.java index 404feb44afcf..a1ada1489c40 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationEventOrBuilder.java @@ -1,187 +1,249 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/jobrun_notification_payload.proto package com.google.cloud.deploy.v1; -public interface JobRunNotificationEventOrBuilder extends +public interface JobRunNotificationEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.JobRunNotificationEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The name of the `JobRun`.
    * 
* * string job_run = 2; + * * @return The jobRun. */ java.lang.String getJobRun(); /** + * + * *
    * The name of the `JobRun`.
    * 
* * string job_run = 2; + * * @return The bytes for jobRun. */ - com.google.protobuf.ByteString - getJobRunBytes(); + com.google.protobuf.ByteString getJobRunBytes(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 3; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 4; + * * @return The releaseUid. */ java.lang.String getReleaseUid(); /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 4; + * * @return The bytes for releaseUid. */ - com.google.protobuf.ByteString - getReleaseUidBytes(); + com.google.protobuf.ByteString getReleaseUidBytes(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The release. */ java.lang.String getRelease(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The bytes for release. */ - com.google.protobuf.ByteString - getReleaseBytes(); + com.google.protobuf.ByteString getReleaseBytes(); /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 5; + * * @return The rolloutUid. */ java.lang.String getRolloutUid(); /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 5; + * * @return The bytes for rolloutUid. */ - com.google.protobuf.ByteString - getRolloutUidBytes(); + com.google.protobuf.ByteString getRolloutUidBytes(); /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 9; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 9; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * ID of the `Target`.
    * 
* * string target_id = 6; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * ID of the `Target`.
    * 
* * string target_id = 6; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationPayloadProto.java new file mode 100644 index 000000000000..8c6cdb703c48 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationPayloadProto.java @@ -0,0 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/jobrun_notification_payload.proto + +package com.google.cloud.deploy.v1; + +public final class JobRunNotificationPayloadProto { + private JobRunNotificationPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/deploy/v1/jobrun_notifica" + + "tion_payload.proto\022\026google.cloud.deploy." + + "v1\032&google/cloud/deploy/v1/log_enums.pro" + + "to\"\334\001\n\027JobRunNotificationEvent\022\017\n\007messag" + + "e\030\001 \001(\t\022\017\n\007job_run\030\002 \001(\t\022\024\n\014pipeline_uid" + + "\030\003 \001(\t\022\023\n\013release_uid\030\004 \001(\t\022\017\n\007release\030\010" + + " \001(\t\022\023\n\013rollout_uid\030\005 \001(\t\022\017\n\007rollout\030\t \001" + + "(\t\022\021\n\ttarget_id\030\006 \001(\t\022*\n\004type\030\007 \001(\0162\034.go" + + "ogle.cloud.deploy.v1.TypeBr\n\032com.google." + + "cloud.deploy.v1B\036JobRunNotificationPaylo" + + "adProtoP\001Z2cloud.google.com/go/deploy/ap" + + "iv1/deploypb;deploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor, + new java.lang.String[] { + "Message", + "JobRun", + "PipelineUid", + "ReleaseUid", + "Release", + "RolloutUid", + "Rollout", + "TargetId", + "Type", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java similarity index 64% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java index 8fea84e5b493..4ca279d302cd 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java @@ -1,357 +1,524 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface JobRunOrBuilder extends +public interface JobRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.JobRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Unique identifier of the `JobRun`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Unique identifier of the `JobRun`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phaseId. */ java.lang.String getPhaseId(); /** + * + * *
    * Output only. ID of the `Rollout` phase this `JobRun` belongs in.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phaseId. */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + com.google.protobuf.ByteString getPhaseIdBytes(); /** + * + * *
    * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * Output only. ID of the `Rollout` job this `JobRun` corresponds to.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); /** + * + * *
    * Output only. Time at which the `JobRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the `JobRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the `JobRun` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the `JobRun` was started.
    * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Time at which the `JobRun` was started.
    * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. Time at which the `JobRun` was started.
    * 
* - * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the `JobRun` ended.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Time at which the `JobRun` ended.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. Time at which the `JobRun` ended.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. The current state of the `JobRun`.
    * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the `JobRun`.
    * 
* - * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.JobRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.deploy.v1.JobRun.State getState(); /** + * + * *
    * Output only. Information specific to a deploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployJobRun field is set. */ boolean hasDeployJobRun(); /** + * + * *
    * Output only. Information specific to a deploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployJobRun. */ com.google.cloud.deploy.v1.DeployJobRun getDeployJobRun(); /** + * + * *
    * Output only. Information specific to a deploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.DeployJobRunOrBuilder getDeployJobRunOrBuilder(); /** + * + * *
    * Output only. Information specific to a verify `JobRun`.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the verifyJobRun field is set. */ boolean hasVerifyJobRun(); /** + * + * *
    * Output only. Information specific to a verify `JobRun`.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The verifyJobRun. */ com.google.cloud.deploy.v1.VerifyJobRun getVerifyJobRun(); /** + * + * *
    * Output only. Information specific to a verify `JobRun`.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.VerifyJobRunOrBuilder getVerifyJobRunOrBuilder(); /** + * + * *
    * Output only. Information specific to a predeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the predeployJobRun field is set. */ boolean hasPredeployJobRun(); /** + * + * *
    * Output only. Information specific to a predeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The predeployJobRun. */ com.google.cloud.deploy.v1.PredeployJobRun getPredeployJobRun(); /** + * + * *
    * Output only. Information specific to a predeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.PredeployJobRunOrBuilder getPredeployJobRunOrBuilder(); /** + * + * *
    * Output only. Information specific to a postdeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postdeployJobRun field is set. */ boolean hasPostdeployJobRun(); /** + * + * *
    * Output only. Information specific to a postdeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postdeployJobRun. */ com.google.cloud.deploy.v1.PostdeployJobRun getPostdeployJobRun(); /** + * + * *
    * Output only. Information specific to a postdeploy `JobRun`.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder getPostdeployJobRunOrBuilder(); /** + * + * *
    * Output only. Information specific to a createChildRollout `JobRun`.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createChildRolloutJobRun field is set. */ boolean hasCreateChildRolloutJobRun(); /** + * + * *
    * Output only. Information specific to a createChildRollout `JobRun`.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createChildRolloutJobRun. */ com.google.cloud.deploy.v1.CreateChildRolloutJobRun getCreateChildRolloutJobRun(); /** + * + * *
    * Output only. Information specific to a createChildRollout `JobRun`.
    * 
* - * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder getCreateChildRolloutJobRunOrBuilder(); + com.google.cloud.deploy.v1.CreateChildRolloutJobRunOrBuilder + getCreateChildRolloutJobRunOrBuilder(); /** + * + * *
    * Output only. Information specific to an advanceChildRollout `JobRun`
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the advanceChildRolloutJobRun field is set. */ boolean hasAdvanceChildRolloutJobRun(); /** + * + * *
    * Output only. Information specific to an advanceChildRollout `JobRun`
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The advanceChildRolloutJobRun. */ com.google.cloud.deploy.v1.AdvanceChildRolloutJobRun getAdvanceChildRolloutJobRun(); /** + * + * *
    * Output only. Information specific to an advanceChildRollout `JobRun`
    * 
* - * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder getAdvanceChildRolloutJobRunOrBuilder(); + com.google.cloud.deploy.v1.AdvanceChildRolloutJobRunOrBuilder + getAdvanceChildRolloutJobRunOrBuilder(); /** + * + * *
    * Output only. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -359,10 +526,13 @@ public interface JobRunOrBuilder extends
    * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Output only. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -370,10 +540,10 @@ public interface JobRunOrBuilder extends
    * 
* * string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); com.google.cloud.deploy.v1.JobRun.JobRunCase getJobRunCase(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java index 7da6c16dfcb7..ddee88f76c20 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java @@ -1,147 +1,197 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * KubernetesConfig contains the Kubernetes runtime configuration.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.KubernetesConfig} */ -public final class KubernetesConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class KubernetesConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.KubernetesConfig) KubernetesConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KubernetesConfig.newBuilder() to construct. private KubernetesConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KubernetesConfig() { - } + + private KubernetesConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new KubernetesConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.KubernetesConfig.class, com.google.cloud.deploy.v1.KubernetesConfig.Builder.class); + com.google.cloud.deploy.v1.KubernetesConfig.class, + com.google.cloud.deploy.v1.KubernetesConfig.Builder.class); } - public interface GatewayServiceMeshOrBuilder extends + public interface GatewayServiceMeshOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Name of the Gateway API HTTPRoute.
      * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The httpRoute. */ java.lang.String getHttpRoute(); /** + * + * *
      * Required. Name of the Gateway API HTTPRoute.
      * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for httpRoute. */ - com.google.protobuf.ByteString - getHttpRouteBytes(); + com.google.protobuf.ByteString getHttpRouteBytes(); /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The service. */ java.lang.String getService(); /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified HTTPRoute and Service.
      * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployment. */ java.lang.String getDeployment(); /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified HTTPRoute and Service.
      * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployment. */ - com.google.protobuf.ByteString - getDeploymentBytes(); + com.google.protobuf.ByteString getDeploymentBytes(); /** + * + * *
      * Optional. The time to wait for route updates to propagate. The maximum
      * configurable time is 3 hours, in seconds format. If unspecified, there is
      * no wait time.
      * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeUpdateWaitTime field is set. */ boolean hasRouteUpdateWaitTime(); /** + * + * *
      * Optional. The time to wait for route updates to propagate. The maximum
      * configurable time is 3 hours, in seconds format. If unspecified, there is
      * no wait time.
      * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeUpdateWaitTime. */ com.google.protobuf.Duration getRouteUpdateWaitTime(); /** + * + * *
      * Optional. The time to wait for route updates to propagate. The maximum
      * configurable time is 3 hours, in seconds format. If unspecified, there is
      * no wait time.
      * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder(); /** + * + * *
      * Optional. The amount of time to migrate traffic back from the canary
      * Service to the original Service during the stable phase deployment. If
@@ -149,11 +199,16 @@ public interface GatewayServiceMeshOrBuilder extends
      * cutback time.
      * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the stableCutbackDuration field is set. */ boolean hasStableCutbackDuration(); /** + * + * *
      * Optional. The amount of time to migrate traffic back from the canary
      * Service to the original Service during the stable phase deployment. If
@@ -161,11 +216,16 @@ public interface GatewayServiceMeshOrBuilder extends
      * cutback time.
      * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The stableCutbackDuration. */ com.google.protobuf.Duration getStableCutbackDuration(); /** + * + * *
      * Optional. The amount of time to migrate traffic back from the canary
      * Service to the original Service during the stable phase deployment. If
@@ -173,26 +233,31 @@ public interface GatewayServiceMeshOrBuilder extends
      * cutback time.
      * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getStableCutbackDurationOrBuilder(); } /** + * + * *
    * Information about the Kubernetes Gateway API service mesh configuration.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh} */ - public static final class GatewayServiceMesh extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GatewayServiceMesh extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) GatewayServiceMeshOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GatewayServiceMesh.newBuilder() to construct. private GatewayServiceMesh(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GatewayServiceMesh() { httpRoute_ = ""; service_ = ""; @@ -201,33 +266,38 @@ private GatewayServiceMesh() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GatewayServiceMesh(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.class, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder.class); + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.class, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder.class); } public static final int HTTP_ROUTE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object httpRoute_ = ""; /** + * + * *
      * Required. Name of the Gateway API HTTPRoute.
      * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The httpRoute. */ @java.lang.Override @@ -236,29 +306,29 @@ public java.lang.String getHttpRoute() { 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(); httpRoute_ = s; return s; } } /** + * + * *
      * Required. Name of the Gateway API HTTPRoute.
      * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for httpRoute. */ @java.lang.Override - public com.google.protobuf.ByteString - getHttpRouteBytes() { + public com.google.protobuf.ByteString getHttpRouteBytes() { java.lang.Object ref = httpRoute_; 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); httpRoute_ = b; return b; } else { @@ -267,14 +337,18 @@ public java.lang.String getHttpRoute() { } public static final int SERVICE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object service_ = ""; /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The service. */ @java.lang.Override @@ -283,29 +357,29 @@ public java.lang.String getService() { 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(); service_ = s; return s; } } /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -314,15 +388,19 @@ public java.lang.String getService() { } public static final int DEPLOYMENT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object deployment_ = ""; /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified HTTPRoute and Service.
      * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployment. */ @java.lang.Override @@ -331,30 +409,30 @@ public java.lang.String getDeployment() { 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(); deployment_ = s; return s; } } /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified HTTPRoute and Service.
      * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployment. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentBytes() { + public com.google.protobuf.ByteString getDeploymentBytes() { java.lang.Object ref = deployment_; 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); deployment_ = b; return b; } else { @@ -365,13 +443,18 @@ public java.lang.String getDeployment() { public static final int ROUTE_UPDATE_WAIT_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Duration routeUpdateWaitTime_; /** + * + * *
      * Optional. The time to wait for route updates to propagate. The maximum
      * configurable time is 3 hours, in seconds format. If unspecified, there is
      * no wait time.
      * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeUpdateWaitTime field is set. */ @java.lang.Override @@ -379,36 +462,51 @@ public boolean hasRouteUpdateWaitTime() { return routeUpdateWaitTime_ != null; } /** + * + * *
      * Optional. The time to wait for route updates to propagate. The maximum
      * configurable time is 3 hours, in seconds format. If unspecified, there is
      * no wait time.
      * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeUpdateWaitTime. */ @java.lang.Override public com.google.protobuf.Duration getRouteUpdateWaitTime() { - return routeUpdateWaitTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : routeUpdateWaitTime_; + return routeUpdateWaitTime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : routeUpdateWaitTime_; } /** + * + * *
      * Optional. The time to wait for route updates to propagate. The maximum
      * configurable time is 3 hours, in seconds format. If unspecified, there is
      * no wait time.
      * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder() { - return routeUpdateWaitTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : routeUpdateWaitTime_; + return routeUpdateWaitTime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : routeUpdateWaitTime_; } public static final int STABLE_CUTBACK_DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration stableCutbackDuration_; /** + * + * *
      * Optional. The amount of time to migrate traffic back from the canary
      * Service to the original Service during the stable phase deployment. If
@@ -416,7 +514,10 @@ public com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder() {
      * cutback time.
      * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the stableCutbackDuration field is set. */ @java.lang.Override @@ -424,6 +525,8 @@ public boolean hasStableCutbackDuration() { return stableCutbackDuration_ != null; } /** + * + * *
      * Optional. The amount of time to migrate traffic back from the canary
      * Service to the original Service during the stable phase deployment. If
@@ -431,14 +534,21 @@ public boolean hasStableCutbackDuration() {
      * cutback time.
      * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The stableCutbackDuration. */ @java.lang.Override public com.google.protobuf.Duration getStableCutbackDuration() { - return stableCutbackDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : stableCutbackDuration_; + return stableCutbackDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : stableCutbackDuration_; } /** + * + * *
      * Optional. The amount of time to migrate traffic back from the canary
      * Service to the original Service during the stable phase deployment. If
@@ -446,14 +556,19 @@ public com.google.protobuf.Duration getStableCutbackDuration() {
      * cutback time.
      * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getStableCutbackDurationOrBuilder() { - return stableCutbackDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : stableCutbackDuration_; + return stableCutbackDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : stableCutbackDuration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -465,8 +580,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(httpRoute_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, httpRoute_); } @@ -501,12 +615,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deployment_); } if (routeUpdateWaitTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRouteUpdateWaitTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRouteUpdateWaitTime()); } if (stableCutbackDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getStableCutbackDuration()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStableCutbackDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -516,28 +630,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.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh)) { return super.equals(obj); } - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh other = (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) obj; + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh other = + (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) obj; - if (!getHttpRoute() - .equals(other.getHttpRoute())) return false; - if (!getService() - .equals(other.getService())) return false; - if (!getDeployment() - .equals(other.getDeployment())) return false; + if (!getHttpRoute().equals(other.getHttpRoute())) return false; + if (!getService().equals(other.getService())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; if (hasRouteUpdateWaitTime() != other.hasRouteUpdateWaitTime()) return false; if (hasRouteUpdateWaitTime()) { - if (!getRouteUpdateWaitTime() - .equals(other.getRouteUpdateWaitTime())) return false; + if (!getRouteUpdateWaitTime().equals(other.getRouteUpdateWaitTime())) return false; } if (hasStableCutbackDuration() != other.hasStableCutbackDuration()) return false; if (hasStableCutbackDuration()) { - if (!getStableCutbackDuration() - .equals(other.getStableCutbackDuration())) return false; + if (!getStableCutbackDuration().equals(other.getStableCutbackDuration())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -570,89 +680,94 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh 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.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh 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 @@ -662,39 +777,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information about the Kubernetes Gateway API service mesh configuration.
      * 
* * Protobuf type {@code google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh} */ - 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.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.class, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder.class); + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.class, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder.class); } // Construct using com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -716,13 +833,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; } @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh + getDefaultInstanceForType() { return com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance(); } @@ -737,13 +855,17 @@ public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh build() { @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh buildPartial() { - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh result = new com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh result = + new com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh result) { + private void buildPartial0( + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.httpRoute_ = httpRoute_; @@ -755,14 +877,16 @@ private void buildPartial0(com.google.cloud.deploy.v1.KubernetesConfig.GatewaySe result.deployment_ = deployment_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.routeUpdateWaitTime_ = routeUpdateWaitTimeBuilder_ == null - ? routeUpdateWaitTime_ - : routeUpdateWaitTimeBuilder_.build(); + result.routeUpdateWaitTime_ = + routeUpdateWaitTimeBuilder_ == null + ? routeUpdateWaitTime_ + : routeUpdateWaitTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.stableCutbackDuration_ = stableCutbackDurationBuilder_ == null - ? stableCutbackDuration_ - : stableCutbackDurationBuilder_.build(); + result.stableCutbackDuration_ = + stableCutbackDurationBuilder_ == null + ? stableCutbackDuration_ + : stableCutbackDurationBuilder_.build(); } } @@ -770,46 +894,52 @@ private void buildPartial0(com.google.cloud.deploy.v1.KubernetesConfig.GatewaySe 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.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) { - return mergeFrom((com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh)other); + return mergeFrom((com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh other) { - if (other == com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh other) { + if (other + == com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance()) + return this; if (!other.getHttpRoute().isEmpty()) { httpRoute_ = other.httpRoute_; bitField0_ |= 0x00000001; @@ -857,41 +987,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - httpRoute_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - service_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - deployment_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getRouteUpdateWaitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getStableCutbackDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + httpRoute_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + service_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + deployment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getRouteUpdateWaitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage( + getStableCutbackDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -901,22 +1035,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object httpRoute_ = ""; /** + * + * *
        * Required. Name of the Gateway API HTTPRoute.
        * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The httpRoute. */ public java.lang.String getHttpRoute() { java.lang.Object ref = httpRoute_; 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(); httpRoute_ = s; return s; @@ -925,20 +1062,21 @@ public java.lang.String getHttpRoute() { } } /** + * + * *
        * Required. Name of the Gateway API HTTPRoute.
        * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for httpRoute. */ - public com.google.protobuf.ByteString - getHttpRouteBytes() { + public com.google.protobuf.ByteString getHttpRouteBytes() { java.lang.Object ref = httpRoute_; 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); httpRoute_ = b; return b; } else { @@ -946,28 +1084,35 @@ public java.lang.String getHttpRoute() { } } /** + * + * *
        * Required. Name of the Gateway API HTTPRoute.
        * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The httpRoute to set. * @return This builder for chaining. */ - public Builder setHttpRoute( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHttpRoute(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } httpRoute_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. Name of the Gateway API HTTPRoute.
        * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearHttpRoute() { @@ -977,17 +1122,21 @@ public Builder clearHttpRoute() { return this; } /** + * + * *
        * Required. Name of the Gateway API HTTPRoute.
        * 
* * string http_route = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for httpRoute to set. * @return This builder for chaining. */ - public Builder setHttpRouteBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHttpRouteBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); httpRoute_ = value; bitField0_ |= 0x00000001; @@ -997,18 +1146,20 @@ public Builder setHttpRouteBytes( private java.lang.Object service_ = ""; /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; 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(); service_ = s; return s; @@ -1017,20 +1168,21 @@ public java.lang.String getService() { } } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -1038,28 +1190,35 @@ public java.lang.String getService() { } } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } service_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearService() { @@ -1069,17 +1228,21 @@ public Builder clearService() { return this; } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); service_ = value; bitField0_ |= 0x00000002; @@ -1089,19 +1252,21 @@ public Builder setServiceBytes( private java.lang.Object deployment_ = ""; /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified HTTPRoute and Service.
        * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployment. */ public java.lang.String getDeployment() { java.lang.Object ref = deployment_; 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(); deployment_ = s; return s; @@ -1110,21 +1275,22 @@ public java.lang.String getDeployment() { } } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified HTTPRoute and Service.
        * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployment. */ - public com.google.protobuf.ByteString - getDeploymentBytes() { + public com.google.protobuf.ByteString getDeploymentBytes() { java.lang.Object ref = deployment_; 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); deployment_ = b; return b; } else { @@ -1132,30 +1298,37 @@ public java.lang.String getDeployment() { } } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified HTTPRoute and Service.
        * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The deployment to set. * @return This builder for chaining. */ - public Builder setDeployment( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeployment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deployment_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified HTTPRoute and Service.
        * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDeployment() { @@ -1165,18 +1338,22 @@ public Builder clearDeployment() { return this; } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified HTTPRoute and Service.
        * 
* * string deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for deployment to set. * @return This builder for chaining. */ - public Builder setDeploymentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeploymentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deployment_ = value; bitField0_ |= 0x00000004; @@ -1186,45 +1363,64 @@ public Builder setDeploymentBytes( private com.google.protobuf.Duration routeUpdateWaitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> routeUpdateWaitTimeBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + routeUpdateWaitTimeBuilder_; /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeUpdateWaitTime field is set. */ public boolean hasRouteUpdateWaitTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeUpdateWaitTime. */ public com.google.protobuf.Duration getRouteUpdateWaitTime() { if (routeUpdateWaitTimeBuilder_ == null) { - return routeUpdateWaitTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : routeUpdateWaitTime_; + return routeUpdateWaitTime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : routeUpdateWaitTime_; } else { return routeUpdateWaitTimeBuilder_.getMessage(); } } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteUpdateWaitTime(com.google.protobuf.Duration value) { if (routeUpdateWaitTimeBuilder_ == null) { @@ -1240,16 +1436,19 @@ public Builder setRouteUpdateWaitTime(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setRouteUpdateWaitTime( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setRouteUpdateWaitTime(com.google.protobuf.Duration.Builder builderForValue) { if (routeUpdateWaitTimeBuilder_ == null) { routeUpdateWaitTime_ = builderForValue.build(); } else { @@ -1260,19 +1459,23 @@ public Builder setRouteUpdateWaitTime( return this; } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRouteUpdateWaitTime(com.google.protobuf.Duration value) { if (routeUpdateWaitTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - routeUpdateWaitTime_ != null && - routeUpdateWaitTime_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && routeUpdateWaitTime_ != null + && routeUpdateWaitTime_ != com.google.protobuf.Duration.getDefaultInstance()) { getRouteUpdateWaitTimeBuilder().mergeFrom(value); } else { routeUpdateWaitTime_ = value; @@ -1285,13 +1488,17 @@ public Builder mergeRouteUpdateWaitTime(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRouteUpdateWaitTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1304,13 +1511,17 @@ public Builder clearRouteUpdateWaitTime() { return this; } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getRouteUpdateWaitTimeBuilder() { bitField0_ |= 0x00000008; @@ -1318,40 +1529,52 @@ public com.google.protobuf.Duration.Builder getRouteUpdateWaitTimeBuilder() { return getRouteUpdateWaitTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder() { if (routeUpdateWaitTimeBuilder_ != null) { return routeUpdateWaitTimeBuilder_.getMessageOrBuilder(); } else { - return routeUpdateWaitTime_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : routeUpdateWaitTime_; + return routeUpdateWaitTime_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : routeUpdateWaitTime_; } } /** + * + * *
        * Optional. The time to wait for route updates to propagate. The maximum
        * configurable time is 3 hours, in seconds format. If unspecified, there is
        * no wait time.
        * 
* - * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getRouteUpdateWaitTimeFieldBuilder() { if (routeUpdateWaitTimeBuilder_ == null) { - routeUpdateWaitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getRouteUpdateWaitTime(), - getParentForChildren(), - isClean()); + routeUpdateWaitTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getRouteUpdateWaitTime(), getParentForChildren(), isClean()); routeUpdateWaitTime_ = null; } return routeUpdateWaitTimeBuilder_; @@ -1359,8 +1582,13 @@ public com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder() { private com.google.protobuf.Duration stableCutbackDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> stableCutbackDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + stableCutbackDurationBuilder_; /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1368,13 +1596,18 @@ public com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder() {
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the stableCutbackDuration field is set. */ public boolean hasStableCutbackDuration() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1382,17 +1615,24 @@ public boolean hasStableCutbackDuration() {
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The stableCutbackDuration. */ public com.google.protobuf.Duration getStableCutbackDuration() { if (stableCutbackDurationBuilder_ == null) { - return stableCutbackDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : stableCutbackDuration_; + return stableCutbackDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : stableCutbackDuration_; } else { return stableCutbackDurationBuilder_.getMessage(); } } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1400,7 +1640,9 @@ public com.google.protobuf.Duration getStableCutbackDuration() {
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStableCutbackDuration(com.google.protobuf.Duration value) { if (stableCutbackDurationBuilder_ == null) { @@ -1416,6 +1658,8 @@ public Builder setStableCutbackDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1423,7 +1667,9 @@ public Builder setStableCutbackDuration(com.google.protobuf.Duration value) {
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStableCutbackDuration( com.google.protobuf.Duration.Builder builderForValue) { @@ -1437,6 +1683,8 @@ public Builder setStableCutbackDuration( return this; } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1444,13 +1692,15 @@ public Builder setStableCutbackDuration(
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStableCutbackDuration(com.google.protobuf.Duration value) { if (stableCutbackDurationBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - stableCutbackDuration_ != null && - stableCutbackDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && stableCutbackDuration_ != null + && stableCutbackDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getStableCutbackDurationBuilder().mergeFrom(value); } else { stableCutbackDuration_ = value; @@ -1463,6 +1713,8 @@ public Builder mergeStableCutbackDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1470,7 +1722,9 @@ public Builder mergeStableCutbackDuration(com.google.protobuf.Duration value) {
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStableCutbackDuration() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1483,6 +1737,8 @@ public Builder clearStableCutbackDuration() { return this; } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1490,7 +1746,9 @@ public Builder clearStableCutbackDuration() {
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getStableCutbackDurationBuilder() { bitField0_ |= 0x00000010; @@ -1498,6 +1756,8 @@ public com.google.protobuf.Duration.Builder getStableCutbackDurationBuilder() { return getStableCutbackDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1505,17 +1765,22 @@ public com.google.protobuf.Duration.Builder getStableCutbackDurationBuilder() {
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getStableCutbackDurationOrBuilder() { if (stableCutbackDurationBuilder_ != null) { return stableCutbackDurationBuilder_.getMessageOrBuilder(); } else { - return stableCutbackDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : stableCutbackDuration_; + return stableCutbackDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : stableCutbackDuration_; } } /** + * + * *
        * Optional. The amount of time to migrate traffic back from the canary
        * Service to the original Service during the stable phase deployment. If
@@ -1523,21 +1788,27 @@ public com.google.protobuf.DurationOrBuilder getStableCutbackDurationOrBuilder()
        * cutback time.
        * 
* - * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getStableCutbackDurationFieldBuilder() { if (stableCutbackDurationBuilder_ == null) { - stableCutbackDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getStableCutbackDuration(), - getParentForChildren(), - isClean()); + stableCutbackDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getStableCutbackDuration(), getParentForChildren(), isClean()); stableCutbackDuration_ = null; } return stableCutbackDurationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1550,41 +1821,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) - private static final com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh DEFAULT_INSTANCE; + private static final com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh(); } - public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getDefaultInstance() { + public static com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GatewayServiceMesh parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GatewayServiceMesh parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1596,59 +1870,72 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ServiceNetworkingOrBuilder extends + public interface ServiceNetworkingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The service. */ java.lang.String getService(); /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified Service.
      * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployment. */ java.lang.String getDeployment(); /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified Service.
      * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployment. */ - com.google.protobuf.ByteString - getDeploymentBytes(); + com.google.protobuf.ByteString getDeploymentBytes(); /** + * + * *
      * Optional. Whether to disable Pod overprovisioning. If Pod
      * overprovisioning is disabled then Cloud Deploy will limit the number of
@@ -1657,26 +1944,30 @@ public interface ServiceNetworkingOrBuilder extends
      * 
* * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disablePodOverprovisioning. */ boolean getDisablePodOverprovisioning(); } /** + * + * *
    * Information about the Kubernetes Service networking configuration.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking} */ - public static final class ServiceNetworking extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ServiceNetworking extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) ServiceNetworkingOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ServiceNetworking.newBuilder() to construct. private ServiceNetworking(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ServiceNetworking() { service_ = ""; deployment_ = ""; @@ -1684,33 +1975,38 @@ private ServiceNetworking() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServiceNetworking(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.class, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder.class); + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.class, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object service_ = ""; /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The service. */ @java.lang.Override @@ -1719,29 +2015,29 @@ public java.lang.String getService() { 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(); service_ = s; return s; } } /** + * + * *
      * Required. Name of the Kubernetes Service.
      * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -1750,15 +2046,19 @@ public java.lang.String getService() { } public static final int DEPLOYMENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object deployment_ = ""; /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified Service.
      * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployment. */ @java.lang.Override @@ -1767,30 +2067,30 @@ public java.lang.String getDeployment() { 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(); deployment_ = s; return s; } } /** + * + * *
      * Required. Name of the Kubernetes Deployment whose traffic is managed by
      * the specified Service.
      * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployment. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentBytes() { + public com.google.protobuf.ByteString getDeploymentBytes() { java.lang.Object ref = deployment_; 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); deployment_ = b; return b; } else { @@ -1801,6 +2101,8 @@ public java.lang.String getDeployment() { public static final int DISABLE_POD_OVERPROVISIONING_FIELD_NUMBER = 3; private boolean disablePodOverprovisioning_ = false; /** + * + * *
      * Optional. Whether to disable Pod overprovisioning. If Pod
      * overprovisioning is disabled then Cloud Deploy will limit the number of
@@ -1809,6 +2111,7 @@ public java.lang.String getDeployment() {
      * 
* * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disablePodOverprovisioning. */ @java.lang.Override @@ -1817,6 +2120,7 @@ public boolean getDisablePodOverprovisioning() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1828,8 +2132,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(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -1855,8 +2158,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deployment_); } if (disablePodOverprovisioning_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, disablePodOverprovisioning_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, disablePodOverprovisioning_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1866,19 +2169,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.cloud.deploy.v1.KubernetesConfig.ServiceNetworking)) { return super.equals(obj); } - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking other = (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) obj; + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking other = + (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) obj; - if (!getService() - .equals(other.getService())) return false; - if (!getDeployment() - .equals(other.getDeployment())) return false; - if (getDisablePodOverprovisioning() - != other.getDisablePodOverprovisioning()) return false; + if (!getService().equals(other.getService())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; + if (getDisablePodOverprovisioning() != other.getDisablePodOverprovisioning()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1895,97 +2196,102 @@ public int hashCode() { hash = (37 * hash) + DEPLOYMENT_FIELD_NUMBER; hash = (53 * hash) + getDeployment().hashCode(); hash = (37 * hash) + DISABLE_POD_OVERPROVISIONING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisablePodOverprovisioning()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisablePodOverprovisioning()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking 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.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking 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 @@ -1995,39 +2301,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information about the Kubernetes Service networking configuration.
      * 
* * Protobuf type {@code google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking} */ - 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.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.class, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder.class); + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.class, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder.class); } // Construct using com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2039,13 +2347,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; } @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking + getDefaultInstanceForType() { return com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance(); } @@ -2060,13 +2369,17 @@ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking build() { @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking buildPartial() { - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking result = new com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking result = + new com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking result) { + private void buildPartial0( + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.service_ = service_; @@ -2083,46 +2396,52 @@ private void buildPartial0(com.google.cloud.deploy.v1.KubernetesConfig.ServiceNe 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.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) { - return mergeFrom((com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking)other); + return mergeFrom((com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking other) { - if (other == com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking other) { + if (other + == com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance()) + return this; if (!other.getService().isEmpty()) { service_ = other.service_; bitField0_ |= 0x00000001; @@ -2162,27 +2481,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - service_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - deployment_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - disablePodOverprovisioning_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + service_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + deployment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + disablePodOverprovisioning_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2192,22 +2515,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object service_ = ""; /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; 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(); service_ = s; return s; @@ -2216,20 +2542,21 @@ public java.lang.String getService() { } } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; 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); service_ = b; return b; } else { @@ -2237,28 +2564,35 @@ public java.lang.String getService() { } } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } service_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearService() { @@ -2268,17 +2602,21 @@ public Builder clearService() { return this; } /** + * + * *
        * Required. Name of the Kubernetes Service.
        * 
* * string service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); service_ = value; bitField0_ |= 0x00000001; @@ -2288,19 +2626,21 @@ public Builder setServiceBytes( private java.lang.Object deployment_ = ""; /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified Service.
        * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deployment. */ public java.lang.String getDeployment() { java.lang.Object ref = deployment_; 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(); deployment_ = s; return s; @@ -2309,21 +2649,22 @@ public java.lang.String getDeployment() { } } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified Service.
        * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deployment. */ - public com.google.protobuf.ByteString - getDeploymentBytes() { + public com.google.protobuf.ByteString getDeploymentBytes() { java.lang.Object ref = deployment_; 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); deployment_ = b; return b; } else { @@ -2331,30 +2672,37 @@ public java.lang.String getDeployment() { } } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified Service.
        * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The deployment to set. * @return This builder for chaining. */ - public Builder setDeployment( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeployment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deployment_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified Service.
        * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDeployment() { @@ -2364,18 +2712,22 @@ public Builder clearDeployment() { return this; } /** + * + * *
        * Required. Name of the Kubernetes Deployment whose traffic is managed by
        * the specified Service.
        * 
* * string deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for deployment to set. * @return This builder for chaining. */ - public Builder setDeploymentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeploymentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deployment_ = value; bitField0_ |= 0x00000002; @@ -2383,8 +2735,10 @@ public Builder setDeploymentBytes( return this; } - private boolean disablePodOverprovisioning_ ; + private boolean disablePodOverprovisioning_; /** + * + * *
        * Optional. Whether to disable Pod overprovisioning. If Pod
        * overprovisioning is disabled then Cloud Deploy will limit the number of
@@ -2392,7 +2746,9 @@ public Builder setDeploymentBytes(
        * Deployment has on the cluster.
        * 
* - * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The disablePodOverprovisioning. */ @java.lang.Override @@ -2400,6 +2756,8 @@ public boolean getDisablePodOverprovisioning() { return disablePodOverprovisioning_; } /** + * + * *
        * Optional. Whether to disable Pod overprovisioning. If Pod
        * overprovisioning is disabled then Cloud Deploy will limit the number of
@@ -2407,7 +2765,9 @@ public boolean getDisablePodOverprovisioning() {
        * Deployment has on the cluster.
        * 
* - * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The disablePodOverprovisioning to set. * @return This builder for chaining. */ @@ -2419,6 +2779,8 @@ public Builder setDisablePodOverprovisioning(boolean value) { return this; } /** + * + * *
        * Optional. Whether to disable Pod overprovisioning. If Pod
        * overprovisioning is disabled then Cloud Deploy will limit the number of
@@ -2426,7 +2788,9 @@ public Builder setDisablePodOverprovisioning(boolean value) {
        * Deployment has on the cluster.
        * 
* - * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearDisablePodOverprovisioning() { @@ -2435,6 +2799,7 @@ public Builder clearDisablePodOverprovisioning() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2447,41 +2812,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) - private static final com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking DEFAULT_INSTANCE; + private static final com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking(); } - public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getDefaultInstance() { + public static com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceNetworking parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceNetworking parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2493,22 +2861,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int serviceDefinitionCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object serviceDefinition_; + public enum ServiceDefinitionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GATEWAY_SERVICE_MESH(1), SERVICE_NETWORKING(2), SERVICEDEFINITION_NOT_SET(0); private final int value; + private ServiceDefinitionCase(int value) { this.value = value; } @@ -2524,30 +2896,37 @@ public static ServiceDefinitionCase valueOf(int value) { public static ServiceDefinitionCase forNumber(int value) { switch (value) { - case 1: return GATEWAY_SERVICE_MESH; - case 2: return SERVICE_NETWORKING; - case 0: return SERVICEDEFINITION_NOT_SET; - default: return null; + case 1: + return GATEWAY_SERVICE_MESH; + case 2: + return SERVICE_NETWORKING; + case 0: + return SERVICEDEFINITION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ServiceDefinitionCase - getServiceDefinitionCase() { - return ServiceDefinitionCase.forNumber( - serviceDefinitionCase_); + public ServiceDefinitionCase getServiceDefinitionCase() { + return ServiceDefinitionCase.forNumber(serviceDefinitionCase_); } public static final int GATEWAY_SERVICE_MESH_FIELD_NUMBER = 1; /** + * + * *
    * Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * * @return Whether the gatewayServiceMesh field is set. */ @java.lang.Override @@ -2555,42 +2934,53 @@ public boolean hasGatewayServiceMesh() { return serviceDefinitionCase_ == 1; } /** + * + * *
    * Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * * @return The gatewayServiceMesh. */ @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getGatewayServiceMesh() { if (serviceDefinitionCase_ == 1) { - return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_; + return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_; } return com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance(); } /** + * + * *
    * Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder getGatewayServiceMeshOrBuilder() { + public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder + getGatewayServiceMeshOrBuilder() { if (serviceDefinitionCase_ == 1) { - return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_; + return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_; } return com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance(); } public static final int SERVICE_NETWORKING_FIELD_NUMBER = 2; /** + * + * *
    * Kubernetes Service networking configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * * @return Whether the serviceNetworking field is set. */ @java.lang.Override @@ -2598,21 +2988,26 @@ public boolean hasServiceNetworking() { return serviceDefinitionCase_ == 2; } /** + * + * *
    * Kubernetes Service networking configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * * @return The serviceNetworking. */ @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getServiceNetworking() { if (serviceDefinitionCase_ == 2) { - return (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_; + return (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_; } return com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance(); } /** + * + * *
    * Kubernetes Service networking configuration.
    * 
@@ -2620,14 +3015,16 @@ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getServiceN * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; */ @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder getServiceNetworkingOrBuilder() { + public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder + getServiceNetworkingOrBuilder() { if (serviceDefinitionCase_ == 2) { - return (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_; + return (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_; } return com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2639,13 +3036,14 @@ 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 (serviceDefinitionCase_ == 1) { - output.writeMessage(1, (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_); + output.writeMessage( + 1, (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_); } if (serviceDefinitionCase_ == 2) { - output.writeMessage(2, (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_); + output.writeMessage( + 2, (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_); } getUnknownFields().writeTo(output); } @@ -2657,12 +3055,16 @@ public int getSerializedSize() { size = 0; if (serviceDefinitionCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_); } if (serviceDefinitionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2672,22 +3074,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.cloud.deploy.v1.KubernetesConfig)) { return super.equals(obj); } - com.google.cloud.deploy.v1.KubernetesConfig other = (com.google.cloud.deploy.v1.KubernetesConfig) obj; + com.google.cloud.deploy.v1.KubernetesConfig other = + (com.google.cloud.deploy.v1.KubernetesConfig) obj; if (!getServiceDefinitionCase().equals(other.getServiceDefinitionCase())) return false; switch (serviceDefinitionCase_) { case 1: - if (!getGatewayServiceMesh() - .equals(other.getGatewayServiceMesh())) return false; + if (!getGatewayServiceMesh().equals(other.getGatewayServiceMesh())) return false; break; case 2: - if (!getServiceNetworking() - .equals(other.getServiceNetworking())) return false; + if (!getServiceNetworking().equals(other.getServiceNetworking())) return false; break; case 0: default: @@ -2720,132 +3121,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.KubernetesConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.KubernetesConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.KubernetesConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.KubernetesConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.KubernetesConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * KubernetesConfig contains the Kubernetes runtime configuration.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.KubernetesConfig} */ - 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.cloud.deploy.v1.KubernetesConfig) com.google.cloud.deploy.v1.KubernetesConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.KubernetesConfig.class, com.google.cloud.deploy.v1.KubernetesConfig.Builder.class); + com.google.cloud.deploy.v1.KubernetesConfig.class, + com.google.cloud.deploy.v1.KubernetesConfig.Builder.class); } // Construct using com.google.cloud.deploy.v1.KubernetesConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2862,9 +3267,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; } @java.lang.Override @@ -2883,8 +3288,11 @@ public com.google.cloud.deploy.v1.KubernetesConfig build() { @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig buildPartial() { - com.google.cloud.deploy.v1.KubernetesConfig result = new com.google.cloud.deploy.v1.KubernetesConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.KubernetesConfig result = + new com.google.cloud.deploy.v1.KubernetesConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2897,12 +3305,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.KubernetesConfig result) { private void buildPartialOneofs(com.google.cloud.deploy.v1.KubernetesConfig result) { result.serviceDefinitionCase_ = serviceDefinitionCase_; result.serviceDefinition_ = this.serviceDefinition_; - if (serviceDefinitionCase_ == 1 && - gatewayServiceMeshBuilder_ != null) { + if (serviceDefinitionCase_ == 1 && gatewayServiceMeshBuilder_ != null) { result.serviceDefinition_ = gatewayServiceMeshBuilder_.build(); } - if (serviceDefinitionCase_ == 2 && - serviceNetworkingBuilder_ != null) { + if (serviceDefinitionCase_ == 2 && serviceNetworkingBuilder_ != null) { result.serviceDefinition_ = serviceNetworkingBuilder_.build(); } } @@ -2911,38 +3317,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.KubernetesConfig resu 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) { + 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) { + 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.cloud.deploy.v1.KubernetesConfig) { - return mergeFrom((com.google.cloud.deploy.v1.KubernetesConfig)other); + return mergeFrom((com.google.cloud.deploy.v1.KubernetesConfig) other); } else { super.mergeFrom(other); return this; @@ -2952,17 +3359,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.deploy.v1.KubernetesConfig other) { if (other == com.google.cloud.deploy.v1.KubernetesConfig.getDefaultInstance()) return this; switch (other.getServiceDefinitionCase()) { - case GATEWAY_SERVICE_MESH: { - mergeGatewayServiceMesh(other.getGatewayServiceMesh()); - break; - } - case SERVICE_NETWORKING: { - mergeServiceNetworking(other.getServiceNetworking()); - break; - } - case SERVICEDEFINITION_NOT_SET: { - break; - } + case GATEWAY_SERVICE_MESH: + { + mergeGatewayServiceMesh(other.getGatewayServiceMesh()); + break; + } + case SERVICE_NETWORKING: + { + mergeServiceNetworking(other.getServiceNetworking()); + break; + } + case SERVICEDEFINITION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2990,26 +3400,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGatewayServiceMeshFieldBuilder().getBuilder(), - extensionRegistry); - serviceDefinitionCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getServiceNetworkingFieldBuilder().getBuilder(), - extensionRegistry); - serviceDefinitionCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getGatewayServiceMeshFieldBuilder().getBuilder(), extensionRegistry); + serviceDefinitionCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getServiceNetworkingFieldBuilder().getBuilder(), extensionRegistry); + serviceDefinitionCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3019,12 +3430,12 @@ public Builder mergeFrom( } // finally return this; } + private int serviceDefinitionCase_ = 0; private java.lang.Object serviceDefinition_; - public ServiceDefinitionCase - getServiceDefinitionCase() { - return ServiceDefinitionCase.forNumber( - serviceDefinitionCase_); + + public ServiceDefinitionCase getServiceDefinitionCase() { + return ServiceDefinitionCase.forNumber(serviceDefinitionCase_); } public Builder clearServiceDefinition() { @@ -3037,13 +3448,20 @@ public Builder clearServiceDefinition() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder> gatewayServiceMeshBuilder_; + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder> + gatewayServiceMeshBuilder_; /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * * @return Whether the gatewayServiceMesh field is set. */ @java.lang.Override @@ -3051,18 +3469,23 @@ public boolean hasGatewayServiceMesh() { return serviceDefinitionCase_ == 1; } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * * @return The gatewayServiceMesh. */ @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getGatewayServiceMesh() { if (gatewayServiceMeshBuilder_ == null) { if (serviceDefinitionCase_ == 1) { - return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_; + return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) + serviceDefinition_; } return com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance(); } else { @@ -3073,13 +3496,17 @@ public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getGateway } } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ - public Builder setGatewayServiceMesh(com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh value) { + public Builder setGatewayServiceMesh( + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh value) { if (gatewayServiceMeshBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3093,11 +3520,14 @@ public Builder setGatewayServiceMesh(com.google.cloud.deploy.v1.KubernetesConfig return this; } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ public Builder setGatewayServiceMesh( com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder builderForValue) { @@ -3111,18 +3541,28 @@ public Builder setGatewayServiceMesh( return this; } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ - public Builder mergeGatewayServiceMesh(com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh value) { + public Builder mergeGatewayServiceMesh( + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh value) { if (gatewayServiceMeshBuilder_ == null) { - if (serviceDefinitionCase_ == 1 && - serviceDefinition_ != com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance()) { - serviceDefinition_ = com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.newBuilder((com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_) - .mergeFrom(value).buildPartial(); + if (serviceDefinitionCase_ == 1 + && serviceDefinition_ + != com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh + .getDefaultInstance()) { + serviceDefinition_ = + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.newBuilder( + (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) + serviceDefinition_) + .mergeFrom(value) + .buildPartial(); } else { serviceDefinition_ = value; } @@ -3138,11 +3578,14 @@ public Builder mergeGatewayServiceMesh(com.google.cloud.deploy.v1.KubernetesConf return this; } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ public Builder clearGatewayServiceMesh() { if (gatewayServiceMeshBuilder_ == null) { @@ -3161,49 +3604,67 @@ public Builder clearGatewayServiceMesh() { return this; } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ - public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder getGatewayServiceMeshBuilder() { + public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder + getGatewayServiceMeshBuilder() { return getGatewayServiceMeshFieldBuilder().getBuilder(); } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder getGatewayServiceMeshOrBuilder() { + public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder + getGatewayServiceMeshOrBuilder() { if ((serviceDefinitionCase_ == 1) && (gatewayServiceMeshBuilder_ != null)) { return gatewayServiceMeshBuilder_.getMessageOrBuilder(); } else { if (serviceDefinitionCase_ == 1) { - return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_; + return (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) + serviceDefinition_; } return com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance(); } } /** + * + * *
      * Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder> + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder> getGatewayServiceMeshFieldBuilder() { if (gatewayServiceMeshBuilder_ == null) { if (!(serviceDefinitionCase_ == 1)) { - serviceDefinition_ = com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance(); - } - gatewayServiceMeshBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder, com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder>( + serviceDefinition_ = + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.getDefaultInstance(); + } + gatewayServiceMeshBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder, + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder>( (com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh) serviceDefinition_, getParentForChildren(), isClean()); @@ -3215,13 +3676,20 @@ public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder g } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder> serviceNetworkingBuilder_; + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder> + serviceNetworkingBuilder_; /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * * @return Whether the serviceNetworking field is set. */ @java.lang.Override @@ -3229,11 +3697,15 @@ public boolean hasServiceNetworking() { return serviceDefinitionCase_ == 2; } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * * @return The serviceNetworking. */ @java.lang.Override @@ -3251,13 +3723,17 @@ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getServiceN } } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * */ - public Builder setServiceNetworking(com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking value) { + public Builder setServiceNetworking( + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking value) { if (serviceNetworkingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3271,11 +3747,14 @@ public Builder setServiceNetworking(com.google.cloud.deploy.v1.KubernetesConfig. return this; } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * */ public Builder setServiceNetworking( com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder builderForValue) { @@ -3289,18 +3768,28 @@ public Builder setServiceNetworking( return this; } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * */ - public Builder mergeServiceNetworking(com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking value) { + public Builder mergeServiceNetworking( + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking value) { if (serviceNetworkingBuilder_ == null) { - if (serviceDefinitionCase_ == 2 && - serviceDefinition_ != com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance()) { - serviceDefinition_ = com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.newBuilder((com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_) - .mergeFrom(value).buildPartial(); + if (serviceDefinitionCase_ == 2 + && serviceDefinition_ + != com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking + .getDefaultInstance()) { + serviceDefinition_ = + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.newBuilder( + (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) + serviceDefinition_) + .mergeFrom(value) + .buildPartial(); } else { serviceDefinition_ = value; } @@ -3316,11 +3805,14 @@ public Builder mergeServiceNetworking(com.google.cloud.deploy.v1.KubernetesConfi return this; } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * */ public Builder clearServiceNetworking() { if (serviceNetworkingBuilder_ == null) { @@ -3339,24 +3831,32 @@ public Builder clearServiceNetworking() { return this; } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * */ - public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder getServiceNetworkingBuilder() { + public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder + getServiceNetworkingBuilder() { return getServiceNetworkingFieldBuilder().getBuilder(); } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder getServiceNetworkingOrBuilder() { + public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder + getServiceNetworkingOrBuilder() { if ((serviceDefinitionCase_ == 2) && (serviceNetworkingBuilder_ != null)) { return serviceNetworkingBuilder_.getMessageOrBuilder(); } else { @@ -3367,21 +3867,30 @@ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder ge } } /** + * + * *
      * Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder> + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder> getServiceNetworkingFieldBuilder() { if (serviceNetworkingBuilder_ == null) { if (!(serviceDefinitionCase_ == 2)) { - serviceDefinition_ = com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance(); - } - serviceNetworkingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder, com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder>( + serviceDefinition_ = + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.getDefaultInstance(); + } + serviceNetworkingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder, + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder>( (com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking) serviceDefinition_, getParentForChildren(), isClean()); @@ -3391,9 +3900,9 @@ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder ge onChanged(); return serviceNetworkingBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3403,12 +3912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.KubernetesConfig) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.KubernetesConfig) private static final com.google.cloud.deploy.v1.KubernetesConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.KubernetesConfig(); } @@ -3417,27 +3926,27 @@ public static com.google.cloud.deploy.v1.KubernetesConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KubernetesConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KubernetesConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3452,6 +3961,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.KubernetesConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java index a213e776abda..b91e163b3dfe 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java @@ -1,65 +1,102 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface KubernetesConfigOrBuilder extends +public interface KubernetesConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.KubernetesConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * * @return Whether the gatewayServiceMesh field is set. */ boolean hasGatewayServiceMesh(); /** + * + * *
    * Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * * @return The gatewayServiceMesh. */ com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getGatewayServiceMesh(); /** + * + * *
    * Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * */ - com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder getGatewayServiceMeshOrBuilder(); + com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder + getGatewayServiceMeshOrBuilder(); /** + * + * *
    * Kubernetes Service networking configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * * @return Whether the serviceNetworking field is set. */ boolean hasServiceNetworking(); /** + * + * *
    * Kubernetes Service networking configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * * @return The serviceNetworking. */ com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getServiceNetworking(); /** + * + * *
    * Kubernetes Service networking configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; */ - com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder getServiceNetworkingOrBuilder(); + com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder + getServiceNetworkingOrBuilder(); com.google.cloud.deploy.v1.KubernetesConfig.ServiceDefinitionCase getServiceDefinitionCase(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequest.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequest.java index d3db45697638..00d03c96f543 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `ListAutomationRuns`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationRunsRequest} */ -public final class ListAutomationRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAutomationRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListAutomationRunsRequest) ListAutomationRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAutomationRunsRequest.newBuilder() to construct. private ListAutomationRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAutomationRunsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,35 +46,42 @@ private ListAutomationRunsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAutomationRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationRunsRequest.class, com.google.cloud.deploy.v1.ListAutomationRunsRequest.Builder.class); + com.google.cloud.deploy.v1.ListAutomationRunsRequest.class, + com.google.cloud.deploy.v1.ListAutomationRunsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automationRuns. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automationRuns. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -100,6 +127,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of automationRuns to return. The service may return
    * fewer than this value. If unspecified, at most 50 automationRuns will
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListAutomationRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,15 @@ 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; } } /** + * + * *
    * A page token, received from a previous `ListAutomationRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -153,16 +188,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @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 { @@ -171,15 +205,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filter automationRuns to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -188,30 +226,30 @@ 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; } } /** + * + * *
    * Filter automationRuns to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @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 { @@ -220,14 +258,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -236,29 +278,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -267,6 +309,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +321,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,8 +350,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -328,23 +369,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.cloud.deploy.v1.ListAutomationRunsRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListAutomationRunsRequest other = (com.google.cloud.deploy.v1.ListAutomationRunsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListAutomationRunsRequest other = + (com.google.cloud.deploy.v1.ListAutomationRunsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,131 +409,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListAutomationRunsRequest 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.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationRunsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListAutomationRunsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `ListAutomationRuns`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationRunsRequest} */ - 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.cloud.deploy.v1.ListAutomationRunsRequest) com.google.cloud.deploy.v1.ListAutomationRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationRunsRequest.class, com.google.cloud.deploy.v1.ListAutomationRunsRequest.Builder.class); + com.google.cloud.deploy.v1.ListAutomationRunsRequest.class, + com.google.cloud.deploy.v1.ListAutomationRunsRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListAutomationRunsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; } @java.lang.Override @@ -531,8 +572,11 @@ public com.google.cloud.deploy.v1.ListAutomationRunsRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListAutomationRunsRequest buildPartial() { - com.google.cloud.deploy.v1.ListAutomationRunsRequest result = new com.google.cloud.deploy.v1.ListAutomationRunsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListAutomationRunsRequest result = + new com.google.cloud.deploy.v1.ListAutomationRunsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -560,38 +604,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListAutomationRunsRequest 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) { + 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) { + 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.cloud.deploy.v1.ListAutomationRunsRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListAutomationRunsRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListAutomationRunsRequest) other); } else { super.mergeFrom(other); return this; @@ -599,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListAutomationRunsRequest other) { - if (other == com.google.cloud.deploy.v1.ListAutomationRunsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListAutomationRunsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -649,37 +695,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -689,24 +741,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automationRuns. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -715,22 +772,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automationRuns. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -738,32 +798,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automationRuns. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automationRuns. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -773,19 +844,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automationRuns. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -793,8 +870,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of automationRuns to return. The service may return
      * fewer than this value. If unspecified, at most 50 automationRuns will
@@ -803,6 +882,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -810,6 +890,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of automationRuns to return. The service may return
      * fewer than this value. If unspecified, at most 50 automationRuns will
@@ -818,6 +900,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -829,6 +912,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of automationRuns to return. The service may return
      * fewer than this value. If unspecified, at most 50 automationRuns will
@@ -837,6 +922,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -848,6 +934,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAutomationRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -857,13 +945,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @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; @@ -872,6 +960,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAutomationRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -881,15 +971,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @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 { @@ -897,6 +986,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAutomationRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -906,18 +997,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAutomationRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -927,6 +1022,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -936,6 +1032,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAutomationRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -945,12 +1043,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -960,19 +1060,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter automationRuns to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @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; @@ -981,21 +1083,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter automationRuns to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @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 { @@ -1003,30 +1106,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter automationRuns to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filter automationRuns to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1036,18 +1146,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filter automationRuns to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1057,18 +1171,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1077,20 +1193,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1098,28 +1215,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1129,26 +1253,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListAutomationRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListAutomationRunsRequest) private static final com.google.cloud.deploy.v1.ListAutomationRunsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListAutomationRunsRequest(); } @@ -1172,27 +1300,27 @@ public static com.google.cloud.deploy.v1.ListAutomationRunsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAutomationRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAutomationRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,6 +1335,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.ListAutomationRunsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequestOrBuilder.java index 5402f28b5dcc..f63a3529cb82 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListAutomationRunsRequestOrBuilder extends +public interface ListAutomationRunsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListAutomationRunsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automationRuns. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automationRuns. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of automationRuns to return. The service may return
    * fewer than this value. If unspecified, at most 50 automationRuns will
@@ -40,11 +67,14 @@ public interface ListAutomationRunsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAutomationRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -54,10 +84,13 @@ public interface ListAutomationRunsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAutomationRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -67,50 +100,60 @@ public interface ListAutomationRunsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter automationRuns to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter automationRuns to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponse.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponse.java index 2b0174ac2ed1..0d1f0062bcf9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `ListAutomationRuns`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationRunsResponse} */ -public final class ListAutomationRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAutomationRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListAutomationRunsResponse) ListAutomationRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAutomationRunsResponse.newBuilder() to construct. private ListAutomationRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAutomationRunsResponse() { automationRuns_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAutomationRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationRunsResponse.class, com.google.cloud.deploy.v1.ListAutomationRunsResponse.Builder.class); + com.google.cloud.deploy.v1.ListAutomationRunsResponse.class, + com.google.cloud.deploy.v1.ListAutomationRunsResponse.Builder.class); } public static final int AUTOMATION_RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List automationRuns_; /** + * + * *
    * The `AutomationRuns` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getAutomationRun return automationRuns_; } /** + * + * *
    * The `AutomationRuns` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getAutomationRun * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAutomationRunsOrBuilderList() { return automationRuns_; } /** + * + * *
    * The `AutomationRuns` objects.
    * 
@@ -84,6 +109,8 @@ public int getAutomationRunsCount() { return automationRuns_.size(); } /** + * + * *
    * The `AutomationRuns` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.AutomationRun getAutomationRuns(int index) { return automationRuns_.get(index); } /** + * + * *
    * The `AutomationRuns` objects.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.deploy.v1.AutomationRun getAutomationRuns(int index) { * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuilder(int index) { return automationRuns_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,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 < automationRuns_.size(); i++) { output.writeMessage(1, automationRuns_.get(i)); } @@ -242,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < automationRuns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, automationRuns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, automationRuns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +306,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.cloud.deploy.v1.ListAutomationRunsResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListAutomationRunsResponse other = (com.google.cloud.deploy.v1.ListAutomationRunsResponse) obj; + com.google.cloud.deploy.v1.ListAutomationRunsResponse other = + (com.google.cloud.deploy.v1.ListAutomationRunsResponse) obj; - if (!getAutomationRunsList() - .equals(other.getAutomationRunsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getAutomationRunsList().equals(other.getAutomationRunsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +344,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListAutomationRunsResponse 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.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.ListAutomationRunsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.ListAutomationRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `ListAutomationRuns`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationRunsResponse} */ - 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.cloud.deploy.v1.ListAutomationRunsResponse) com.google.cloud.deploy.v1.ListAutomationRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationRunsResponse.class, com.google.cloud.deploy.v1.ListAutomationRunsResponse.Builder.class); + com.google.cloud.deploy.v1.ListAutomationRunsResponse.class, + com.google.cloud.deploy.v1.ListAutomationRunsResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListAutomationRunsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +486,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; } @java.lang.Override @@ -468,14 +512,18 @@ public com.google.cloud.deploy.v1.ListAutomationRunsResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListAutomationRunsResponse buildPartial() { - com.google.cloud.deploy.v1.ListAutomationRunsResponse result = new com.google.cloud.deploy.v1.ListAutomationRunsResponse(this); + com.google.cloud.deploy.v1.ListAutomationRunsResponse result = + new com.google.cloud.deploy.v1.ListAutomationRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.ListAutomationRunsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.deploy.v1.ListAutomationRunsResponse result) { if (automationRunsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { automationRuns_ = java.util.Collections.unmodifiableList(automationRuns_); @@ -502,38 +550,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListAutomationRunsResponse 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) { + 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) { + 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.cloud.deploy.v1.ListAutomationRunsResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListAutomationRunsResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListAutomationRunsResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +590,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListAutomationRunsResponse other) { - if (other == com.google.cloud.deploy.v1.ListAutomationRunsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListAutomationRunsResponse.getDefaultInstance()) + return this; if (automationRunsBuilder_ == null) { if (!other.automationRuns_.isEmpty()) { if (automationRuns_.isEmpty()) { @@ -560,9 +610,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListAutomationRunsResponse o automationRunsBuilder_ = null; automationRuns_ = other.automationRuns_; bitField0_ = (bitField0_ & ~0x00000001); - automationRunsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAutomationRunsFieldBuilder() : null; + automationRunsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAutomationRunsFieldBuilder() + : null; } else { automationRunsBuilder_.addAllMessages(other.automationRuns_); } @@ -609,36 +660,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.AutomationRun m = - input.readMessage( - com.google.cloud.deploy.v1.AutomationRun.parser(), - extensionRegistry); - if (automationRunsBuilder_ == null) { - ensureAutomationRunsIsMutable(); - automationRuns_.add(m); - } else { - automationRunsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.AutomationRun m = + input.readMessage( + com.google.cloud.deploy.v1.AutomationRun.parser(), extensionRegistry); + if (automationRunsBuilder_ == null) { + ensureAutomationRunsIsMutable(); + automationRuns_.add(m); + } else { + automationRunsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +702,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List automationRuns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAutomationRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - automationRuns_ = new java.util.ArrayList(automationRuns_); + automationRuns_ = + new java.util.ArrayList(automationRuns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRun, com.google.cloud.deploy.v1.AutomationRun.Builder, com.google.cloud.deploy.v1.AutomationRunOrBuilder> automationRunsBuilder_; + com.google.cloud.deploy.v1.AutomationRun, + com.google.cloud.deploy.v1.AutomationRun.Builder, + com.google.cloud.deploy.v1.AutomationRunOrBuilder> + automationRunsBuilder_; /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -677,6 +739,8 @@ public java.util.List getAutomationRun } } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -691,6 +755,8 @@ public int getAutomationRunsCount() { } } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -705,14 +771,15 @@ public com.google.cloud.deploy.v1.AutomationRun getAutomationRuns(int index) { } } /** + * + * *
      * The `AutomationRuns` objects.
      * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - public Builder setAutomationRuns( - int index, com.google.cloud.deploy.v1.AutomationRun value) { + public Builder setAutomationRuns(int index, com.google.cloud.deploy.v1.AutomationRun value) { if (automationRunsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +793,8 @@ public Builder setAutomationRuns( return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -744,6 +813,8 @@ public Builder setAutomationRuns( return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -764,14 +835,15 @@ public Builder addAutomationRuns(com.google.cloud.deploy.v1.AutomationRun value) return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - public Builder addAutomationRuns( - int index, com.google.cloud.deploy.v1.AutomationRun value) { + public Builder addAutomationRuns(int index, com.google.cloud.deploy.v1.AutomationRun value) { if (automationRunsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,6 +857,8 @@ public Builder addAutomationRuns( return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -803,6 +877,8 @@ public Builder addAutomationRuns( return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -821,6 +897,8 @@ public Builder addAutomationRuns( return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -831,8 +909,7 @@ public Builder addAllAutomationRuns( java.lang.Iterable values) { if (automationRunsBuilder_ == null) { ensureAutomationRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, automationRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, automationRuns_); onChanged(); } else { automationRunsBuilder_.addAllMessages(values); @@ -840,6 +917,8 @@ public Builder addAllAutomationRuns( return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -857,6 +936,8 @@ public Builder clearAutomationRuns() { return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -874,39 +955,44 @@ public Builder removeAutomationRuns(int index) { return this; } /** + * + * *
      * The `AutomationRuns` objects.
      * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - public com.google.cloud.deploy.v1.AutomationRun.Builder getAutomationRunsBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationRun.Builder getAutomationRunsBuilder(int index) { return getAutomationRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * The `AutomationRuns` objects.
      * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - public com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuilder(int index) { if (automationRunsBuilder_ == null) { - return automationRuns_.get(index); } else { + return automationRuns_.get(index); + } else { return automationRunsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `AutomationRuns` objects.
      * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - public java.util.List - getAutomationRunsOrBuilderList() { + public java.util.List + getAutomationRunsOrBuilderList() { if (automationRunsBuilder_ != null) { return automationRunsBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +1000,8 @@ public com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuil } } /** + * + * *
      * The `AutomationRuns` objects.
      * 
@@ -921,38 +1009,47 @@ public com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuil * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ public com.google.cloud.deploy.v1.AutomationRun.Builder addAutomationRunsBuilder() { - return getAutomationRunsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.AutomationRun.getDefaultInstance()); + return getAutomationRunsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.AutomationRun.getDefaultInstance()); } /** + * + * *
      * The `AutomationRuns` objects.
      * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - public com.google.cloud.deploy.v1.AutomationRun.Builder addAutomationRunsBuilder( - int index) { - return getAutomationRunsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.AutomationRun.getDefaultInstance()); + public com.google.cloud.deploy.v1.AutomationRun.Builder addAutomationRunsBuilder(int index) { + return getAutomationRunsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.AutomationRun.getDefaultInstance()); } /** + * + * *
      * The `AutomationRuns` objects.
      * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - public java.util.List - getAutomationRunsBuilderList() { + public java.util.List + getAutomationRunsBuilderList() { return getAutomationRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRun, com.google.cloud.deploy.v1.AutomationRun.Builder, com.google.cloud.deploy.v1.AutomationRunOrBuilder> + com.google.cloud.deploy.v1.AutomationRun, + com.google.cloud.deploy.v1.AutomationRun.Builder, + com.google.cloud.deploy.v1.AutomationRunOrBuilder> getAutomationRunsFieldBuilder() { if (automationRunsBuilder_ == null) { - automationRunsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRun, com.google.cloud.deploy.v1.AutomationRun.Builder, com.google.cloud.deploy.v1.AutomationRunOrBuilder>( + automationRunsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.AutomationRun, + com.google.cloud.deploy.v1.AutomationRun.Builder, + com.google.cloud.deploy.v1.AutomationRunOrBuilder>( automationRuns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -964,19 +1061,21 @@ public com.google.cloud.deploy.v1.AutomationRun.Builder addAutomationRunsBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1084,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1107,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1147,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1172,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1180,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1224,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1262,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1284,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1343,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListAutomationRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListAutomationRunsResponse) private static final com.google.cloud.deploy.v1.ListAutomationRunsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListAutomationRunsResponse(); } @@ -1231,27 +1369,27 @@ public static com.google.cloud.deploy.v1.ListAutomationRunsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAutomationRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAutomationRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1404,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.ListAutomationRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponseOrBuilder.java index bdaa349c7822..2e220310fb7f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationRunsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListAutomationRunsResponseOrBuilder extends +public interface ListAutomationRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListAutomationRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `AutomationRuns` objects.
    * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - java.util.List - getAutomationRunsList(); + java.util.List getAutomationRunsList(); /** + * + * *
    * The `AutomationRuns` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListAutomationRunsResponseOrBuilder extends */ com.google.cloud.deploy.v1.AutomationRun getAutomationRuns(int index); /** + * + * *
    * The `AutomationRuns` objects.
    * 
@@ -33,84 +54,102 @@ public interface ListAutomationRunsResponseOrBuilder extends */ int getAutomationRunsCount(); /** + * + * *
    * The `AutomationRuns` objects.
    * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - java.util.List + java.util.List getAutomationRunsOrBuilderList(); /** + * + * *
    * The `AutomationRuns` objects.
    * 
* * repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1; */ - com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuilder( - int index); + com.google.cloud.deploy.v1.AutomationRunOrBuilder getAutomationRunsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequest.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequest.java index a343e3e6a799..6b1743d26a9b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `ListAutomations`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationsRequest} */ -public final class ListAutomationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAutomationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListAutomationsRequest) ListAutomationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAutomationsRequest.newBuilder() to construct. private ListAutomationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAutomationsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,35 +46,42 @@ private ListAutomationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAutomationsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationsRequest.class, com.google.cloud.deploy.v1.ListAutomationsRequest.Builder.class); + com.google.cloud.deploy.v1.ListAutomationsRequest.class, + com.google.cloud.deploy.v1.ListAutomationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automations. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automations. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -100,6 +127,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of automations to return. The service may return
    * fewer than this value. If unspecified, at most 50 automations will
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListAutomations` call.
    * Provide this to retrieve the subsequent page.
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,15 @@ 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; } } /** + * + * *
    * A page token, received from a previous `ListAutomations` call.
    * Provide this to retrieve the subsequent page.
@@ -153,16 +188,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @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 { @@ -171,15 +205,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filter automations to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -188,30 +226,30 @@ 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; } } /** + * + * *
    * Filter automations to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @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 { @@ -220,14 +258,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -236,29 +278,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -267,6 +309,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +321,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,8 +350,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -328,23 +369,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.cloud.deploy.v1.ListAutomationsRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListAutomationsRequest other = (com.google.cloud.deploy.v1.ListAutomationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListAutomationsRequest other = + (com.google.cloud.deploy.v1.ListAutomationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,131 +409,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListAutomationsRequest 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.cloud.deploy.v1.ListAutomationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListAutomationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListAutomationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `ListAutomations`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationsRequest} */ - 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.cloud.deploy.v1.ListAutomationsRequest) com.google.cloud.deploy.v1.ListAutomationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationsRequest.class, com.google.cloud.deploy.v1.ListAutomationsRequest.Builder.class); + com.google.cloud.deploy.v1.ListAutomationsRequest.class, + com.google.cloud.deploy.v1.ListAutomationsRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListAutomationsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; } @java.lang.Override @@ -531,8 +572,11 @@ public com.google.cloud.deploy.v1.ListAutomationsRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListAutomationsRequest buildPartial() { - com.google.cloud.deploy.v1.ListAutomationsRequest result = new com.google.cloud.deploy.v1.ListAutomationsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListAutomationsRequest result = + new com.google.cloud.deploy.v1.ListAutomationsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -560,38 +604,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListAutomationsRequest res 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) { + 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) { + 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.cloud.deploy.v1.ListAutomationsRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListAutomationsRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListAutomationsRequest) other); } else { super.mergeFrom(other); return this; @@ -599,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListAutomationsRequest other) { - if (other == com.google.cloud.deploy.v1.ListAutomationsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListAutomationsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -649,37 +695,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -689,24 +741,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automations. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -715,22 +772,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automations. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -738,32 +798,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automations. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automations. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -773,19 +844,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent `Delivery Pipeline`, which owns this collection of
      * automations. Format must be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -793,8 +870,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of automations to return. The service may return
      * fewer than this value. If unspecified, at most 50 automations will
@@ -803,6 +882,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -810,6 +890,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of automations to return. The service may return
      * fewer than this value. If unspecified, at most 50 automations will
@@ -818,6 +900,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -829,6 +912,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of automations to return. The service may return
      * fewer than this value. If unspecified, at most 50 automations will
@@ -837,6 +922,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -848,6 +934,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAutomations` call.
      * Provide this to retrieve the subsequent page.
@@ -857,13 +945,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @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; @@ -872,6 +960,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAutomations` call.
      * Provide this to retrieve the subsequent page.
@@ -881,15 +971,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @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 { @@ -897,6 +986,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAutomations` call.
      * Provide this to retrieve the subsequent page.
@@ -906,18 +997,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAutomations` call.
      * Provide this to retrieve the subsequent page.
@@ -927,6 +1022,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -936,6 +1032,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAutomations` call.
      * Provide this to retrieve the subsequent page.
@@ -945,12 +1043,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -960,19 +1060,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter automations to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @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; @@ -981,21 +1083,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter automations to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @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 { @@ -1003,30 +1106,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter automations to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filter automations to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1036,18 +1146,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filter automations to be returned. All fields can be used in the
      * filter.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1057,18 +1171,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1077,20 +1193,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1098,28 +1215,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1129,26 +1253,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to sort by.
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListAutomationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListAutomationsRequest) private static final com.google.cloud.deploy.v1.ListAutomationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListAutomationsRequest(); } @@ -1172,27 +1300,27 @@ public static com.google.cloud.deploy.v1.ListAutomationsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAutomationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAutomationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,6 +1335,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListAutomationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequestOrBuilder.java index 4043131fa5bf..b5c6f34383b3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListAutomationsRequestOrBuilder extends +public interface ListAutomationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListAutomationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automations. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent `Delivery Pipeline`, which owns this collection of
    * automations. Format must be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of automations to return. The service may return
    * fewer than this value. If unspecified, at most 50 automations will
@@ -40,11 +67,14 @@ public interface ListAutomationsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAutomations` call.
    * Provide this to retrieve the subsequent page.
@@ -54,10 +84,13 @@ public interface ListAutomationsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAutomations` call.
    * Provide this to retrieve the subsequent page.
@@ -67,50 +100,60 @@ public interface ListAutomationsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter automations to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter automations to be returned. All fields can be used in the
    * filter.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to sort by.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponse.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponse.java index b3cb1cb62cc3..cb09dc850ca9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `ListAutomations`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationsResponse} */ -public final class ListAutomationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAutomationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListAutomationsResponse) ListAutomationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAutomationsResponse.newBuilder() to construct. private ListAutomationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAutomationsResponse() { automations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAutomationsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationsResponse.class, com.google.cloud.deploy.v1.ListAutomationsResponse.Builder.class); + com.google.cloud.deploy.v1.ListAutomationsResponse.class, + com.google.cloud.deploy.v1.ListAutomationsResponse.Builder.class); } public static final int AUTOMATIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List automations_; /** + * + * *
    * The `Automation` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getAutomationsList( return automations_; } /** + * + * *
    * The `Automation` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getAutomationsList( * repeated .google.cloud.deploy.v1.Automation automations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAutomationsOrBuilderList() { return automations_; } /** + * + * *
    * The `Automation` objects.
    * 
@@ -84,6 +109,8 @@ public int getAutomationsCount() { return automations_.size(); } /** + * + * *
    * The `Automation` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.Automation getAutomations(int index) { return automations_.get(index); } /** + * + * *
    * The `Automation` objects.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.deploy.v1.Automation getAutomations(int index) { * repeated .google.cloud.deploy.v1.Automation automations = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder(int index) { return automations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,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 < automations_.size(); i++) { output.writeMessage(1, automations_.get(i)); } @@ -242,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < automations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, automations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, automations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +306,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.cloud.deploy.v1.ListAutomationsResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListAutomationsResponse other = (com.google.cloud.deploy.v1.ListAutomationsResponse) obj; + com.google.cloud.deploy.v1.ListAutomationsResponse other = + (com.google.cloud.deploy.v1.ListAutomationsResponse) obj; - if (!getAutomationsList() - .equals(other.getAutomationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getAutomationsList().equals(other.getAutomationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +344,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListAutomationsResponse 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.cloud.deploy.v1.ListAutomationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListAutomationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListAutomationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListAutomationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListAutomationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `ListAutomations`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListAutomationsResponse} */ - 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.cloud.deploy.v1.ListAutomationsResponse) com.google.cloud.deploy.v1.ListAutomationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListAutomationsResponse.class, com.google.cloud.deploy.v1.ListAutomationsResponse.Builder.class); + com.google.cloud.deploy.v1.ListAutomationsResponse.class, + com.google.cloud.deploy.v1.ListAutomationsResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListAutomationsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +485,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; } @java.lang.Override @@ -468,14 +511,18 @@ public com.google.cloud.deploy.v1.ListAutomationsResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListAutomationsResponse buildPartial() { - com.google.cloud.deploy.v1.ListAutomationsResponse result = new com.google.cloud.deploy.v1.ListAutomationsResponse(this); + com.google.cloud.deploy.v1.ListAutomationsResponse result = + new com.google.cloud.deploy.v1.ListAutomationsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.ListAutomationsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.deploy.v1.ListAutomationsResponse result) { if (automationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { automations_ = java.util.Collections.unmodifiableList(automations_); @@ -502,38 +549,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListAutomationsResponse re 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) { + 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) { + 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.cloud.deploy.v1.ListAutomationsResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListAutomationsResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListAutomationsResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +589,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListAutomationsResponse other) { - if (other == com.google.cloud.deploy.v1.ListAutomationsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListAutomationsResponse.getDefaultInstance()) + return this; if (automationsBuilder_ == null) { if (!other.automations_.isEmpty()) { if (automations_.isEmpty()) { @@ -560,9 +609,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListAutomationsResponse othe automationsBuilder_ = null; automations_ = other.automations_; bitField0_ = (bitField0_ & ~0x00000001); - automationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAutomationsFieldBuilder() : null; + automationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAutomationsFieldBuilder() + : null; } else { automationsBuilder_.addAllMessages(other.automations_); } @@ -609,36 +659,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.Automation m = - input.readMessage( - com.google.cloud.deploy.v1.Automation.parser(), - extensionRegistry); - if (automationsBuilder_ == null) { - ensureAutomationsIsMutable(); - automations_.add(m); - } else { - automationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.Automation m = + input.readMessage( + com.google.cloud.deploy.v1.Automation.parser(), extensionRegistry); + if (automationsBuilder_ == null) { + ensureAutomationsIsMutable(); + automations_.add(m); + } else { + automationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +701,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List automations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAutomationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { automations_ = new java.util.ArrayList(automations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> automationsBuilder_; + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> + automationsBuilder_; /** + * + * *
      * The `Automation` objects.
      * 
@@ -677,6 +737,8 @@ public java.util.List getAutomationsList( } } /** + * + * *
      * The `Automation` objects.
      * 
@@ -691,6 +753,8 @@ public int getAutomationsCount() { } } /** + * + * *
      * The `Automation` objects.
      * 
@@ -705,14 +769,15 @@ public com.google.cloud.deploy.v1.Automation getAutomations(int index) { } } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public Builder setAutomations( - int index, com.google.cloud.deploy.v1.Automation value) { + public Builder setAutomations(int index, com.google.cloud.deploy.v1.Automation value) { if (automationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +791,8 @@ public Builder setAutomations( return this; } /** + * + * *
      * The `Automation` objects.
      * 
@@ -744,6 +811,8 @@ public Builder setAutomations( return this; } /** + * + * *
      * The `Automation` objects.
      * 
@@ -764,14 +833,15 @@ public Builder addAutomations(com.google.cloud.deploy.v1.Automation value) { return this; } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public Builder addAutomations( - int index, com.google.cloud.deploy.v1.Automation value) { + public Builder addAutomations(int index, com.google.cloud.deploy.v1.Automation value) { if (automationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +855,15 @@ public Builder addAutomations( return this; } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public Builder addAutomations( - com.google.cloud.deploy.v1.Automation.Builder builderForValue) { + public Builder addAutomations(com.google.cloud.deploy.v1.Automation.Builder builderForValue) { if (automationsBuilder_ == null) { ensureAutomationsIsMutable(); automations_.add(builderForValue.build()); @@ -803,6 +874,8 @@ public Builder addAutomations( return this; } /** + * + * *
      * The `Automation` objects.
      * 
@@ -821,6 +894,8 @@ public Builder addAutomations( return this; } /** + * + * *
      * The `Automation` objects.
      * 
@@ -831,8 +906,7 @@ public Builder addAllAutomations( java.lang.Iterable values) { if (automationsBuilder_ == null) { ensureAutomationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, automations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, automations_); onChanged(); } else { automationsBuilder_.addAllMessages(values); @@ -840,6 +914,8 @@ public Builder addAllAutomations( return this; } /** + * + * *
      * The `Automation` objects.
      * 
@@ -857,6 +933,8 @@ public Builder clearAutomations() { return this; } /** + * + * *
      * The `Automation` objects.
      * 
@@ -874,39 +952,44 @@ public Builder removeAutomations(int index) { return this; } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public com.google.cloud.deploy.v1.Automation.Builder getAutomationsBuilder( - int index) { + public com.google.cloud.deploy.v1.Automation.Builder getAutomationsBuilder(int index) { return getAutomationsFieldBuilder().getBuilder(index); } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder(int index) { if (automationsBuilder_ == null) { - return automations_.get(index); } else { + return automations_.get(index); + } else { return automationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public java.util.List - getAutomationsOrBuilderList() { + public java.util.List + getAutomationsOrBuilderList() { if (automationsBuilder_ != null) { return automationsBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +997,8 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder( } } /** + * + * *
      * The `Automation` objects.
      * 
@@ -921,42 +1006,48 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder( * repeated .google.cloud.deploy.v1.Automation automations = 1; */ public com.google.cloud.deploy.v1.Automation.Builder addAutomationsBuilder() { - return getAutomationsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Automation.getDefaultInstance()); + return getAutomationsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Automation.getDefaultInstance()); } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public com.google.cloud.deploy.v1.Automation.Builder addAutomationsBuilder( - int index) { - return getAutomationsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Automation.getDefaultInstance()); + public com.google.cloud.deploy.v1.Automation.Builder addAutomationsBuilder(int index) { + return getAutomationsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Automation.getDefaultInstance()); } /** + * + * *
      * The `Automation` objects.
      * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - public java.util.List - getAutomationsBuilderList() { + public java.util.List + getAutomationsBuilderList() { return getAutomationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> getAutomationsFieldBuilder() { if (automationsBuilder_ == null) { - automationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder>( - automations_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + automationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder>( + automations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); automations_ = null; } return automationsBuilder_; @@ -964,19 +1055,21 @@ public com.google.cloud.deploy.v1.Automation.Builder addAutomationsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1078,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1101,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1141,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1166,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1174,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1218,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1256,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1278,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1337,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1349,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListAutomationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListAutomationsResponse) private static final com.google.cloud.deploy.v1.ListAutomationsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListAutomationsResponse(); } @@ -1231,27 +1363,27 @@ public static com.google.cloud.deploy.v1.ListAutomationsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAutomationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAutomationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1398,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListAutomationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponseOrBuilder.java index d9ab4869915d..6b480b2c9651 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListAutomationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListAutomationsResponseOrBuilder extends +public interface ListAutomationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListAutomationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `Automation` objects.
    * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - java.util.List - getAutomationsList(); + java.util.List getAutomationsList(); /** + * + * *
    * The `Automation` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListAutomationsResponseOrBuilder extends */ com.google.cloud.deploy.v1.Automation getAutomations(int index); /** + * + * *
    * The `Automation` objects.
    * 
@@ -33,84 +54,102 @@ public interface ListAutomationsResponseOrBuilder extends */ int getAutomationsCount(); /** + * + * *
    * The `Automation` objects.
    * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - java.util.List + java.util.List getAutomationsOrBuilderList(); /** + * + * *
    * The `Automation` objects.
    * 
* * repeated .google.cloud.deploy.v1.Automation automations = 1; */ - com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder( - int index); + com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequest.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequest.java index 3bdf1ed290db..7e15576603f5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `ListCustomTargetTypes`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListCustomTargetTypesRequest} */ -public final class ListCustomTargetTypesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomTargetTypesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListCustomTargetTypesRequest) ListCustomTargetTypesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomTargetTypesRequest.newBuilder() to construct. private ListCustomTargetTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomTargetTypesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListCustomTargetTypesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomTargetTypesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.class, com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.Builder.class); + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.class, + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent that owns this collection of custom target types.
    * Format must be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent that owns this collection of custom target types.
    * Format must be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of `CustomTargetType` objects to return. The
    * service may return fewer than this value. If unspecified, at most 50
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `ListCustomTargetTypes`
    * call. Provide this to retrieve the subsequent page.
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ 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; } } /** + * + * *
    * Optional. A page token, received from a previous `ListCustomTargetTypes`
    * call. Provide this to retrieve the subsequent page.
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -169,15 +203,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter custom target types to be returned. See
    * https://google.aip.dev/160 for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -186,30 +224,30 @@ 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; } } /** + * + * *
    * Optional. Filter custom target types to be returned. See
    * https://google.aip.dev/160 for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -218,15 +256,19 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -235,30 +277,30 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -267,6 +309,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +321,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,8 +350,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -328,23 +369,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.cloud.deploy.v1.ListCustomTargetTypesRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListCustomTargetTypesRequest other = (com.google.cloud.deploy.v1.ListCustomTargetTypesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest other = + (com.google.cloud.deploy.v1.ListCustomTargetTypesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,131 +409,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest 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.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.ListCustomTargetTypesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `ListCustomTargetTypes`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListCustomTargetTypesRequest} */ - 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.cloud.deploy.v1.ListCustomTargetTypesRequest) com.google.cloud.deploy.v1.ListCustomTargetTypesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.class, com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.Builder.class); + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.class, + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; } @java.lang.Override @@ -531,8 +573,11 @@ public com.google.cloud.deploy.v1.ListCustomTargetTypesRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListCustomTargetTypesRequest buildPartial() { - com.google.cloud.deploy.v1.ListCustomTargetTypesRequest result = new com.google.cloud.deploy.v1.ListCustomTargetTypesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListCustomTargetTypesRequest result = + new com.google.cloud.deploy.v1.ListCustomTargetTypesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -560,38 +605,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListCustomTargetTypesReque 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) { + 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) { + 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.cloud.deploy.v1.ListCustomTargetTypesRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListCustomTargetTypesRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListCustomTargetTypesRequest) other); } else { super.mergeFrom(other); return this; @@ -599,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListCustomTargetTypesRequest other) { - if (other == com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -649,37 +696,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -689,23 +742,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent that owns this collection of custom target types.
      * Format must be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -714,21 +772,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent that owns this collection of custom target types.
      * Format must be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -736,30 +797,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent that owns this collection of custom target types.
      * Format must be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent that owns this collection of custom target types.
      * Format must be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -769,18 +841,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent that owns this collection of custom target types.
      * Format must be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -788,8 +866,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of `CustomTargetType` objects to return. The
      * service may return fewer than this value. If unspecified, at most 50
@@ -798,6 +878,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -805,6 +886,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of `CustomTargetType` objects to return. The
      * service may return fewer than this value. If unspecified, at most 50
@@ -813,6 +896,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -824,6 +908,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of `CustomTargetType` objects to return. The
      * service may return fewer than this value. If unspecified, at most 50
@@ -832,6 +918,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -843,6 +930,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListCustomTargetTypes`
      * call. Provide this to retrieve the subsequent page.
@@ -852,13 +941,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -867,6 +956,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListCustomTargetTypes`
      * call. Provide this to retrieve the subsequent page.
@@ -876,15 +967,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -892,6 +982,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListCustomTargetTypes`
      * call. Provide this to retrieve the subsequent page.
@@ -901,18 +993,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListCustomTargetTypes`
      * call. Provide this to retrieve the subsequent page.
@@ -922,6 +1018,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -931,6 +1028,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListCustomTargetTypes`
      * call. Provide this to retrieve the subsequent page.
@@ -940,12 +1039,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -955,19 +1056,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter custom target types to be returned. See
      * https://google.aip.dev/160 for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -976,21 +1079,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter custom target types to be returned. See
      * https://google.aip.dev/160 for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -998,30 +1102,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter custom target types to be returned. See
      * https://google.aip.dev/160 for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter custom target types to be returned. See
      * https://google.aip.dev/160 for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1031,18 +1142,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter custom target types to be returned. See
      * https://google.aip.dev/160 for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1052,19 +1167,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1073,21 +1190,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1095,30 +1213,37 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1128,27 +1253,31 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListCustomTargetTypesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListCustomTargetTypesRequest) private static final com.google.cloud.deploy.v1.ListCustomTargetTypesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListCustomTargetTypesRequest(); } @@ -1172,27 +1301,27 @@ public static com.google.cloud.deploy.v1.ListCustomTargetTypesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomTargetTypesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomTargetTypesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,6 +1336,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.deploy.v1.ListCustomTargetTypesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequestOrBuilder.java index b4e5c3e60b87..a250e2570740 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListCustomTargetTypesRequestOrBuilder extends +public interface ListCustomTargetTypesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListCustomTargetTypesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent that owns this collection of custom target types.
    * Format must be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent that owns this collection of custom target types.
    * Format must be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of `CustomTargetType` objects to return. The
    * service may return fewer than this value. If unspecified, at most 50
@@ -38,11 +65,14 @@ public interface ListCustomTargetTypesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListCustomTargetTypes`
    * call. Provide this to retrieve the subsequent page.
@@ -52,10 +82,13 @@ public interface ListCustomTargetTypesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListCustomTargetTypes`
    * call. Provide this to retrieve the subsequent page.
@@ -65,52 +98,62 @@ public interface ListCustomTargetTypesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter custom target types to be returned. See
    * https://google.aip.dev/160 for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter custom target types to be returned. See
    * https://google.aip.dev/160 for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponse.java similarity index 73% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponse.java index 40a991a573e3..f44dd7e38e10 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `ListCustomTargetTypes.`
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListCustomTargetTypesResponse} */ -public final class ListCustomTargetTypesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomTargetTypesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListCustomTargetTypesResponse) ListCustomTargetTypesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomTargetTypesResponse.newBuilder() to construct. private ListCustomTargetTypesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomTargetTypesResponse() { customTargetTypes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomTargetTypesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.class, com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.Builder.class); + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.class, + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.Builder.class); } public static final int CUSTOM_TARGET_TYPES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List customTargetTypes_; /** + * + * *
    * The `CustomTargetType` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getCustomTarg return customTargetTypes_; } /** + * + * *
    * The `CustomTargetType` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getCustomTarg * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomTargetTypesOrBuilderList() { return customTargetTypes_; } /** + * + * *
    * The `CustomTargetType` objects.
    * 
@@ -84,6 +109,8 @@ public int getCustomTargetTypesCount() { return customTargetTypes_.size(); } /** + * + * *
    * The `CustomTargetType` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetTypes(int inde return customTargetTypes_.get(index); } /** + * + * *
    * The `CustomTargetType` objects.
    * 
@@ -108,15 +137,19 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypes } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +158,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +190,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +238,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +266,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 < customTargetTypes_.size(); i++) { output.writeMessage(1, customTargetTypes_.get(i)); } @@ -242,8 +286,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customTargetTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, customTargetTypes_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, customTargetTypes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +308,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.cloud.deploy.v1.ListCustomTargetTypesResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListCustomTargetTypesResponse other = (com.google.cloud.deploy.v1.ListCustomTargetTypesResponse) obj; + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse other = + (com.google.cloud.deploy.v1.ListCustomTargetTypesResponse) obj; - if (!getCustomTargetTypesList() - .equals(other.getCustomTargetTypesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCustomTargetTypesList().equals(other.getCustomTargetTypesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +346,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse 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.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.ListCustomTargetTypesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `ListCustomTargetTypes.`
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListCustomTargetTypesResponse} */ - 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.cloud.deploy.v1.ListCustomTargetTypesResponse) com.google.cloud.deploy.v1.ListCustomTargetTypesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.class, com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.Builder.class); + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.class, + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +488,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; } @java.lang.Override @@ -468,14 +514,18 @@ public com.google.cloud.deploy.v1.ListCustomTargetTypesResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListCustomTargetTypesResponse buildPartial() { - com.google.cloud.deploy.v1.ListCustomTargetTypesResponse result = new com.google.cloud.deploy.v1.ListCustomTargetTypesResponse(this); + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse result = + new com.google.cloud.deploy.v1.ListCustomTargetTypesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.ListCustomTargetTypesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.deploy.v1.ListCustomTargetTypesResponse result) { if (customTargetTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customTargetTypes_ = java.util.Collections.unmodifiableList(customTargetTypes_); @@ -502,38 +552,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListCustomTargetTypesRespo 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) { + 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) { + 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.cloud.deploy.v1.ListCustomTargetTypesResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListCustomTargetTypesResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListCustomTargetTypesResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +592,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListCustomTargetTypesResponse other) { - if (other == com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.getDefaultInstance()) + return this; if (customTargetTypesBuilder_ == null) { if (!other.customTargetTypes_.isEmpty()) { if (customTargetTypes_.isEmpty()) { @@ -560,9 +612,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListCustomTargetTypesRespons customTargetTypesBuilder_ = null; customTargetTypes_ = other.customTargetTypes_; bitField0_ = (bitField0_ & ~0x00000001); - customTargetTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCustomTargetTypesFieldBuilder() : null; + customTargetTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCustomTargetTypesFieldBuilder() + : null; } else { customTargetTypesBuilder_.addAllMessages(other.customTargetTypes_); } @@ -609,36 +662,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.CustomTargetType m = - input.readMessage( - com.google.cloud.deploy.v1.CustomTargetType.parser(), - extensionRegistry); - if (customTargetTypesBuilder_ == null) { - ensureCustomTargetTypesIsMutable(); - customTargetTypes_.add(m); - } else { - customTargetTypesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.CustomTargetType m = + input.readMessage( + com.google.cloud.deploy.v1.CustomTargetType.parser(), extensionRegistry); + if (customTargetTypesBuilder_ == null) { + ensureCustomTargetTypesIsMutable(); + customTargetTypes_.add(m); + } else { + customTargetTypesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +704,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List customTargetTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomTargetTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customTargetTypes_ = new java.util.ArrayList(customTargetTypes_); + customTargetTypes_ = + new java.util.ArrayList( + customTargetTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> customTargetTypesBuilder_; + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + customTargetTypesBuilder_; /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -677,6 +742,8 @@ public java.util.List getCustomTarg } } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -691,6 +758,8 @@ public int getCustomTargetTypesCount() { } } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -705,6 +774,8 @@ public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetTypes(int inde } } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -726,6 +797,8 @@ public Builder setCustomTargetTypes( return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -744,6 +817,8 @@ public Builder setCustomTargetTypes( return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -764,6 +839,8 @@ public Builder addCustomTargetTypes(com.google.cloud.deploy.v1.CustomTargetType return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -785,6 +862,8 @@ public Builder addCustomTargetTypes( return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -803,6 +882,8 @@ public Builder addCustomTargetTypes( return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -821,6 +902,8 @@ public Builder addCustomTargetTypes( return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -831,8 +914,7 @@ public Builder addAllCustomTargetTypes( java.lang.Iterable values) { if (customTargetTypesBuilder_ == null) { ensureCustomTargetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customTargetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customTargetTypes_); onChanged(); } else { customTargetTypesBuilder_.addAllMessages(values); @@ -840,6 +922,8 @@ public Builder addAllCustomTargetTypes( return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -857,6 +941,8 @@ public Builder clearCustomTargetTypes() { return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -874,6 +960,8 @@ public Builder removeCustomTargetTypes(int index) { return this; } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -885,6 +973,8 @@ public com.google.cloud.deploy.v1.CustomTargetType.Builder getCustomTargetTypesB return getCustomTargetTypesFieldBuilder().getBuilder(index); } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -894,19 +984,22 @@ public com.google.cloud.deploy.v1.CustomTargetType.Builder getCustomTargetTypesB public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypesOrBuilder( int index) { if (customTargetTypesBuilder_ == null) { - return customTargetTypes_.get(index); } else { + return customTargetTypes_.get(index); + } else { return customTargetTypesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `CustomTargetType` objects.
      * 
* * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1; */ - public java.util.List - getCustomTargetTypesOrBuilderList() { + public java.util.List + getCustomTargetTypesOrBuilderList() { if (customTargetTypesBuilder_ != null) { return customTargetTypesBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +1007,8 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypes } } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -921,10 +1016,12 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypes * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1; */ public com.google.cloud.deploy.v1.CustomTargetType.Builder addCustomTargetTypesBuilder() { - return getCustomTargetTypesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); + return getCustomTargetTypesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); } /** + * + * *
      * The `CustomTargetType` objects.
      * 
@@ -933,26 +1030,34 @@ public com.google.cloud.deploy.v1.CustomTargetType.Builder addCustomTargetTypesB */ public com.google.cloud.deploy.v1.CustomTargetType.Builder addCustomTargetTypesBuilder( int index) { - return getCustomTargetTypesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); + return getCustomTargetTypesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); } /** + * + * *
      * The `CustomTargetType` objects.
      * 
* * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1; */ - public java.util.List - getCustomTargetTypesBuilderList() { + public java.util.List + getCustomTargetTypesBuilderList() { return getCustomTargetTypesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> getCustomTargetTypesFieldBuilder() { if (customTargetTypesBuilder_ == null) { - customTargetTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( + customTargetTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( customTargetTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -964,19 +1069,21 @@ public com.google.cloud.deploy.v1.CustomTargetType.Builder addCustomTargetTypesB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1092,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1115,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1155,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1180,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1188,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1232,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1270,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1292,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1351,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListCustomTargetTypesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListCustomTargetTypesResponse) private static final com.google.cloud.deploy.v1.ListCustomTargetTypesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListCustomTargetTypesResponse(); } @@ -1231,27 +1377,27 @@ public static com.google.cloud.deploy.v1.ListCustomTargetTypesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomTargetTypesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomTargetTypesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1412,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.ListCustomTargetTypesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponseOrBuilder.java index 76028038792e..7760b04f4259 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListCustomTargetTypesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListCustomTargetTypesResponseOrBuilder extends +public interface ListCustomTargetTypesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListCustomTargetTypesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `CustomTargetType` objects.
    * 
* * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1; */ - java.util.List - getCustomTargetTypesList(); + java.util.List getCustomTargetTypesList(); /** + * + * *
    * The `CustomTargetType` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomTargetTypesResponseOrBuilder extends */ com.google.cloud.deploy.v1.CustomTargetType getCustomTargetTypes(int index); /** + * + * *
    * The `CustomTargetType` objects.
    * 
@@ -33,84 +54,102 @@ public interface ListCustomTargetTypesResponseOrBuilder extends */ int getCustomTargetTypesCount(); /** + * + * *
    * The `CustomTargetType` objects.
    * 
* * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1; */ - java.util.List + java.util.List getCustomTargetTypesOrBuilderList(); /** + * + * *
    * The `CustomTargetType` objects.
    * 
* * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1; */ - com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypesOrBuilder( - int index); + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java index c1d06eb2f0c4..b2510978b6f8 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `ListDeliveryPipelines`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListDeliveryPipelinesRequest} */ -public final class ListDeliveryPipelinesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDeliveryPipelinesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListDeliveryPipelinesRequest) ListDeliveryPipelinesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeliveryPipelinesRequest.newBuilder() to construct. private ListDeliveryPipelinesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeliveryPipelinesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListDeliveryPipelinesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeliveryPipelinesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class, com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.Builder.class); + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class, + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent, which owns this collection of pipelines. Format must
    * be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of pipelines. Format must
    * be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of pipelines to return. The service may return
    * fewer than this value. If unspecified, at most 50 pipelines will
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListDeliveryPipelines` call.
    * Provide this to retrieve the subsequent page.
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ 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; } } /** + * + * *
    * A page token, received from a previous `ListDeliveryPipelines` call.
    * Provide this to retrieve the subsequent page.
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @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 { @@ -169,15 +203,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filter pipelines to be returned. See https://google.aip.dev/160 for more
    * details.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -186,30 +224,30 @@ 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; } } /** + * + * *
    * Filter pipelines to be returned. See https://google.aip.dev/160 for more
    * details.
    * 
* * string filter = 4; + * * @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 { @@ -218,14 +256,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to sort by. See https://google.aip.dev/132#ordering for more details.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -234,29 +276,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Field to sort by. See https://google.aip.dev/132#ordering for more details.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -265,6 +307,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +319,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -306,8 +348,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -326,23 +367,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.cloud.deploy.v1.ListDeliveryPipelinesRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest other = (com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest other = + (com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,131 +407,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest 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.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `ListDeliveryPipelines`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListDeliveryPipelinesRequest} */ - 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.cloud.deploy.v1.ListDeliveryPipelinesRequest) com.google.cloud.deploy.v1.ListDeliveryPipelinesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class, com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.Builder.class); + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class, + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -508,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; } @java.lang.Override @@ -529,8 +571,11 @@ public com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest buildPartial() { - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest result = new com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest result = + new com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,38 +603,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListDeliveryPipelinesReque 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) { + 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) { + 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.cloud.deploy.v1.ListDeliveryPipelinesRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest) other); } else { super.mergeFrom(other); return this; @@ -597,7 +643,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest other) { - if (other == com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -647,37 +694,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -687,23 +740,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of pipelines. Format must
      * be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -712,21 +770,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of pipelines. Format must
      * be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -734,30 +795,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of pipelines. Format must
      * be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of pipelines. Format must
      * be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -767,18 +839,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent, which owns this collection of pipelines. Format must
      * be `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -786,8 +864,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of pipelines to return. The service may return
      * fewer than this value. If unspecified, at most 50 pipelines will
@@ -796,6 +876,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -803,6 +884,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of pipelines to return. The service may return
      * fewer than this value. If unspecified, at most 50 pipelines will
@@ -811,6 +894,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -822,6 +906,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of pipelines to return. The service may return
      * fewer than this value. If unspecified, at most 50 pipelines will
@@ -830,6 +916,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -841,6 +928,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -850,13 +939,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @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; @@ -865,6 +954,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -874,15 +965,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @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 { @@ -890,6 +980,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -899,18 +991,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -920,6 +1016,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -929,6 +1026,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -938,12 +1037,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -953,19 +1054,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter pipelines to be returned. See https://google.aip.dev/160 for more
      * details.
      * 
* * string filter = 4; + * * @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; @@ -974,21 +1077,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter pipelines to be returned. See https://google.aip.dev/160 for more
      * details.
      * 
* * string filter = 4; + * * @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 { @@ -996,30 +1100,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter pipelines to be returned. See https://google.aip.dev/160 for more
      * details.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filter pipelines to be returned. See https://google.aip.dev/160 for more
      * details.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1029,18 +1140,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filter pipelines to be returned. See https://google.aip.dev/160 for more
      * details.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1050,18 +1165,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to sort by. See https://google.aip.dev/132#ordering for more details.
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1070,20 +1187,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to sort by. See https://google.aip.dev/132#ordering for more details.
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1091,28 +1209,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to sort by. See https://google.aip.dev/132#ordering for more details.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Field to sort by. See https://google.aip.dev/132#ordering for more details.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1122,26 +1247,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to sort by. See https://google.aip.dev/132#ordering for more details.
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1151,12 +1280,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListDeliveryPipelinesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListDeliveryPipelinesRequest) private static final com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest(); } @@ -1165,27 +1294,27 @@ public static com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeliveryPipelinesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeliveryPipelinesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,6 +1329,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java index 0cc2c90e7cba..1406d543d2a3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListDeliveryPipelinesRequestOrBuilder extends +public interface ListDeliveryPipelinesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListDeliveryPipelinesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of pipelines. Format must
    * be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of pipelines. Format must
    * be `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of pipelines to return. The service may return
    * fewer than this value. If unspecified, at most 50 pipelines will
@@ -38,11 +65,14 @@ public interface ListDeliveryPipelinesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListDeliveryPipelines` call.
    * Provide this to retrieve the subsequent page.
@@ -52,10 +82,13 @@ public interface ListDeliveryPipelinesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListDeliveryPipelines` call.
    * Provide this to retrieve the subsequent page.
@@ -65,50 +98,60 @@ public interface ListDeliveryPipelinesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter pipelines to be returned. See https://google.aip.dev/160 for more
    * details.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter pipelines to be returned. See https://google.aip.dev/160 for more
    * details.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to sort by. See https://google.aip.dev/132#ordering for more details.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to sort by. See https://google.aip.dev/132#ordering for more details.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java similarity index 73% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java index 254181ef0545..559a4afd799e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `ListDeliveryPipelines`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListDeliveryPipelinesResponse} */ -public final class ListDeliveryPipelinesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDeliveryPipelinesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListDeliveryPipelinesResponse) ListDeliveryPipelinesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeliveryPipelinesResponse.newBuilder() to construct. private ListDeliveryPipelinesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeliveryPipelinesResponse() { deliveryPipelines_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeliveryPipelinesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class, com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.Builder.class); + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class, + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.Builder.class); } public static final int DELIVERY_PIPELINES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List deliveryPipelines_; /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getDeliveryPi return deliveryPipelines_; } /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getDeliveryPi * repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDeliveryPipelinesOrBuilderList() { return deliveryPipelines_; } /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
@@ -84,6 +109,8 @@ public int getDeliveryPipelinesCount() { return deliveryPipelines_.size(); } /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelines(int inde return deliveryPipelines_.get(index); } /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
@@ -108,15 +137,19 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelines } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +158,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +190,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +238,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +266,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 < deliveryPipelines_.size(); i++) { output.writeMessage(1, deliveryPipelines_.get(i)); } @@ -242,8 +286,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deliveryPipelines_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, deliveryPipelines_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, deliveryPipelines_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +308,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.cloud.deploy.v1.ListDeliveryPipelinesResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse other = (com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse) obj; + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse other = + (com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse) obj; - if (!getDeliveryPipelinesList() - .equals(other.getDeliveryPipelinesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getDeliveryPipelinesList().equals(other.getDeliveryPipelinesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,131 +346,136 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse 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.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `ListDeliveryPipelines`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListDeliveryPipelinesResponse} */ - 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.cloud.deploy.v1.ListDeliveryPipelinesResponse) com.google.cloud.deploy.v1.ListDeliveryPipelinesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class, com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.Builder.class); + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class, + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +488,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; } @java.lang.Override @@ -468,14 +514,18 @@ public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse buildPartial() { - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse result = new com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse(this); + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse result = + new com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse result) { if (deliveryPipelinesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { deliveryPipelines_ = java.util.Collections.unmodifiableList(deliveryPipelines_); @@ -502,38 +552,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListDeliveryPipelinesRespo 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) { + 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) { + 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.cloud.deploy.v1.ListDeliveryPipelinesResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +592,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse other) { - if (other == com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.getDefaultInstance()) + return this; if (deliveryPipelinesBuilder_ == null) { if (!other.deliveryPipelines_.isEmpty()) { if (deliveryPipelines_.isEmpty()) { @@ -560,9 +612,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListDeliveryPipelinesRespons deliveryPipelinesBuilder_ = null; deliveryPipelines_ = other.deliveryPipelines_; bitField0_ = (bitField0_ & ~0x00000001); - deliveryPipelinesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeliveryPipelinesFieldBuilder() : null; + deliveryPipelinesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDeliveryPipelinesFieldBuilder() + : null; } else { deliveryPipelinesBuilder_.addAllMessages(other.deliveryPipelines_); } @@ -609,36 +662,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.DeliveryPipeline m = - input.readMessage( - com.google.cloud.deploy.v1.DeliveryPipeline.parser(), - extensionRegistry); - if (deliveryPipelinesBuilder_ == null) { - ensureDeliveryPipelinesIsMutable(); - deliveryPipelines_.add(m); - } else { - deliveryPipelinesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.DeliveryPipeline m = + input.readMessage( + com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry); + if (deliveryPipelinesBuilder_ == null) { + ensureDeliveryPipelinesIsMutable(); + deliveryPipelines_.add(m); + } else { + deliveryPipelinesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +704,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List deliveryPipelines_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDeliveryPipelinesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - deliveryPipelines_ = new java.util.ArrayList(deliveryPipelines_); + deliveryPipelines_ = + new java.util.ArrayList( + deliveryPipelines_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> deliveryPipelinesBuilder_; + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + deliveryPipelinesBuilder_; /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -677,6 +742,8 @@ public java.util.List getDeliveryPi } } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -691,6 +758,8 @@ public int getDeliveryPipelinesCount() { } } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -705,6 +774,8 @@ public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelines(int inde } } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -726,6 +797,8 @@ public Builder setDeliveryPipelines( return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -744,6 +817,8 @@ public Builder setDeliveryPipelines( return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -764,6 +839,8 @@ public Builder addDeliveryPipelines(com.google.cloud.deploy.v1.DeliveryPipeline return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -785,6 +862,8 @@ public Builder addDeliveryPipelines( return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -803,6 +882,8 @@ public Builder addDeliveryPipelines( return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -821,6 +902,8 @@ public Builder addDeliveryPipelines( return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -831,8 +914,7 @@ public Builder addAllDeliveryPipelines( java.lang.Iterable values) { if (deliveryPipelinesBuilder_ == null) { ensureDeliveryPipelinesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, deliveryPipelines_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deliveryPipelines_); onChanged(); } else { deliveryPipelinesBuilder_.addAllMessages(values); @@ -840,6 +922,8 @@ public Builder addAllDeliveryPipelines( return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -857,6 +941,8 @@ public Builder clearDeliveryPipelines() { return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -874,6 +960,8 @@ public Builder removeDeliveryPipelines(int index) { return this; } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -885,6 +973,8 @@ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelinesB return getDeliveryPipelinesFieldBuilder().getBuilder(index); } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -894,19 +984,22 @@ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelinesB public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelinesOrBuilder( int index) { if (deliveryPipelinesBuilder_ == null) { - return deliveryPipelines_.get(index); } else { + return deliveryPipelines_.get(index); + } else { return deliveryPipelinesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
* * repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1; */ - public java.util.List - getDeliveryPipelinesOrBuilderList() { + public java.util.List + getDeliveryPipelinesOrBuilderList() { if (deliveryPipelinesBuilder_ != null) { return deliveryPipelinesBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +1007,8 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelines } } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -921,10 +1016,12 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelines * repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1; */ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder addDeliveryPipelinesBuilder() { - return getDeliveryPipelinesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()); + return getDeliveryPipelinesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()); } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
@@ -933,26 +1030,34 @@ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder addDeliveryPipelinesB */ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder addDeliveryPipelinesBuilder( int index) { - return getDeliveryPipelinesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()); + return getDeliveryPipelinesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()); } /** + * + * *
      * The `DeliveryPipeline` objects.
      * 
* * repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1; */ - public java.util.List - getDeliveryPipelinesBuilderList() { + public java.util.List + getDeliveryPipelinesBuilderList() { return getDeliveryPipelinesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> getDeliveryPipelinesFieldBuilder() { if (deliveryPipelinesBuilder_ == null) { - deliveryPipelinesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( + deliveryPipelinesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( deliveryPipelines_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -964,19 +1069,21 @@ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder addDeliveryPipelinesB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1092,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1115,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1155,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1180,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1188,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1232,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1270,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1292,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1351,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListDeliveryPipelinesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListDeliveryPipelinesResponse) private static final com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse(); } @@ -1231,27 +1377,27 @@ public static com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeliveryPipelinesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeliveryPipelinesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1412,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java index 9e3c893bd4f0..a4c0ff3901f4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListDeliveryPipelinesResponseOrBuilder extends +public interface ListDeliveryPipelinesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListDeliveryPipelinesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
* * repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1; */ - java.util.List - getDeliveryPipelinesList(); + java.util.List getDeliveryPipelinesList(); /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListDeliveryPipelinesResponseOrBuilder extends */ com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelines(int index); /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
@@ -33,84 +54,102 @@ public interface ListDeliveryPipelinesResponseOrBuilder extends */ int getDeliveryPipelinesCount(); /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
* * repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1; */ - java.util.List + java.util.List getDeliveryPipelinesOrBuilderList(); /** + * + * *
    * The `DeliveryPipeline` objects.
    * 
* * repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1; */ - com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelinesOrBuilder( - int index); + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelinesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequest.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequest.java index c3016135ef98..d06b161fdc59 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * ListJobRunsRequest is the request object used by `ListJobRuns`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListJobRunsRequest} */ -public final class ListJobRunsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobRunsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListJobRunsRequest) ListJobRunsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobRunsRequest.newBuilder() to construct. private ListJobRunsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobRunsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListJobRunsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobRunsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListJobRunsRequest.class, com.google.cloud.deploy.v1.ListJobRunsRequest.Builder.class); + com.google.cloud.deploy.v1.ListJobRunsRequest.class, + com.google.cloud.deploy.v1.ListJobRunsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The `Rollout` which owns this collection of `JobRun` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,31 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The `Rollout` which owns this collection of `JobRun` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -96,6 +123,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of `JobRun` objects to return. The service may
    * return fewer than this value. If unspecified, at most 50 `JobRun` objects
@@ -104,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -112,9 +142,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `ListJobRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -124,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +166,15 @@ 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; } } /** + * + * *
    * Optional. A page token, received from a previous `ListJobRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -167,15 +201,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter results to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -184,30 +222,30 @@ 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; } } /** + * + * *
    * Optional. Filter results to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -216,15 +254,19 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -233,30 +275,30 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -265,6 +307,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +319,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -306,8 +348,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -326,23 +367,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.cloud.deploy.v1.ListJobRunsRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListJobRunsRequest other = (com.google.cloud.deploy.v1.ListJobRunsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListJobRunsRequest other = + (com.google.cloud.deploy.v1.ListJobRunsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,132 +406,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListJobRunsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListJobRunsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListJobRunsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListJobRunsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListJobRunsRequest is the request object used by `ListJobRuns`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListJobRunsRequest} */ - 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.cloud.deploy.v1.ListJobRunsRequest) com.google.cloud.deploy.v1.ListJobRunsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListJobRunsRequest.class, com.google.cloud.deploy.v1.ListJobRunsRequest.Builder.class); + com.google.cloud.deploy.v1.ListJobRunsRequest.class, + com.google.cloud.deploy.v1.ListJobRunsRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListJobRunsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -508,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; } @java.lang.Override @@ -529,8 +570,11 @@ public com.google.cloud.deploy.v1.ListJobRunsRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListJobRunsRequest buildPartial() { - com.google.cloud.deploy.v1.ListJobRunsRequest result = new com.google.cloud.deploy.v1.ListJobRunsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListJobRunsRequest result = + new com.google.cloud.deploy.v1.ListJobRunsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,38 +602,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListJobRunsRequest result) 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) { + 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) { + 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.cloud.deploy.v1.ListJobRunsRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListJobRunsRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListJobRunsRequest) other); } else { super.mergeFrom(other); return this; @@ -647,37 +692,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -687,22 +738,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The `Rollout` which owns this collection of `JobRun` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -711,20 +767,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `Rollout` which owns this collection of `JobRun` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -732,28 +791,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `Rollout` which owns this collection of `JobRun` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The `Rollout` which owns this collection of `JobRun` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -763,17 +833,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The `Rollout` which owns this collection of `JobRun` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -781,8 +857,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of `JobRun` objects to return. The service may
      * return fewer than this value. If unspecified, at most 50 `JobRun` objects
@@ -791,6 +869,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -798,6 +877,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of `JobRun` objects to return. The service may
      * return fewer than this value. If unspecified, at most 50 `JobRun` objects
@@ -806,6 +887,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -817,6 +899,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of `JobRun` objects to return. The service may
      * return fewer than this value. If unspecified, at most 50 `JobRun` objects
@@ -825,6 +909,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -836,6 +921,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListJobRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -845,13 +932,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -860,6 +947,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListJobRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -869,15 +958,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -885,6 +973,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListJobRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -894,18 +984,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListJobRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -915,6 +1009,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -924,6 +1019,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListJobRuns` call.
      * Provide this to retrieve the subsequent page.
@@ -933,12 +1030,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -948,19 +1047,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter results to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -969,21 +1070,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter results to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -991,30 +1093,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter results to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter results to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1024,18 +1133,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter results to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1045,19 +1158,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1066,21 +1181,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1088,30 +1204,37 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1121,27 +1244,31 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1151,12 +1278,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListJobRunsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListJobRunsRequest) private static final com.google.cloud.deploy.v1.ListJobRunsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListJobRunsRequest(); } @@ -1165,27 +1292,27 @@ public static com.google.cloud.deploy.v1.ListJobRunsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobRunsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobRunsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,6 +1327,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListJobRunsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequestOrBuilder.java index 2d2dd79e974f..9dedc94adc9d 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListJobRunsRequestOrBuilder extends +public interface ListJobRunsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListJobRunsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `Rollout` which owns this collection of `JobRun` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The `Rollout` which owns this collection of `JobRun` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of `JobRun` objects to return. The service may
    * return fewer than this value. If unspecified, at most 50 `JobRun` objects
@@ -36,11 +63,14 @@ public interface ListJobRunsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListJobRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListJobRunsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListJobRuns` call.
    * Provide this to retrieve the subsequent page.
@@ -63,52 +96,62 @@ public interface ListJobRunsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter results to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter results to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponse.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponse.java index 9007ac842116..262bbffab169 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * ListJobRunsResponse is the response object returned by `ListJobRuns`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListJobRunsResponse} */ -public final class ListJobRunsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobRunsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListJobRunsResponse) ListJobRunsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobRunsResponse.newBuilder() to construct. private ListJobRunsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobRunsResponse() { jobRuns_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobRunsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListJobRunsResponse.class, com.google.cloud.deploy.v1.ListJobRunsResponse.Builder.class); + com.google.cloud.deploy.v1.ListJobRunsResponse.class, + com.google.cloud.deploy.v1.ListJobRunsResponse.Builder.class); } public static final int JOB_RUNS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List jobRuns_; /** + * + * *
    * The `JobRun` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getJobRunsList() { return jobRuns_; } /** + * + * *
    * The `JobRun` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getJobRunsList() { * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobRunsOrBuilderList() { return jobRuns_; } /** + * + * *
    * The `JobRun` objects.
    * 
@@ -84,6 +109,8 @@ public int getJobRunsCount() { return jobRuns_.size(); } /** + * + * *
    * The `JobRun` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.JobRun getJobRuns(int index) { return jobRuns_.get(index); } /** + * + * *
    * The `JobRun` objects.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.deploy.v1.JobRun getJobRuns(int index) { * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder(int index) { return jobRuns_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page. If
    * this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page. If
    * this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,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 < jobRuns_.size(); i++) { output.writeMessage(1, jobRuns_.get(i)); } @@ -242,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobRuns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, jobRuns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobRuns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +306,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.cloud.deploy.v1.ListJobRunsResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListJobRunsResponse other = (com.google.cloud.deploy.v1.ListJobRunsResponse) obj; + com.google.cloud.deploy.v1.ListJobRunsResponse other = + (com.google.cloud.deploy.v1.ListJobRunsResponse) obj; - if (!getJobRunsList() - .equals(other.getJobRunsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getJobRunsList().equals(other.getJobRunsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,132 +343,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListJobRunsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListJobRunsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListJobRunsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListJobRunsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListJobRunsResponse is the response object returned by `ListJobRuns`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListJobRunsResponse} */ - 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.cloud.deploy.v1.ListJobRunsResponse) com.google.cloud.deploy.v1.ListJobRunsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListJobRunsResponse.class, com.google.cloud.deploy.v1.ListJobRunsResponse.Builder.class); + com.google.cloud.deploy.v1.ListJobRunsResponse.class, + com.google.cloud.deploy.v1.ListJobRunsResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListJobRunsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +485,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; } @java.lang.Override @@ -468,9 +511,12 @@ public com.google.cloud.deploy.v1.ListJobRunsResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListJobRunsResponse buildPartial() { - com.google.cloud.deploy.v1.ListJobRunsResponse result = new com.google.cloud.deploy.v1.ListJobRunsResponse(this); + com.google.cloud.deploy.v1.ListJobRunsResponse result = + new com.google.cloud.deploy.v1.ListJobRunsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -502,38 +548,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListJobRunsResponse result 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) { + 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) { + 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.cloud.deploy.v1.ListJobRunsResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListJobRunsResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListJobRunsResponse) other); } else { super.mergeFrom(other); return this; @@ -560,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListJobRunsResponse other) { jobRunsBuilder_ = null; jobRuns_ = other.jobRuns_; bitField0_ = (bitField0_ & ~0x00000001); - jobRunsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobRunsFieldBuilder() : null; + jobRunsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobRunsFieldBuilder() + : null; } else { jobRunsBuilder_.addAllMessages(other.jobRuns_); } @@ -609,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.JobRun m = - input.readMessage( - com.google.cloud.deploy.v1.JobRun.parser(), - extensionRegistry); - if (jobRunsBuilder_ == null) { - ensureJobRunsIsMutable(); - jobRuns_.add(m); - } else { - jobRunsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.JobRun m = + input.readMessage( + com.google.cloud.deploy.v1.JobRun.parser(), extensionRegistry); + if (jobRunsBuilder_ == null) { + ensureJobRunsIsMutable(); + jobRuns_.add(m); + } else { + jobRunsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +699,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List jobRuns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobRunsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobRuns_ = new java.util.ArrayList(jobRuns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.JobRun, com.google.cloud.deploy.v1.JobRun.Builder, com.google.cloud.deploy.v1.JobRunOrBuilder> jobRunsBuilder_; + com.google.cloud.deploy.v1.JobRun, + com.google.cloud.deploy.v1.JobRun.Builder, + com.google.cloud.deploy.v1.JobRunOrBuilder> + jobRunsBuilder_; /** + * + * *
      * The `JobRun` objects.
      * 
@@ -677,6 +735,8 @@ public java.util.List getJobRunsList() { } } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -691,6 +751,8 @@ public int getJobRunsCount() { } } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -705,14 +767,15 @@ public com.google.cloud.deploy.v1.JobRun getJobRuns(int index) { } } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public Builder setJobRuns( - int index, com.google.cloud.deploy.v1.JobRun value) { + public Builder setJobRuns(int index, com.google.cloud.deploy.v1.JobRun value) { if (jobRunsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +789,8 @@ public Builder setJobRuns( return this; } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -744,6 +809,8 @@ public Builder setJobRuns( return this; } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -764,14 +831,15 @@ public Builder addJobRuns(com.google.cloud.deploy.v1.JobRun value) { return this; } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public Builder addJobRuns( - int index, com.google.cloud.deploy.v1.JobRun value) { + public Builder addJobRuns(int index, com.google.cloud.deploy.v1.JobRun value) { if (jobRunsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +853,15 @@ public Builder addJobRuns( return this; } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public Builder addJobRuns( - com.google.cloud.deploy.v1.JobRun.Builder builderForValue) { + public Builder addJobRuns(com.google.cloud.deploy.v1.JobRun.Builder builderForValue) { if (jobRunsBuilder_ == null) { ensureJobRunsIsMutable(); jobRuns_.add(builderForValue.build()); @@ -803,6 +872,8 @@ public Builder addJobRuns( return this; } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -821,6 +892,8 @@ public Builder addJobRuns( return this; } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -831,8 +904,7 @@ public Builder addAllJobRuns( java.lang.Iterable values) { if (jobRunsBuilder_ == null) { ensureJobRunsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobRuns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobRuns_); onChanged(); } else { jobRunsBuilder_.addAllMessages(values); @@ -840,6 +912,8 @@ public Builder addAllJobRuns( return this; } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -857,6 +931,8 @@ public Builder clearJobRuns() { return this; } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -874,39 +950,44 @@ public Builder removeJobRuns(int index) { return this; } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public com.google.cloud.deploy.v1.JobRun.Builder getJobRunsBuilder( - int index) { + public com.google.cloud.deploy.v1.JobRun.Builder getJobRunsBuilder(int index) { return getJobRunsFieldBuilder().getBuilder(index); } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder(int index) { if (jobRunsBuilder_ == null) { - return jobRuns_.get(index); } else { + return jobRuns_.get(index); + } else { return jobRunsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public java.util.List - getJobRunsOrBuilderList() { + public java.util.List + getJobRunsOrBuilderList() { if (jobRunsBuilder_ != null) { return jobRunsBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +995,8 @@ public com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder( } } /** + * + * *
      * The `JobRun` objects.
      * 
@@ -921,42 +1004,47 @@ public com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder( * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ public com.google.cloud.deploy.v1.JobRun.Builder addJobRunsBuilder() { - return getJobRunsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.JobRun.getDefaultInstance()); + return getJobRunsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.JobRun.getDefaultInstance()); } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public com.google.cloud.deploy.v1.JobRun.Builder addJobRunsBuilder( - int index) { - return getJobRunsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.JobRun.getDefaultInstance()); + public com.google.cloud.deploy.v1.JobRun.Builder addJobRunsBuilder(int index) { + return getJobRunsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.JobRun.getDefaultInstance()); } /** + * + * *
      * The `JobRun` objects.
      * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - public java.util.List - getJobRunsBuilderList() { + public java.util.List getJobRunsBuilderList() { return getJobRunsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.JobRun, com.google.cloud.deploy.v1.JobRun.Builder, com.google.cloud.deploy.v1.JobRunOrBuilder> + com.google.cloud.deploy.v1.JobRun, + com.google.cloud.deploy.v1.JobRun.Builder, + com.google.cloud.deploy.v1.JobRunOrBuilder> getJobRunsFieldBuilder() { if (jobRunsBuilder_ == null) { - jobRunsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.JobRun, com.google.cloud.deploy.v1.JobRun.Builder, com.google.cloud.deploy.v1.JobRunOrBuilder>( - jobRuns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobRunsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.JobRun, + com.google.cloud.deploy.v1.JobRun.Builder, + com.google.cloud.deploy.v1.JobRunOrBuilder>( + jobRuns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobRuns_ = null; } return jobRunsBuilder_; @@ -964,19 +1052,21 @@ public com.google.cloud.deploy.v1.JobRun.Builder addJobRunsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page. If
      * this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1075,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page. If
      * this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1098,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page. If
      * this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page. If
      * this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1138,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page. If
      * this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1163,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1171,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1215,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1253,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1275,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1334,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1346,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListJobRunsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListJobRunsResponse) private static final com.google.cloud.deploy.v1.ListJobRunsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListJobRunsResponse(); } @@ -1231,27 +1360,27 @@ public static com.google.cloud.deploy.v1.ListJobRunsResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobRunsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobRunsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1395,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListJobRunsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponseOrBuilder.java index 8a6840b9dceb..b10855cd7e3b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListJobRunsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListJobRunsResponseOrBuilder extends +public interface ListJobRunsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListJobRunsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `JobRun` objects.
    * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - java.util.List - getJobRunsList(); + java.util.List getJobRunsList(); /** + * + * *
    * The `JobRun` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListJobRunsResponseOrBuilder extends */ com.google.cloud.deploy.v1.JobRun getJobRuns(int index); /** + * + * *
    * The `JobRun` objects.
    * 
@@ -33,84 +54,101 @@ public interface ListJobRunsResponseOrBuilder extends */ int getJobRunsCount(); /** + * + * *
    * The `JobRun` objects.
    * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - java.util.List - getJobRunsOrBuilderList(); + java.util.List getJobRunsOrBuilderList(); /** + * + * *
    * The `JobRun` objects.
    * 
* * repeated .google.cloud.deploy.v1.JobRun job_runs = 1; */ - com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder( - int index); + com.google.cloud.deploy.v1.JobRunOrBuilder getJobRunsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page. If
    * this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page. If
    * this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java index dbafcb5ae050..67d1e73e6a33 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `ListReleases`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListReleasesRequest} */ -public final class ListReleasesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListReleasesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListReleasesRequest) ListReleasesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListReleasesRequest.newBuilder() to construct. private ListReleasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListReleasesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListReleasesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListReleasesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListReleasesRequest.class, com.google.cloud.deploy.v1.ListReleasesRequest.Builder.class); + com.google.cloud.deploy.v1.ListReleasesRequest.class, + com.google.cloud.deploy.v1.ListReleasesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The `DeliveryPipeline` which owns this collection of `Release`
    * objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The `DeliveryPipeline` which owns this collection of `Release`
    * objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of `Release` objects to return. The service
    * may return fewer than this value. If unspecified, at most 50 `Release`
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `ListReleases` call.
    * Provide this to retrieve the subsequent page.
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ 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; } } /** + * + * *
    * Optional. A page token, received from a previous `ListReleases` call.
    * Provide this to retrieve the subsequent page.
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -169,15 +203,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter releases to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -186,30 +224,30 @@ 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; } } /** + * + * *
    * Optional. Filter releases to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -218,15 +256,19 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -235,30 +277,30 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -267,6 +309,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +321,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,8 +350,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -328,23 +369,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.cloud.deploy.v1.ListReleasesRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListReleasesRequest other = (com.google.cloud.deploy.v1.ListReleasesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListReleasesRequest other = + (com.google.cloud.deploy.v1.ListReleasesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,132 +408,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListReleasesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListReleasesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListReleasesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListReleasesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListReleasesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `ListReleases`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListReleasesRequest} */ - 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.cloud.deploy.v1.ListReleasesRequest) com.google.cloud.deploy.v1.ListReleasesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListReleasesRequest.class, com.google.cloud.deploy.v1.ListReleasesRequest.Builder.class); + com.google.cloud.deploy.v1.ListReleasesRequest.class, + com.google.cloud.deploy.v1.ListReleasesRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListReleasesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; } @java.lang.Override @@ -531,8 +572,11 @@ public com.google.cloud.deploy.v1.ListReleasesRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListReleasesRequest buildPartial() { - com.google.cloud.deploy.v1.ListReleasesRequest result = new com.google.cloud.deploy.v1.ListReleasesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListReleasesRequest result = + new com.google.cloud.deploy.v1.ListReleasesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -560,38 +604,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListReleasesRequest result 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) { + 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) { + 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.cloud.deploy.v1.ListReleasesRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListReleasesRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListReleasesRequest) other); } else { super.mergeFrom(other); return this; @@ -649,37 +694,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -689,23 +740,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The `DeliveryPipeline` which owns this collection of `Release`
      * objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -714,21 +770,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `DeliveryPipeline` which owns this collection of `Release`
      * objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -736,30 +795,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `DeliveryPipeline` which owns this collection of `Release`
      * objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The `DeliveryPipeline` which owns this collection of `Release`
      * objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -769,18 +839,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The `DeliveryPipeline` which owns this collection of `Release`
      * objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -788,8 +864,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of `Release` objects to return. The service
      * may return fewer than this value. If unspecified, at most 50 `Release`
@@ -798,6 +876,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -805,6 +884,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of `Release` objects to return. The service
      * may return fewer than this value. If unspecified, at most 50 `Release`
@@ -813,6 +894,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -824,6 +906,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of `Release` objects to return. The service
      * may return fewer than this value. If unspecified, at most 50 `Release`
@@ -832,6 +916,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -843,6 +928,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -852,13 +939,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -867,6 +954,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -876,15 +965,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -892,6 +980,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -901,18 +991,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -922,6 +1016,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -931,6 +1026,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -940,12 +1037,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -955,19 +1054,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter releases to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -976,21 +1077,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter releases to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -998,30 +1100,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter releases to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter releases to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1031,18 +1140,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter releases to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1052,19 +1165,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1073,21 +1188,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1095,30 +1211,37 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1128,27 +1251,31 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1285,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListReleasesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListReleasesRequest) private static final com.google.cloud.deploy.v1.ListReleasesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListReleasesRequest(); } @@ -1172,27 +1299,27 @@ public static com.google.cloud.deploy.v1.ListReleasesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReleasesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReleasesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,6 +1334,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListReleasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java index 7b4d7dda2a96..1ff4e81482d1 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListReleasesRequestOrBuilder extends +public interface ListReleasesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListReleasesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `DeliveryPipeline` which owns this collection of `Release`
    * objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The `DeliveryPipeline` which owns this collection of `Release`
    * objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of `Release` objects to return. The service
    * may return fewer than this value. If unspecified, at most 50 `Release`
@@ -38,11 +65,14 @@ public interface ListReleasesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListReleases` call.
    * Provide this to retrieve the subsequent page.
@@ -52,10 +82,13 @@ public interface ListReleasesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListReleases` call.
    * Provide this to retrieve the subsequent page.
@@ -65,52 +98,62 @@ public interface ListReleasesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter releases to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter releases to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java index 00bfbab96eef..c1afae23e937 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `ListReleases`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListReleasesResponse} */ -public final class ListReleasesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListReleasesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListReleasesResponse) ListReleasesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListReleasesResponse.newBuilder() to construct. private ListReleasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListReleasesResponse() { releases_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListReleasesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListReleasesResponse.class, com.google.cloud.deploy.v1.ListReleasesResponse.Builder.class); + com.google.cloud.deploy.v1.ListReleasesResponse.class, + com.google.cloud.deploy.v1.ListReleasesResponse.Builder.class); } public static final int RELEASES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List releases_; /** + * + * *
    * The `Release` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getReleasesList() { return releases_; } /** + * + * *
    * The `Release` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getReleasesList() { * repeated .google.cloud.deploy.v1.Release releases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReleasesOrBuilderList() { return releases_; } /** + * + * *
    * The `Release` objects.
    * 
@@ -84,6 +109,8 @@ public int getReleasesCount() { return releases_.size(); } /** + * + * *
    * The `Release` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.Release getReleases(int index) { return releases_.get(index); } /** + * + * *
    * The `Release` objects.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.deploy.v1.Release getReleases(int index) { * repeated .google.cloud.deploy.v1.Release releases = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder(int index) { return releases_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,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 < releases_.size(); i++) { output.writeMessage(1, releases_.get(i)); } @@ -242,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < releases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, releases_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, releases_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +306,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.cloud.deploy.v1.ListReleasesResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListReleasesResponse other = (com.google.cloud.deploy.v1.ListReleasesResponse) obj; + com.google.cloud.deploy.v1.ListReleasesResponse other = + (com.google.cloud.deploy.v1.ListReleasesResponse) obj; - if (!getReleasesList() - .equals(other.getReleasesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getReleasesList().equals(other.getReleasesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,132 +343,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListReleasesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListReleasesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListReleasesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListReleasesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListReleasesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `ListReleases`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListReleasesResponse} */ - 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.cloud.deploy.v1.ListReleasesResponse) com.google.cloud.deploy.v1.ListReleasesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListReleasesResponse.class, com.google.cloud.deploy.v1.ListReleasesResponse.Builder.class); + com.google.cloud.deploy.v1.ListReleasesResponse.class, + com.google.cloud.deploy.v1.ListReleasesResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListReleasesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +485,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; } @java.lang.Override @@ -468,14 +511,18 @@ public com.google.cloud.deploy.v1.ListReleasesResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListReleasesResponse buildPartial() { - com.google.cloud.deploy.v1.ListReleasesResponse result = new com.google.cloud.deploy.v1.ListReleasesResponse(this); + com.google.cloud.deploy.v1.ListReleasesResponse result = + new com.google.cloud.deploy.v1.ListReleasesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.ListReleasesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.deploy.v1.ListReleasesResponse result) { if (releasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { releases_ = java.util.Collections.unmodifiableList(releases_); @@ -502,38 +549,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListReleasesResponse resul 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) { + 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) { + 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.cloud.deploy.v1.ListReleasesResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListReleasesResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListReleasesResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +589,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListReleasesResponse other) { - if (other == com.google.cloud.deploy.v1.ListReleasesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListReleasesResponse.getDefaultInstance()) + return this; if (releasesBuilder_ == null) { if (!other.releases_.isEmpty()) { if (releases_.isEmpty()) { @@ -560,9 +609,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListReleasesResponse other) releasesBuilder_ = null; releases_ = other.releases_; bitField0_ = (bitField0_ & ~0x00000001); - releasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReleasesFieldBuilder() : null; + releasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReleasesFieldBuilder() + : null; } else { releasesBuilder_.addAllMessages(other.releases_); } @@ -609,36 +659,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.Release m = - input.readMessage( - com.google.cloud.deploy.v1.Release.parser(), - extensionRegistry); - if (releasesBuilder_ == null) { - ensureReleasesIsMutable(); - releases_.add(m); - } else { - releasesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.Release m = + input.readMessage( + com.google.cloud.deploy.v1.Release.parser(), extensionRegistry); + if (releasesBuilder_ == null) { + ensureReleasesIsMutable(); + releases_.add(m); + } else { + releasesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +701,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List releases_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureReleasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { releases_ = new java.util.ArrayList(releases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Release, com.google.cloud.deploy.v1.Release.Builder, com.google.cloud.deploy.v1.ReleaseOrBuilder> releasesBuilder_; + com.google.cloud.deploy.v1.Release, + com.google.cloud.deploy.v1.Release.Builder, + com.google.cloud.deploy.v1.ReleaseOrBuilder> + releasesBuilder_; /** + * + * *
      * The `Release` objects.
      * 
@@ -677,6 +737,8 @@ public java.util.List getReleasesList() { } } /** + * + * *
      * The `Release` objects.
      * 
@@ -691,6 +753,8 @@ public int getReleasesCount() { } } /** + * + * *
      * The `Release` objects.
      * 
@@ -705,14 +769,15 @@ public com.google.cloud.deploy.v1.Release getReleases(int index) { } } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public Builder setReleases( - int index, com.google.cloud.deploy.v1.Release value) { + public Builder setReleases(int index, com.google.cloud.deploy.v1.Release value) { if (releasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +791,8 @@ public Builder setReleases( return this; } /** + * + * *
      * The `Release` objects.
      * 
@@ -744,6 +811,8 @@ public Builder setReleases( return this; } /** + * + * *
      * The `Release` objects.
      * 
@@ -764,14 +833,15 @@ public Builder addReleases(com.google.cloud.deploy.v1.Release value) { return this; } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public Builder addReleases( - int index, com.google.cloud.deploy.v1.Release value) { + public Builder addReleases(int index, com.google.cloud.deploy.v1.Release value) { if (releasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +855,15 @@ public Builder addReleases( return this; } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public Builder addReleases( - com.google.cloud.deploy.v1.Release.Builder builderForValue) { + public Builder addReleases(com.google.cloud.deploy.v1.Release.Builder builderForValue) { if (releasesBuilder_ == null) { ensureReleasesIsMutable(); releases_.add(builderForValue.build()); @@ -803,6 +874,8 @@ public Builder addReleases( return this; } /** + * + * *
      * The `Release` objects.
      * 
@@ -821,6 +894,8 @@ public Builder addReleases( return this; } /** + * + * *
      * The `Release` objects.
      * 
@@ -831,8 +906,7 @@ public Builder addAllReleases( java.lang.Iterable values) { if (releasesBuilder_ == null) { ensureReleasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, releases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, releases_); onChanged(); } else { releasesBuilder_.addAllMessages(values); @@ -840,6 +914,8 @@ public Builder addAllReleases( return this; } /** + * + * *
      * The `Release` objects.
      * 
@@ -857,6 +933,8 @@ public Builder clearReleases() { return this; } /** + * + * *
      * The `Release` objects.
      * 
@@ -874,39 +952,44 @@ public Builder removeReleases(int index) { return this; } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public com.google.cloud.deploy.v1.Release.Builder getReleasesBuilder( - int index) { + public com.google.cloud.deploy.v1.Release.Builder getReleasesBuilder(int index) { return getReleasesFieldBuilder().getBuilder(index); } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder(int index) { if (releasesBuilder_ == null) { - return releases_.get(index); } else { + return releases_.get(index); + } else { return releasesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public java.util.List - getReleasesOrBuilderList() { + public java.util.List + getReleasesOrBuilderList() { if (releasesBuilder_ != null) { return releasesBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +997,8 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder( } } /** + * + * *
      * The `Release` objects.
      * 
@@ -921,42 +1006,47 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder( * repeated .google.cloud.deploy.v1.Release releases = 1; */ public com.google.cloud.deploy.v1.Release.Builder addReleasesBuilder() { - return getReleasesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Release.getDefaultInstance()); + return getReleasesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Release.getDefaultInstance()); } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public com.google.cloud.deploy.v1.Release.Builder addReleasesBuilder( - int index) { - return getReleasesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Release.getDefaultInstance()); + public com.google.cloud.deploy.v1.Release.Builder addReleasesBuilder(int index) { + return getReleasesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Release.getDefaultInstance()); } /** + * + * *
      * The `Release` objects.
      * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - public java.util.List - getReleasesBuilderList() { + public java.util.List getReleasesBuilderList() { return getReleasesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Release, com.google.cloud.deploy.v1.Release.Builder, com.google.cloud.deploy.v1.ReleaseOrBuilder> + com.google.cloud.deploy.v1.Release, + com.google.cloud.deploy.v1.Release.Builder, + com.google.cloud.deploy.v1.ReleaseOrBuilder> getReleasesFieldBuilder() { if (releasesBuilder_ == null) { - releasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Release, com.google.cloud.deploy.v1.Release.Builder, com.google.cloud.deploy.v1.ReleaseOrBuilder>( - releases_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + releasesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Release, + com.google.cloud.deploy.v1.Release.Builder, + com.google.cloud.deploy.v1.ReleaseOrBuilder>( + releases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); releases_ = null; } return releasesBuilder_; @@ -964,19 +1054,21 @@ public com.google.cloud.deploy.v1.Release.Builder addReleasesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1077,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1100,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1140,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1165,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1173,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1217,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1255,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1277,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1336,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1348,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListReleasesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListReleasesResponse) private static final com.google.cloud.deploy.v1.ListReleasesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListReleasesResponse(); } @@ -1231,27 +1362,27 @@ public static com.google.cloud.deploy.v1.ListReleasesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReleasesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReleasesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1397,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListReleasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java index 69fdf3bd5c3d..6155829c00ed 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListReleasesResponseOrBuilder extends +public interface ListReleasesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListReleasesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `Release` objects.
    * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - java.util.List - getReleasesList(); + java.util.List getReleasesList(); /** + * + * *
    * The `Release` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListReleasesResponseOrBuilder extends */ com.google.cloud.deploy.v1.Release getReleases(int index); /** + * + * *
    * The `Release` objects.
    * 
@@ -33,84 +54,101 @@ public interface ListReleasesResponseOrBuilder extends */ int getReleasesCount(); /** + * + * *
    * The `Release` objects.
    * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - java.util.List - getReleasesOrBuilderList(); + java.util.List getReleasesOrBuilderList(); /** + * + * *
    * The `Release` objects.
    * 
* * repeated .google.cloud.deploy.v1.Release releases = 1; */ - com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder( - int index); + com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java index 4cba63414834..c8b9a96effe4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * ListRolloutsRequest is the request object used by `ListRollouts`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListRolloutsRequest} */ -public final class ListRolloutsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRolloutsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListRolloutsRequest) ListRolloutsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRolloutsRequest.newBuilder() to construct. private ListRolloutsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRolloutsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListRolloutsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRolloutsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListRolloutsRequest.class, com.google.cloud.deploy.v1.ListRolloutsRequest.Builder.class); + com.google.cloud.deploy.v1.ListRolloutsRequest.class, + com.google.cloud.deploy.v1.ListRolloutsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The `Release` which owns this collection of `Rollout` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,31 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The `Release` which owns this collection of `Rollout` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -96,6 +123,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of `Rollout` objects to return. The service
    * may return fewer than this value. If unspecified, at most 50 `Rollout`
@@ -104,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -112,9 +142,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `ListRollouts` call.
    * Provide this to retrieve the subsequent page.
@@ -124,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +166,15 @@ 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; } } /** + * + * *
    * Optional. A page token, received from a previous `ListRollouts` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -167,15 +201,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -184,30 +222,30 @@ 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; } } /** + * + * *
    * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -216,15 +254,19 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -233,30 +275,30 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -265,6 +307,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +319,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -306,8 +348,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -326,23 +367,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.cloud.deploy.v1.ListRolloutsRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListRolloutsRequest other = (com.google.cloud.deploy.v1.ListRolloutsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListRolloutsRequest other = + (com.google.cloud.deploy.v1.ListRolloutsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,132 +406,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListRolloutsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListRolloutsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListRolloutsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListRolloutsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListRolloutsRequest is the request object used by `ListRollouts`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListRolloutsRequest} */ - 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.cloud.deploy.v1.ListRolloutsRequest) com.google.cloud.deploy.v1.ListRolloutsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListRolloutsRequest.class, com.google.cloud.deploy.v1.ListRolloutsRequest.Builder.class); + com.google.cloud.deploy.v1.ListRolloutsRequest.class, + com.google.cloud.deploy.v1.ListRolloutsRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListRolloutsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -508,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; } @java.lang.Override @@ -529,8 +570,11 @@ public com.google.cloud.deploy.v1.ListRolloutsRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListRolloutsRequest buildPartial() { - com.google.cloud.deploy.v1.ListRolloutsRequest result = new com.google.cloud.deploy.v1.ListRolloutsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListRolloutsRequest result = + new com.google.cloud.deploy.v1.ListRolloutsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,38 +602,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListRolloutsRequest result 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) { + 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) { + 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.cloud.deploy.v1.ListRolloutsRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListRolloutsRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListRolloutsRequest) other); } else { super.mergeFrom(other); return this; @@ -647,37 +692,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -687,22 +738,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The `Release` which owns this collection of `Rollout` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -711,20 +767,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `Release` which owns this collection of `Rollout` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -732,28 +791,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `Release` which owns this collection of `Rollout` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The `Release` which owns this collection of `Rollout` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -763,17 +833,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The `Release` which owns this collection of `Rollout` objects.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -781,8 +857,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of `Rollout` objects to return. The service
      * may return fewer than this value. If unspecified, at most 50 `Rollout`
@@ -791,6 +869,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -798,6 +877,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of `Rollout` objects to return. The service
      * may return fewer than this value. If unspecified, at most 50 `Rollout`
@@ -806,6 +887,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -817,6 +899,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of `Rollout` objects to return. The service
      * may return fewer than this value. If unspecified, at most 50 `Rollout`
@@ -825,6 +909,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -836,6 +921,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -845,13 +932,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -860,6 +947,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -869,15 +958,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -885,6 +973,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -894,18 +984,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -915,6 +1009,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -924,6 +1019,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -933,12 +1030,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -948,19 +1047,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -969,21 +1070,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -991,30 +1093,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1024,18 +1133,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
      * for more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1045,19 +1158,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1066,21 +1181,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1088,30 +1204,37 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1121,27 +1244,31 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1151,12 +1278,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListRolloutsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListRolloutsRequest) private static final com.google.cloud.deploy.v1.ListRolloutsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListRolloutsRequest(); } @@ -1165,27 +1292,27 @@ public static com.google.cloud.deploy.v1.ListRolloutsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRolloutsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRolloutsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,6 +1327,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListRolloutsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java index 13eaffae36ef..351deb4b4a73 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListRolloutsRequestOrBuilder extends +public interface ListRolloutsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListRolloutsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `Release` which owns this collection of `Rollout` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The `Release` which owns this collection of `Rollout` objects.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of `Rollout` objects to return. The service
    * may return fewer than this value. If unspecified, at most 50 `Rollout`
@@ -36,11 +63,14 @@ public interface ListRolloutsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListRollouts` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListRolloutsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListRollouts` call.
    * Provide this to retrieve the subsequent page.
@@ -63,52 +96,62 @@ public interface ListRolloutsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter rollouts to be returned. See https://google.aip.dev/160
    * for more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java index add57110c4a9..61f207e34902 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * ListRolloutsResponse is the response object reutrned by `ListRollouts`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListRolloutsResponse} */ -public final class ListRolloutsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRolloutsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListRolloutsResponse) ListRolloutsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRolloutsResponse.newBuilder() to construct. private ListRolloutsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRolloutsResponse() { rollouts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRolloutsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListRolloutsResponse.class, com.google.cloud.deploy.v1.ListRolloutsResponse.Builder.class); + com.google.cloud.deploy.v1.ListRolloutsResponse.class, + com.google.cloud.deploy.v1.ListRolloutsResponse.Builder.class); } public static final int ROLLOUTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List rollouts_; /** + * + * *
    * The `Rollout` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getRolloutsList() { return rollouts_; } /** + * + * *
    * The `Rollout` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getRolloutsList() { * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRolloutsOrBuilderList() { return rollouts_; } /** + * + * *
    * The `Rollout` objects.
    * 
@@ -84,6 +109,8 @@ public int getRolloutsCount() { return rollouts_.size(); } /** + * + * *
    * The `Rollout` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.Rollout getRollouts(int index) { return rollouts_.get(index); } /** + * + * *
    * The `Rollout` objects.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.deploy.v1.Rollout getRollouts(int index) { * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder(int index) { return rollouts_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,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 < rollouts_.size(); i++) { output.writeMessage(1, rollouts_.get(i)); } @@ -242,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rollouts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, rollouts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rollouts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +306,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.cloud.deploy.v1.ListRolloutsResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListRolloutsResponse other = (com.google.cloud.deploy.v1.ListRolloutsResponse) obj; + com.google.cloud.deploy.v1.ListRolloutsResponse other = + (com.google.cloud.deploy.v1.ListRolloutsResponse) obj; - if (!getRolloutsList() - .equals(other.getRolloutsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getRolloutsList().equals(other.getRolloutsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,132 +343,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListRolloutsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListRolloutsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListRolloutsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListRolloutsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListRolloutsResponse is the response object reutrned by `ListRollouts`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListRolloutsResponse} */ - 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.cloud.deploy.v1.ListRolloutsResponse) com.google.cloud.deploy.v1.ListRolloutsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListRolloutsResponse.class, com.google.cloud.deploy.v1.ListRolloutsResponse.Builder.class); + com.google.cloud.deploy.v1.ListRolloutsResponse.class, + com.google.cloud.deploy.v1.ListRolloutsResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListRolloutsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +485,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; } @java.lang.Override @@ -468,14 +511,18 @@ public com.google.cloud.deploy.v1.ListRolloutsResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListRolloutsResponse buildPartial() { - com.google.cloud.deploy.v1.ListRolloutsResponse result = new com.google.cloud.deploy.v1.ListRolloutsResponse(this); + com.google.cloud.deploy.v1.ListRolloutsResponse result = + new com.google.cloud.deploy.v1.ListRolloutsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.ListRolloutsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.deploy.v1.ListRolloutsResponse result) { if (rolloutsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rollouts_ = java.util.Collections.unmodifiableList(rollouts_); @@ -502,38 +549,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListRolloutsResponse resul 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) { + 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) { + 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.cloud.deploy.v1.ListRolloutsResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListRolloutsResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListRolloutsResponse) other); } else { super.mergeFrom(other); return this; @@ -541,7 +589,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.ListRolloutsResponse other) { - if (other == com.google.cloud.deploy.v1.ListRolloutsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.ListRolloutsResponse.getDefaultInstance()) + return this; if (rolloutsBuilder_ == null) { if (!other.rollouts_.isEmpty()) { if (rollouts_.isEmpty()) { @@ -560,9 +609,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListRolloutsResponse other) rolloutsBuilder_ = null; rollouts_ = other.rollouts_; bitField0_ = (bitField0_ & ~0x00000001); - rolloutsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRolloutsFieldBuilder() : null; + rolloutsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRolloutsFieldBuilder() + : null; } else { rolloutsBuilder_.addAllMessages(other.rollouts_); } @@ -609,36 +659,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.Rollout m = - input.readMessage( - com.google.cloud.deploy.v1.Rollout.parser(), - extensionRegistry); - if (rolloutsBuilder_ == null) { - ensureRolloutsIsMutable(); - rollouts_.add(m); - } else { - rolloutsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.Rollout m = + input.readMessage( + com.google.cloud.deploy.v1.Rollout.parser(), extensionRegistry); + if (rolloutsBuilder_ == null) { + ensureRolloutsIsMutable(); + rollouts_.add(m); + } else { + rolloutsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +701,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List rollouts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRolloutsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rollouts_ = new java.util.ArrayList(rollouts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder> rolloutsBuilder_; + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder> + rolloutsBuilder_; /** + * + * *
      * The `Rollout` objects.
      * 
@@ -677,6 +737,8 @@ public java.util.List getRolloutsList() { } } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -691,6 +753,8 @@ public int getRolloutsCount() { } } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -705,14 +769,15 @@ public com.google.cloud.deploy.v1.Rollout getRollouts(int index) { } } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public Builder setRollouts( - int index, com.google.cloud.deploy.v1.Rollout value) { + public Builder setRollouts(int index, com.google.cloud.deploy.v1.Rollout value) { if (rolloutsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +791,8 @@ public Builder setRollouts( return this; } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -744,6 +811,8 @@ public Builder setRollouts( return this; } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -764,14 +833,15 @@ public Builder addRollouts(com.google.cloud.deploy.v1.Rollout value) { return this; } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public Builder addRollouts( - int index, com.google.cloud.deploy.v1.Rollout value) { + public Builder addRollouts(int index, com.google.cloud.deploy.v1.Rollout value) { if (rolloutsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +855,15 @@ public Builder addRollouts( return this; } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public Builder addRollouts( - com.google.cloud.deploy.v1.Rollout.Builder builderForValue) { + public Builder addRollouts(com.google.cloud.deploy.v1.Rollout.Builder builderForValue) { if (rolloutsBuilder_ == null) { ensureRolloutsIsMutable(); rollouts_.add(builderForValue.build()); @@ -803,6 +874,8 @@ public Builder addRollouts( return this; } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -821,6 +894,8 @@ public Builder addRollouts( return this; } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -831,8 +906,7 @@ public Builder addAllRollouts( java.lang.Iterable values) { if (rolloutsBuilder_ == null) { ensureRolloutsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rollouts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rollouts_); onChanged(); } else { rolloutsBuilder_.addAllMessages(values); @@ -840,6 +914,8 @@ public Builder addAllRollouts( return this; } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -857,6 +933,8 @@ public Builder clearRollouts() { return this; } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -874,39 +952,44 @@ public Builder removeRollouts(int index) { return this; } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public com.google.cloud.deploy.v1.Rollout.Builder getRolloutsBuilder( - int index) { + public com.google.cloud.deploy.v1.Rollout.Builder getRolloutsBuilder(int index) { return getRolloutsFieldBuilder().getBuilder(index); } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder(int index) { if (rolloutsBuilder_ == null) { - return rollouts_.get(index); } else { + return rollouts_.get(index); + } else { return rolloutsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public java.util.List - getRolloutsOrBuilderList() { + public java.util.List + getRolloutsOrBuilderList() { if (rolloutsBuilder_ != null) { return rolloutsBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +997,8 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder( } } /** + * + * *
      * The `Rollout` objects.
      * 
@@ -921,42 +1006,47 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder( * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ public com.google.cloud.deploy.v1.Rollout.Builder addRolloutsBuilder() { - return getRolloutsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Rollout.getDefaultInstance()); + return getRolloutsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Rollout.getDefaultInstance()); } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public com.google.cloud.deploy.v1.Rollout.Builder addRolloutsBuilder( - int index) { - return getRolloutsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Rollout.getDefaultInstance()); + public com.google.cloud.deploy.v1.Rollout.Builder addRolloutsBuilder(int index) { + return getRolloutsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Rollout.getDefaultInstance()); } /** + * + * *
      * The `Rollout` objects.
      * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - public java.util.List - getRolloutsBuilderList() { + public java.util.List getRolloutsBuilderList() { return getRolloutsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder> + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder> getRolloutsFieldBuilder() { if (rolloutsBuilder_ == null) { - rolloutsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder>( - rollouts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + rolloutsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder>( + rollouts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rollouts_ = null; } return rolloutsBuilder_; @@ -964,19 +1054,21 @@ public com.google.cloud.deploy.v1.Rollout.Builder addRolloutsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1077,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1100,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1140,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1165,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1173,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1217,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1255,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1277,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1336,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1348,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListRolloutsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListRolloutsResponse) private static final com.google.cloud.deploy.v1.ListRolloutsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListRolloutsResponse(); } @@ -1231,27 +1362,27 @@ public static com.google.cloud.deploy.v1.ListRolloutsResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRolloutsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRolloutsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1397,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListRolloutsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java index c4df877a494d..0a657856a301 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListRolloutsResponseOrBuilder extends +public interface ListRolloutsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListRolloutsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `Rollout` objects.
    * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - java.util.List - getRolloutsList(); + java.util.List getRolloutsList(); /** + * + * *
    * The `Rollout` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListRolloutsResponseOrBuilder extends */ com.google.cloud.deploy.v1.Rollout getRollouts(int index); /** + * + * *
    * The `Rollout` objects.
    * 
@@ -33,84 +54,101 @@ public interface ListRolloutsResponseOrBuilder extends */ int getRolloutsCount(); /** + * + * *
    * The `Rollout` objects.
    * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - java.util.List - getRolloutsOrBuilderList(); + java.util.List getRolloutsOrBuilderList(); /** + * + * *
    * The `Rollout` objects.
    * 
* * repeated .google.cloud.deploy.v1.Rollout rollouts = 1; */ - com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder( - int index); + com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java index a8bb08c539d0..4afe7ea247f2 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `ListTargets`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListTargetsRequest} */ -public final class ListTargetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTargetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListTargetsRequest) ListTargetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTargetsRequest.newBuilder() to construct. private ListTargetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTargetsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,34 +46,41 @@ private ListTargetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTargetsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListTargetsRequest.class, com.google.cloud.deploy.v1.ListTargetsRequest.Builder.class); + com.google.cloud.deploy.v1.ListTargetsRequest.class, + com.google.cloud.deploy.v1.ListTargetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent, which owns this collection of targets. Format must be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,32 @@ public java.lang.String getParent() { 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(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of targets. Format must be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -98,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of `Target` objects to return. The service may
    * return fewer than this value. If unspecified, at most 50 `Target` objects
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ 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; } } /** + * + * *
    * Optional. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -169,15 +203,19 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -186,30 +224,30 @@ 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; } } /** + * + * *
    * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -218,15 +256,19 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -235,30 +277,30 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -267,6 +309,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +321,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -308,8 +350,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -328,23 +369,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.cloud.deploy.v1.ListTargetsRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListTargetsRequest other = (com.google.cloud.deploy.v1.ListTargetsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.deploy.v1.ListTargetsRequest other = + (com.google.cloud.deploy.v1.ListTargetsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,132 +408,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListTargetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListTargetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListTargetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListTargetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListTargetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `ListTargets`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListTargetsRequest} */ - 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.cloud.deploy.v1.ListTargetsRequest) com.google.cloud.deploy.v1.ListTargetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListTargetsRequest.class, com.google.cloud.deploy.v1.ListTargetsRequest.Builder.class); + com.google.cloud.deploy.v1.ListTargetsRequest.class, + com.google.cloud.deploy.v1.ListTargetsRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListTargetsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; } @java.lang.Override @@ -531,8 +572,11 @@ public com.google.cloud.deploy.v1.ListTargetsRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.ListTargetsRequest buildPartial() { - com.google.cloud.deploy.v1.ListTargetsRequest result = new com.google.cloud.deploy.v1.ListTargetsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.ListTargetsRequest result = + new com.google.cloud.deploy.v1.ListTargetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -560,38 +604,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListTargetsRequest result) 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) { + 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) { + 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.cloud.deploy.v1.ListTargetsRequest) { - return mergeFrom((com.google.cloud.deploy.v1.ListTargetsRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.ListTargetsRequest) other); } else { super.mergeFrom(other); return this; @@ -649,37 +694,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -689,23 +740,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of targets. Format must be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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(); parent_ = s; return s; @@ -714,21 +770,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of targets. Format must be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; 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); parent_ = b; return b; } else { @@ -736,30 +795,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of targets. Format must be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of targets. Format must be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -769,18 +839,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent, which owns this collection of targets. Format must be
      * `projects/{project_id}/locations/{location_name}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -788,8 +864,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of `Target` objects to return. The service may
      * return fewer than this value. If unspecified, at most 50 `Target` objects
@@ -798,6 +876,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -805,6 +884,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of `Target` objects to return. The service may
      * return fewer than this value. If unspecified, at most 50 `Target` objects
@@ -813,6 +894,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -824,6 +906,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of `Target` objects to return. The service may
      * return fewer than this value. If unspecified, at most 50 `Target` objects
@@ -832,6 +916,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -843,6 +928,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -852,13 +939,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -867,6 +954,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -876,15 +965,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -892,6 +980,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -901,18 +991,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -922,6 +1016,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -931,6 +1026,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -940,12 +1037,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -955,19 +1054,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -976,21 +1077,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -998,30 +1100,37 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1031,18 +1140,22 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
      * more details.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1052,19 +1165,21 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1073,21 +1188,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1095,30 +1211,37 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1128,27 +1251,31 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
      * more details.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1285,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListTargetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListTargetsRequest) private static final com.google.cloud.deploy.v1.ListTargetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListTargetsRequest(); } @@ -1172,27 +1299,27 @@ public static com.google.cloud.deploy.v1.ListTargetsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTargetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTargetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,6 +1334,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListTargetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java index d95509932ec7..4855d0f7a917 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListTargetsRequestOrBuilder extends +public interface ListTargetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListTargetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of targets. Format must be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of targets. Format must be
    * `projects/{project_id}/locations/{location_name}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of `Target` objects to return. The service may
    * return fewer than this value. If unspecified, at most 50 `Target` objects
@@ -38,11 +65,14 @@ public interface ListTargetsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -52,10 +82,13 @@ public interface ListTargetsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -65,52 +98,62 @@ public interface ListTargetsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter targets to be returned. See https://google.aip.dev/160 for
    * more details.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Field to sort by. See https://google.aip.dev/132#ordering for
    * more details.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java index fbaf7a8ccc88..72335b114cdf 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `ListTargets`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.ListTargetsResponse} */ -public final class ListTargetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTargetsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ListTargetsResponse) ListTargetsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTargetsResponse.newBuilder() to construct. private ListTargetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTargetsResponse() { targets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTargetsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListTargetsResponse.class, com.google.cloud.deploy.v1.ListTargetsResponse.Builder.class); + com.google.cloud.deploy.v1.ListTargetsResponse.class, + com.google.cloud.deploy.v1.ListTargetsResponse.Builder.class); } public static final int TARGETS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List targets_; /** + * + * *
    * The `Target` objects.
    * 
@@ -61,6 +82,8 @@ public java.util.List getTargetsList() { return targets_; } /** + * + * *
    * The `Target` objects.
    * 
@@ -68,11 +91,13 @@ public java.util.List getTargetsList() { * repeated .google.cloud.deploy.v1.Target targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTargetsOrBuilderList() { return targets_; } /** + * + * *
    * The `Target` objects.
    * 
@@ -84,6 +109,8 @@ public int getTargetsCount() { return targets_.size(); } /** + * + * *
    * The `Target` objects.
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.deploy.v1.Target getTargets(int index) { return targets_.get(index); } /** + * + * *
    * The `Target` objects.
    * 
@@ -102,21 +131,24 @@ public com.google.cloud.deploy.v1.Target getTargets(int index) { * repeated .google.cloud.deploy.v1.Target targets = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder(int index) { return targets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +157,30 @@ 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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,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 < targets_.size(); i++) { output.writeMessage(1, targets_.get(i)); } @@ -242,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < targets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, targets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, targets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +306,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.cloud.deploy.v1.ListTargetsResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ListTargetsResponse other = (com.google.cloud.deploy.v1.ListTargetsResponse) obj; + com.google.cloud.deploy.v1.ListTargetsResponse other = + (com.google.cloud.deploy.v1.ListTargetsResponse) obj; - if (!getTargetsList() - .equals(other.getTargetsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getTargetsList().equals(other.getTargetsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,132 +343,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ListTargetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ListTargetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ListTargetsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ListTargetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ListTargetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `ListTargets`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.ListTargetsResponse} */ - 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.cloud.deploy.v1.ListTargetsResponse) com.google.cloud.deploy.v1.ListTargetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.ListTargetsResponse.class, com.google.cloud.deploy.v1.ListTargetsResponse.Builder.class); + com.google.cloud.deploy.v1.ListTargetsResponse.class, + com.google.cloud.deploy.v1.ListTargetsResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.ListTargetsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,15 +485,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; } @java.lang.Override @@ -468,9 +511,12 @@ public com.google.cloud.deploy.v1.ListTargetsResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.ListTargetsResponse buildPartial() { - com.google.cloud.deploy.v1.ListTargetsResponse result = new com.google.cloud.deploy.v1.ListTargetsResponse(this); + com.google.cloud.deploy.v1.ListTargetsResponse result = + new com.google.cloud.deploy.v1.ListTargetsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -502,38 +548,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ListTargetsResponse result 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) { + 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) { + 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.cloud.deploy.v1.ListTargetsResponse) { - return mergeFrom((com.google.cloud.deploy.v1.ListTargetsResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.ListTargetsResponse) other); } else { super.mergeFrom(other); return this; @@ -560,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ListTargetsResponse other) { targetsBuilder_ = null; targets_ = other.targets_; bitField0_ = (bitField0_ & ~0x00000001); - targetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTargetsFieldBuilder() : null; + targetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTargetsFieldBuilder() + : null; } else { targetsBuilder_.addAllMessages(other.targets_); } @@ -609,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.Target m = - input.readMessage( - com.google.cloud.deploy.v1.Target.parser(), - extensionRegistry); - if (targetsBuilder_ == null) { - ensureTargetsIsMutable(); - targets_.add(m); - } else { - targetsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.Target m = + input.readMessage( + com.google.cloud.deploy.v1.Target.parser(), extensionRegistry); + if (targetsBuilder_ == null) { + ensureTargetsIsMutable(); + targets_.add(m); + } else { + targetsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,21 +699,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List targets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { targets_ = new java.util.ArrayList(targets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> targetsBuilder_; + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> + targetsBuilder_; /** + * + * *
      * The `Target` objects.
      * 
@@ -677,6 +735,8 @@ public java.util.List getTargetsList() { } } /** + * + * *
      * The `Target` objects.
      * 
@@ -691,6 +751,8 @@ public int getTargetsCount() { } } /** + * + * *
      * The `Target` objects.
      * 
@@ -705,14 +767,15 @@ public com.google.cloud.deploy.v1.Target getTargets(int index) { } } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public Builder setTargets( - int index, com.google.cloud.deploy.v1.Target value) { + public Builder setTargets(int index, com.google.cloud.deploy.v1.Target value) { if (targetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,6 +789,8 @@ public Builder setTargets( return this; } /** + * + * *
      * The `Target` objects.
      * 
@@ -744,6 +809,8 @@ public Builder setTargets( return this; } /** + * + * *
      * The `Target` objects.
      * 
@@ -764,14 +831,15 @@ public Builder addTargets(com.google.cloud.deploy.v1.Target value) { return this; } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public Builder addTargets( - int index, com.google.cloud.deploy.v1.Target value) { + public Builder addTargets(int index, com.google.cloud.deploy.v1.Target value) { if (targetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,14 +853,15 @@ public Builder addTargets( return this; } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public Builder addTargets( - com.google.cloud.deploy.v1.Target.Builder builderForValue) { + public Builder addTargets(com.google.cloud.deploy.v1.Target.Builder builderForValue) { if (targetsBuilder_ == null) { ensureTargetsIsMutable(); targets_.add(builderForValue.build()); @@ -803,6 +872,8 @@ public Builder addTargets( return this; } /** + * + * *
      * The `Target` objects.
      * 
@@ -821,6 +892,8 @@ public Builder addTargets( return this; } /** + * + * *
      * The `Target` objects.
      * 
@@ -831,8 +904,7 @@ public Builder addAllTargets( java.lang.Iterable values) { if (targetsBuilder_ == null) { ensureTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targets_); onChanged(); } else { targetsBuilder_.addAllMessages(values); @@ -840,6 +912,8 @@ public Builder addAllTargets( return this; } /** + * + * *
      * The `Target` objects.
      * 
@@ -857,6 +931,8 @@ public Builder clearTargets() { return this; } /** + * + * *
      * The `Target` objects.
      * 
@@ -874,39 +950,44 @@ public Builder removeTargets(int index) { return this; } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public com.google.cloud.deploy.v1.Target.Builder getTargetsBuilder( - int index) { + public com.google.cloud.deploy.v1.Target.Builder getTargetsBuilder(int index) { return getTargetsFieldBuilder().getBuilder(index); } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder(int index) { if (targetsBuilder_ == null) { - return targets_.get(index); } else { + return targets_.get(index); + } else { return targetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public java.util.List - getTargetsOrBuilderList() { + public java.util.List + getTargetsOrBuilderList() { if (targetsBuilder_ != null) { return targetsBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +995,8 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder( } } /** + * + * *
      * The `Target` objects.
      * 
@@ -921,42 +1004,47 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder( * repeated .google.cloud.deploy.v1.Target targets = 1; */ public com.google.cloud.deploy.v1.Target.Builder addTargetsBuilder() { - return getTargetsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Target.getDefaultInstance()); + return getTargetsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Target.getDefaultInstance()); } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public com.google.cloud.deploy.v1.Target.Builder addTargetsBuilder( - int index) { - return getTargetsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Target.getDefaultInstance()); + public com.google.cloud.deploy.v1.Target.Builder addTargetsBuilder(int index) { + return getTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Target.getDefaultInstance()); } /** + * + * *
      * The `Target` objects.
      * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - public java.util.List - getTargetsBuilderList() { + public java.util.List getTargetsBuilderList() { return getTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> getTargetsFieldBuilder() { if (targetsBuilder_ == null) { - targetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder>( - targets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + targetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder>( + targets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); targets_ = null; } return targetsBuilder_; @@ -964,19 +1052,21 @@ public com.google.cloud.deploy.v1.Target.Builder addTargetsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -985,21 +1075,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1007,30 +1098,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1040,18 +1138,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1061,6 +1163,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1068,35 +1171,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1104,31 +1215,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1136,17 +1253,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1154,50 +1275,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1205,9 +1334,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1346,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ListTargetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ListTargetsResponse) private static final com.google.cloud.deploy.v1.ListTargetsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ListTargetsResponse(); } @@ -1231,27 +1360,27 @@ public static com.google.cloud.deploy.v1.ListTargetsResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTargetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTargetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1395,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListTargetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java index 7d60b09d9e1b..e54d1c387c5f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ListTargetsResponseOrBuilder extends +public interface ListTargetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListTargetsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `Target` objects.
    * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - java.util.List - getTargetsList(); + java.util.List getTargetsList(); /** + * + * *
    * The `Target` objects.
    * 
@@ -25,6 +44,8 @@ public interface ListTargetsResponseOrBuilder extends */ com.google.cloud.deploy.v1.Target getTargets(int index); /** + * + * *
    * The `Target` objects.
    * 
@@ -33,84 +54,101 @@ public interface ListTargetsResponseOrBuilder extends */ int getTargetsCount(); /** + * + * *
    * The `Target` objects.
    * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - java.util.List - getTargetsOrBuilderList(); + java.util.List getTargetsOrBuilderList(); /** + * + * *
    * The `Target` objects.
    * 
* * repeated .google.cloud.deploy.v1.Target targets = 1; */ - com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder( - int index); + com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LogEnumsProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LogEnumsProto.java new file mode 100644 index 000000000000..18404d2bc194 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LogEnumsProto.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/log_enums.proto + +package com.google.cloud.deploy.v1; + +public final class LogEnumsProto { + private LogEnumsProto() {} + + 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 com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/deploy/v1/log_enums.proto" + + "\022\026google.cloud.deploy.v1*\363\001\n\004Type\022\024\n\020TYP" + + "E_UNSPECIFIED\020\000\022$\n TYPE_PUBSUB_NOTIFICAT" + + "ION_FAILURE\020\001\022\036\n\032TYPE_RESOURCE_STATE_CHA" + + "NGE\020\003\022\030\n\024TYPE_PROCESS_ABORTED\020\004\022\035\n\031TYPE_" + + "RESTRICTION_VIOLATED\020\005\022\031\n\025TYPE_RESOURCE_" + + "DELETED\020\006\022\027\n\023TYPE_ROLLOUT_UPDATE\020\007\022\"\n\032TY" + + "PE_RENDER_STATUES_CHANGE\020\002\032\002\010\001Ba\n\032com.go" + + "ogle.cloud.deploy.v1B\rLogEnumsProtoP\001Z2c" + + "loud.google.com/go/deploy/apiv1/deploypb" + + ";deploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Metadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Metadata.java similarity index 60% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Metadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Metadata.java index 63e3fae3057f..6d0c5331f4c4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Metadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Metadata.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Metadata includes information associated with a `Rollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Metadata} */ -public final class Metadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Metadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Metadata) MetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metadata.newBuilder() to construct. private Metadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Metadata() { - } + + private Metadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Metadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Metadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Metadata.class, com.google.cloud.deploy.v1.Metadata.Builder.class); + com.google.cloud.deploy.v1.Metadata.class, + com.google.cloud.deploy.v1.Metadata.Builder.class); } public static final int CLOUD_RUN_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.CloudRunMetadata cloudRun_; /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ @java.lang.Override @@ -58,40 +81,58 @@ public boolean hasCloudRun() { return cloudRun_ != null; } /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunMetadata getCloudRun() { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder() { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } public static final int AUTOMATION_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.AutomationRolloutMetadata automation_; /** + * + * *
    * Output only. AutomationRolloutMetadata contains the information about the
    * interactions between Automation service and this rollout.
    * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the automation field is set. */ @java.lang.Override @@ -99,39 +140,57 @@ public boolean hasAutomation() { return automation_ != null; } /** + * + * *
    * Output only. AutomationRolloutMetadata contains the information about the
    * interactions between Automation service and this rollout.
    * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The automation. */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRolloutMetadata getAutomation() { - return automation_ == null ? com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() + : automation_; } /** + * + * *
    * Output only. AutomationRolloutMetadata contains the information about the
    * interactions between Automation service and this rollout.
    * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder getAutomationOrBuilder() { - return automation_ == null ? com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() + : automation_; } public static final int CUSTOM_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.CustomMetadata custom_; /** + * + * *
    * Output only. Custom metadata provided by user-defined `Rollout` operations.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ @java.lang.Override @@ -139,30 +198,44 @@ public boolean hasCustom() { return custom_ != null; } /** + * + * *
    * Output only. Custom metadata provided by user-defined `Rollout` operations.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomMetadata getCustom() { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } /** + * + * *
    * Output only. Custom metadata provided by user-defined `Rollout` operations.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder() { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +247,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 (cloudRun_ != null) { output.writeMessage(1, getCloudRun()); } @@ -195,16 +267,13 @@ public int getSerializedSize() { size = 0; if (cloudRun_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCloudRun()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCloudRun()); } if (automation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAutomation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAutomation()); } if (custom_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCustom()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCustom()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -214,7 +283,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.Metadata)) { return super.equals(obj); @@ -223,18 +292,15 @@ public boolean equals(final java.lang.Object obj) { if (hasCloudRun() != other.hasCloudRun()) return false; if (hasCloudRun()) { - if (!getCloudRun() - .equals(other.getCloudRun())) return false; + if (!getCloudRun().equals(other.getCloudRun())) return false; } if (hasAutomation() != other.hasAutomation()) return false; if (hasAutomation()) { - if (!getAutomation() - .equals(other.getAutomation())) return false; + if (!getAutomation().equals(other.getAutomation())) return false; } if (hasCustom() != other.hasCustom()) return false; if (hasCustom()) { - if (!getCustom() - .equals(other.getCustom())) return false; + if (!getCustom().equals(other.getCustom())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -264,132 +330,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Metadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Metadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Metadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Metadata parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Metadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Metadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Metadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Metadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Metadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Metadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Metadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Metadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Metadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Metadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata includes information associated with a `Rollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Metadata} */ - 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.cloud.deploy.v1.Metadata) com.google.cloud.deploy.v1.MetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Metadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Metadata.class, com.google.cloud.deploy.v1.Metadata.Builder.class); + com.google.cloud.deploy.v1.Metadata.class, + com.google.cloud.deploy.v1.Metadata.Builder.class); } // Construct using com.google.cloud.deploy.v1.Metadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Metadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Metadata_descriptor; } @java.lang.Override @@ -435,7 +504,9 @@ public com.google.cloud.deploy.v1.Metadata build() { @java.lang.Override public com.google.cloud.deploy.v1.Metadata buildPartial() { com.google.cloud.deploy.v1.Metadata result = new com.google.cloud.deploy.v1.Metadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -443,19 +514,13 @@ public com.google.cloud.deploy.v1.Metadata buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.Metadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.cloudRun_ = cloudRunBuilder_ == null - ? cloudRun_ - : cloudRunBuilder_.build(); + result.cloudRun_ = cloudRunBuilder_ == null ? cloudRun_ : cloudRunBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.automation_ = automationBuilder_ == null - ? automation_ - : automationBuilder_.build(); + result.automation_ = automationBuilder_ == null ? automation_ : automationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.custom_ = customBuilder_ == null - ? custom_ - : customBuilder_.build(); + result.custom_ = customBuilder_ == null ? custom_ : customBuilder_.build(); } } @@ -463,38 +528,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Metadata result) { 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) { + 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) { + 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.cloud.deploy.v1.Metadata) { - return mergeFrom((com.google.cloud.deploy.v1.Metadata)other); + return mergeFrom((com.google.cloud.deploy.v1.Metadata) other); } else { super.mergeFrom(other); return this; @@ -538,33 +604,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCloudRunFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAutomationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCustomFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCloudRunFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAutomationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCustomFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -574,46 +638,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.deploy.v1.CloudRunMetadata cloudRun_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunMetadata, com.google.cloud.deploy.v1.CloudRunMetadata.Builder, com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder> cloudRunBuilder_; + com.google.cloud.deploy.v1.CloudRunMetadata, + com.google.cloud.deploy.v1.CloudRunMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder> + cloudRunBuilder_; /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ public boolean hasCloudRun() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ public com.google.cloud.deploy.v1.CloudRunMetadata getCloudRun() { if (cloudRunBuilder_ == null) { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } else { return cloudRunBuilder_.getMessage(); } } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) { if (cloudRunBuilder_ == null) { @@ -629,12 +713,16 @@ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) { return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudRun( com.google.cloud.deploy.v1.CloudRunMetadata.Builder builderForValue) { @@ -648,18 +736,22 @@ public Builder setCloudRun( return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) { if (cloudRunBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - cloudRun_ != null && - cloudRun_ != com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && cloudRun_ != null + && cloudRun_ != com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance()) { getCloudRunBuilder().mergeFrom(value); } else { cloudRun_ = value; @@ -672,12 +764,16 @@ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunMetadata value) return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCloudRun() { bitField0_ = (bitField0_ & ~0x00000001); @@ -690,12 +786,16 @@ public Builder clearCloudRun() { return this; } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CloudRunMetadata.Builder getCloudRunBuilder() { bitField0_ |= 0x00000001; @@ -703,38 +803,50 @@ public com.google.cloud.deploy.v1.CloudRunMetadata.Builder getCloudRunBuilder() return getCloudRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder() { if (cloudRunBuilder_ != null) { return cloudRunBuilder_.getMessageOrBuilder(); } else { - return cloudRun_ == null ? - com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunMetadata.getDefaultInstance() + : cloudRun_; } } /** + * + * *
      * Output only. The name of the Cloud Run Service that is associated with a
      * `Rollout`.
      * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunMetadata, com.google.cloud.deploy.v1.CloudRunMetadata.Builder, com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder> + com.google.cloud.deploy.v1.CloudRunMetadata, + com.google.cloud.deploy.v1.CloudRunMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder> getCloudRunFieldBuilder() { if (cloudRunBuilder_ == null) { - cloudRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunMetadata, com.google.cloud.deploy.v1.CloudRunMetadata.Builder, com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder>( - getCloudRun(), - getParentForChildren(), - isClean()); + cloudRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CloudRunMetadata, + com.google.cloud.deploy.v1.CloudRunMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder>( + getCloudRun(), getParentForChildren(), isClean()); cloudRun_ = null; } return cloudRunBuilder_; @@ -742,42 +854,61 @@ public com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder private com.google.cloud.deploy.v1.AutomationRolloutMetadata automation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRolloutMetadata, com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder, com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder> automationBuilder_; + com.google.cloud.deploy.v1.AutomationRolloutMetadata, + com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder, + com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder> + automationBuilder_; /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the automation field is set. */ public boolean hasAutomation() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The automation. */ public com.google.cloud.deploy.v1.AutomationRolloutMetadata getAutomation() { if (automationBuilder_ == null) { - return automation_ == null ? com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() + : automation_; } else { return automationBuilder_.getMessage(); } } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAutomation(com.google.cloud.deploy.v1.AutomationRolloutMetadata value) { if (automationBuilder_ == null) { @@ -793,12 +924,16 @@ public Builder setAutomation(com.google.cloud.deploy.v1.AutomationRolloutMetadat return this; } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAutomation( com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder builderForValue) { @@ -812,18 +947,23 @@ public Builder setAutomation( return this; } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAutomation(com.google.cloud.deploy.v1.AutomationRolloutMetadata value) { if (automationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - automation_ != null && - automation_ != com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && automation_ != null + && automation_ + != com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance()) { getAutomationBuilder().mergeFrom(value); } else { automation_ = value; @@ -836,12 +976,16 @@ public Builder mergeAutomation(com.google.cloud.deploy.v1.AutomationRolloutMetad return this; } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAutomation() { bitField0_ = (bitField0_ & ~0x00000002); @@ -854,12 +998,16 @@ public Builder clearAutomation() { return this; } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder getAutomationBuilder() { bitField0_ |= 0x00000002; @@ -867,38 +1015,50 @@ public com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder getAutomatio return getAutomationFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder getAutomationOrBuilder() { if (automationBuilder_ != null) { return automationBuilder_.getMessageOrBuilder(); } else { - return automation_ == null ? - com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.AutomationRolloutMetadata.getDefaultInstance() + : automation_; } } /** + * + * *
      * Output only. AutomationRolloutMetadata contains the information about the
      * interactions between Automation service and this rollout.
      * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRolloutMetadata, com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder, com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder> + com.google.cloud.deploy.v1.AutomationRolloutMetadata, + com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder, + com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder> getAutomationFieldBuilder() { if (automationBuilder_ == null) { - automationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRolloutMetadata, com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder, com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder>( - getAutomation(), - getParentForChildren(), - isClean()); + automationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AutomationRolloutMetadata, + com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder, + com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder>( + getAutomation(), getParentForChildren(), isClean()); automation_ = null; } return automationBuilder_; @@ -906,39 +1066,58 @@ public com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder getAutomati private com.google.cloud.deploy.v1.CustomMetadata custom_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder> customBuilder_; + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder> + customBuilder_; /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ public boolean hasCustom() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ public com.google.cloud.deploy.v1.CustomMetadata getCustom() { if (customBuilder_ == null) { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } else { return customBuilder_.getMessage(); } } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata value) { if (customBuilder_ == null) { @@ -954,14 +1133,17 @@ public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata value) { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCustom( - com.google.cloud.deploy.v1.CustomMetadata.Builder builderForValue) { + public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata.Builder builderForValue) { if (customBuilder_ == null) { custom_ = builderForValue.build(); } else { @@ -972,17 +1154,21 @@ public Builder setCustom( return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCustom(com.google.cloud.deploy.v1.CustomMetadata value) { if (customBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - custom_ != null && - custom_ != com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && custom_ != null + && custom_ != com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance()) { getCustomBuilder().mergeFrom(value); } else { custom_ = value; @@ -995,11 +1181,15 @@ public Builder mergeCustom(com.google.cloud.deploy.v1.CustomMetadata value) { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCustom() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1012,11 +1202,15 @@ public Builder clearCustom() { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomMetadata.Builder getCustomBuilder() { bitField0_ |= 0x00000004; @@ -1024,43 +1218,55 @@ public com.google.cloud.deploy.v1.CustomMetadata.Builder getCustomBuilder() { return getCustomFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder() { if (customBuilder_ != null) { return customBuilder_.getMessageOrBuilder(); } else { - return custom_ == null ? - com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } } /** + * + * *
      * Output only. Custom metadata provided by user-defined `Rollout` operations.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder> + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder> getCustomFieldBuilder() { if (customBuilder_ == null) { - customBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder>( - getCustom(), - getParentForChildren(), - isClean()); + customBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder>( + getCustom(), getParentForChildren(), isClean()); custom_ = null; } return customBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1070,12 +1276,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Metadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Metadata) private static final com.google.cloud.deploy.v1.Metadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Metadata(); } @@ -1084,27 +1290,27 @@ public static com.google.cloud.deploy.v1.Metadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,6 +1325,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Metadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MetadataOrBuilder.java similarity index 54% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MetadataOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MetadataOrBuilder.java index c8f81a1b8330..74e944904bbb 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MetadataOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MetadataOrBuilder.java @@ -1,96 +1,154 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface MetadataOrBuilder extends +public interface MetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Metadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ boolean hasCloudRun(); /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ com.google.cloud.deploy.v1.CloudRunMetadata getCloudRun(); /** + * + * *
    * Output only. The name of the Cloud Run Service that is associated with a
    * `Rollout`.
    * 
* - * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CloudRunMetadataOrBuilder getCloudRunOrBuilder(); /** + * + * *
    * Output only. AutomationRolloutMetadata contains the information about the
    * interactions between Automation service and this rollout.
    * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the automation field is set. */ boolean hasAutomation(); /** + * + * *
    * Output only. AutomationRolloutMetadata contains the information about the
    * interactions between Automation service and this rollout.
    * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The automation. */ com.google.cloud.deploy.v1.AutomationRolloutMetadata getAutomation(); /** + * + * *
    * Output only. AutomationRolloutMetadata contains the information about the
    * interactions between Automation service and this rollout.
    * 
* - * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.AutomationRolloutMetadataOrBuilder getAutomationOrBuilder(); /** + * + * *
    * Output only. Custom metadata provided by user-defined `Rollout` operations.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ boolean hasCustom(); /** + * + * *
    * Output only. Custom metadata provided by user-defined `Rollout` operations.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ com.google.cloud.deploy.v1.CustomMetadata getCustom(); /** + * + * *
    * Output only. Custom metadata provided by user-defined `Rollout` operations.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTarget.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTarget.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTarget.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTarget.java index 23510670b55f..ece2eaddbba3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTarget.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTarget.java @@ -1,82 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Information specifying a multiTarget.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.MultiTarget} */ -public final class MultiTarget extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MultiTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.MultiTarget) MultiTargetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MultiTarget.newBuilder() to construct. private MultiTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MultiTarget() { - targetIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + targetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MultiTarget(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.MultiTarget.class, com.google.cloud.deploy.v1.MultiTarget.Builder.class); + com.google.cloud.deploy.v1.MultiTarget.class, + com.google.cloud.deploy.v1.MultiTarget.Builder.class); } public static final int TARGET_IDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList targetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the targetIds. */ - public com.google.protobuf.ProtocolStringList - getTargetIdsList() { + public com.google.protobuf.ProtocolStringList getTargetIdsList() { return targetIds_; } /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ @@ -84,20 +111,23 @@ public java.lang.String getTargetIds(int index) { return targetIds_.get(index); } /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the targetIds at the given index. */ - public com.google.protobuf.ByteString - getTargetIdsBytes(int index) { + public com.google.protobuf.ByteString getTargetIdsBytes(int index) { return targetIds_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +139,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 < targetIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetIds_.getRaw(i)); } @@ -139,15 +168,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.cloud.deploy.v1.MultiTarget)) { return super.equals(obj); } com.google.cloud.deploy.v1.MultiTarget other = (com.google.cloud.deploy.v1.MultiTarget) obj; - if (!getTargetIdsList() - .equals(other.getTargetIdsList())) return false; + if (!getTargetIdsList().equals(other.getTargetIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,145 +196,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.MultiTarget parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.MultiTarget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.MultiTarget parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.MultiTarget parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.MultiTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.MultiTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information specifying a multiTarget.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.MultiTarget} */ - 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.cloud.deploy.v1.MultiTarget) com.google.cloud.deploy.v1.MultiTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.MultiTarget.class, com.google.cloud.deploy.v1.MultiTarget.Builder.class); + com.google.cloud.deploy.v1.MultiTarget.class, + com.google.cloud.deploy.v1.MultiTarget.Builder.class); } // Construct using com.google.cloud.deploy.v1.MultiTarget.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - targetIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + targetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; } @java.lang.Override @@ -325,8 +356,11 @@ public com.google.cloud.deploy.v1.MultiTarget build() { @java.lang.Override public com.google.cloud.deploy.v1.MultiTarget buildPartial() { - com.google.cloud.deploy.v1.MultiTarget result = new com.google.cloud.deploy.v1.MultiTarget(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.MultiTarget result = + new com.google.cloud.deploy.v1.MultiTarget(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +377,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.MultiTarget result) { 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) { + 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) { + 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.cloud.deploy.v1.MultiTarget) { - return mergeFrom((com.google.cloud.deploy.v1.MultiTarget)other); + return mergeFrom((com.google.cloud.deploy.v1.MultiTarget) other); } else { super.mergeFrom(other); return this; @@ -419,18 +454,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureTargetIdsIsMutable(); - targetIds_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureTargetIdsIsMutable(); + targetIds_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,10 +477,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList targetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTargetIdsIsMutable() { if (!targetIds_.isModifiable()) { targetIds_ = new com.google.protobuf.LazyStringArrayList(targetIds_); @@ -451,35 +490,43 @@ private void ensureTargetIdsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the targetIds. */ - public com.google.protobuf.ProtocolStringList - getTargetIdsList() { + public com.google.protobuf.ProtocolStringList getTargetIdsList() { targetIds_.makeImmutable(); return targetIds_; } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ @@ -487,31 +534,37 @@ public java.lang.String getTargetIds(int index) { return targetIds_.get(index); } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the targetIds at the given index. */ - public com.google.protobuf.ByteString - getTargetIdsBytes(int index) { + public com.google.protobuf.ByteString getTargetIdsBytes(int index) { return targetIds_.getByteString(index); } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetIdsIsMutable(); targetIds_.set(index, value); bitField0_ |= 0x00000001; @@ -519,17 +572,21 @@ public Builder setTargetIds( return this; } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The targetIds to add. * @return This builder for chaining. */ - public Builder addTargetIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetIdsIsMutable(); targetIds_.add(value); bitField0_ |= 0x00000001; @@ -537,50 +594,58 @@ public Builder addTargetIds( return this; } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The targetIds to add. * @return This builder for chaining. */ - public Builder addAllTargetIds( - java.lang.Iterable values) { + public Builder addAllTargetIds(java.lang.Iterable values) { ensureTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTargetIds() { - targetIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + targetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Required. The target_ids of this multiTarget.
      * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the targetIds to add. * @return This builder for chaining. */ - public Builder addTargetIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTargetIdsIsMutable(); targetIds_.add(value); @@ -588,9 +653,9 @@ public Builder addTargetIdsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.MultiTarget) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.MultiTarget) private static final com.google.cloud.deploy.v1.MultiTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.MultiTarget(); } @@ -614,27 +679,27 @@ public static com.google.cloud.deploy.v1.MultiTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MultiTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,6 +714,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.MultiTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTargetOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTargetOrBuilder.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTargetOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTargetOrBuilder.java index 8d0c6ffa9842..8542483bc3a3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTargetOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/MultiTargetOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface MultiTargetOrBuilder extends +public interface MultiTargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.MultiTarget) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the targetIds. */ - java.util.List - getTargetIdsList(); + java.util.List getTargetIdsList(); /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of targetIds. */ int getTargetIdsCount(); /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ java.lang.String getTargetIds(int index); /** + * + * *
    * Required. The target_ids of this multiTarget.
    * 
* * repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the targetIds at the given index. */ - com.google.protobuf.ByteString - getTargetIdsBytes(int index); + com.google.protobuf.ByteString getTargetIdsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java index cc85531cbacd..f17d2dad9e72 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,32 +46,37 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.OperationMetadata.class, com.google.cloud.deploy.v1.OperationMetadata.Builder.class); + com.google.cloud.deploy.v1.OperationMetadata.class, + com.google.cloud.deploy.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -61,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -73,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -87,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -99,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -111,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -123,14 +164,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -139,29 +184,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -170,14 +215,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -186,29 +235,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -217,14 +266,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -233,29 +286,29 @@ public java.lang.String getStatusMessage() { 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(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; 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); statusMessage_ = b; return b; } else { @@ -266,6 +319,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -275,6 +330,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -283,14 +339,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -299,29 +359,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -330,6 +390,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +402,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -374,12 +434,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -391,8 +449,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -405,33 +462,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.OperationMetadata other = (com.google.cloud.deploy.v1.OperationMetadata) obj; + com.google.cloud.deploy.v1.OperationMetadata other = + (com.google.cloud.deploy.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,8 +509,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -467,132 +517,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.OperationMetadata} */ - 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.cloud.deploy.v1.OperationMetadata) com.google.cloud.deploy.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.OperationMetadata.class, com.google.cloud.deploy.v1.OperationMetadata.Builder.class); + com.google.cloud.deploy.v1.OperationMetadata.class, + com.google.cloud.deploy.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.deploy.v1.OperationMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -616,9 +670,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -637,8 +691,11 @@ public com.google.cloud.deploy.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.deploy.v1.OperationMetadata buildPartial() { - com.google.cloud.deploy.v1.OperationMetadata result = new com.google.cloud.deploy.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.OperationMetadata result = + new com.google.cloud.deploy.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -646,14 +703,10 @@ public com.google.cloud.deploy.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -676,38 +729,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.OperationMetadata result) 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) { + 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) { + 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.cloud.deploy.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.deploy.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.deploy.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -771,51 +825,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -825,43 +883,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -877,14 +955,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -895,17 +976,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -918,11 +1003,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -935,11 +1024,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -947,36 +1040,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -984,24 +1089,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1012,11 +1128,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1032,14 +1151,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1050,17 +1171,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1073,11 +1197,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1090,11 +1217,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1102,36 +1232,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1139,18 +1277,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1159,20 +1299,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1180,28 +1321,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1211,17 +1359,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1231,18 +1383,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1251,20 +1405,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1272,28 +1427,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1303,17 +1465,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000008; @@ -1323,18 +1489,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; 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(); statusMessage_ = s; return s; @@ -1343,20 +1511,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; 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); statusMessage_ = b; return b; } else { @@ -1364,28 +1533,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1395,17 +1571,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000010; @@ -1413,8 +1593,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1424,6 +1606,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1431,6 +1614,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1440,6 +1625,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1451,6 +1637,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1460,6 +1648,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1471,18 +1660,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1491,20 +1682,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1512,28 +1704,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1543,26 +1742,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1572,12 +1775,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.OperationMetadata) private static final com.google.cloud.deploy.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.OperationMetadata(); } @@ -1586,27 +1789,27 @@ public static com.google.cloud.deploy.v1.OperationMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1621,6 +1824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java index cb7b35a5ef0e..d3b01c8e1793 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java @@ -1,127 +1,182 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -131,27 +186,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Phase.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Phase.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Phase.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Phase.java index dcf00d94cd52..758a80f2d31a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Phase.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Phase.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Phase represents a collection of jobs that are logically grouped together
  * for a `Rollout`.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.Phase}
  */
-public final class Phase extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Phase extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Phase)
     PhaseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Phase.newBuilder() to construct.
   private Phase(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Phase() {
     id_ = "";
     state_ = 0;
@@ -28,34 +46,37 @@ private Phase() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Phase();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Phase_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Phase_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.deploy.v1.Phase.class, com.google.cloud.deploy.v1.Phase.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Valid states of a Phase.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.Phase.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The Phase has an unspecified state.
      * 
@@ -64,6 +85,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The Phase is waiting for an earlier Phase(s) to complete.
      * 
@@ -72,6 +95,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The Phase is in progress.
      * 
@@ -80,6 +105,8 @@ public enum State */ IN_PROGRESS(2), /** + * + * *
      * The Phase has succeeded.
      * 
@@ -88,6 +115,8 @@ public enum State */ SUCCEEDED(3), /** + * + * *
      * The Phase has failed.
      * 
@@ -96,6 +125,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The Phase was aborted.
      * 
@@ -104,6 +135,8 @@ public enum State */ ABORTED(5), /** + * + * *
      * The Phase was skipped.
      * 
@@ -115,6 +148,8 @@ public enum State ; /** + * + * *
      * The Phase has an unspecified state.
      * 
@@ -123,6 +158,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The Phase is waiting for an earlier Phase(s) to complete.
      * 
@@ -131,6 +168,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The Phase is in progress.
      * 
@@ -139,6 +178,8 @@ public enum State */ public static final int IN_PROGRESS_VALUE = 2; /** + * + * *
      * The Phase has succeeded.
      * 
@@ -147,6 +188,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 3; /** + * + * *
      * The Phase has failed.
      * 
@@ -155,6 +198,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The Phase was aborted.
      * 
@@ -163,6 +208,8 @@ public enum State */ public static final int ABORTED_VALUE = 5; /** + * + * *
      * The Phase was skipped.
      * 
@@ -171,7 +218,6 @@ public enum State */ public static final int SKIPPED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -196,53 +242,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return IN_PROGRESS; - case 3: return SUCCEEDED; - case 4: return FAILED; - case 5: return ABORTED; - case 6: return SKIPPED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return IN_PROGRESS; + case 3: + return SUCCEEDED; + case 4: + return FAILED; + case 5: + return ABORTED; + case 6: + return SKIPPED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.Phase.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; @@ -260,15 +310,19 @@ private State(int value) { } private int jobsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object jobs_; + public enum JobsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DEPLOYMENT_JOBS(4), CHILD_ROLLOUT_JOBS(5), JOBS_NOT_SET(0); private final int value; + private JobsCase(int value) { this.value = value; } @@ -284,32 +338,39 @@ public static JobsCase valueOf(int value) { public static JobsCase forNumber(int value) { switch (value) { - case 4: return DEPLOYMENT_JOBS; - case 5: return CHILD_ROLLOUT_JOBS; - case 0: return JOBS_NOT_SET; - default: return null; + case 4: + return DEPLOYMENT_JOBS; + case 5: + return CHILD_ROLLOUT_JOBS; + case 0: + return JOBS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public JobsCase - getJobsCase() { - return JobsCase.forNumber( - jobsCase_); + public JobsCase getJobsCase() { + return JobsCase.forNumber(jobsCase_); } public static final int ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
    * Output only. The ID of the Phase.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ @java.lang.Override @@ -318,29 +379,29 @@ public java.lang.String getId() { 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(); id_ = s; return s; } } /** + * + * *
    * Output only. The ID of the Phase.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -351,39 +412,56 @@ public java.lang.String getId() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** + * + * *
    * Output only. Current state of the Phase.
    * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.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. Current state of the Phase.
    * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.deploy.v1.Phase.State getState() { - com.google.cloud.deploy.v1.Phase.State result = com.google.cloud.deploy.v1.Phase.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.deploy.v1.Phase.State getState() { + com.google.cloud.deploy.v1.Phase.State result = + com.google.cloud.deploy.v1.Phase.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.Phase.State.UNRECOGNIZED : result; } public static final int SKIP_MESSAGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object skipMessage_ = ""; /** + * + * *
    * Output only. Additional information on why the Phase was skipped, if
    * available.
    * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ @java.lang.Override @@ -392,30 +470,30 @@ public java.lang.String getSkipMessage() { 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(); skipMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information on why the Phase was skipped, if
    * available.
    * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkipMessageBytes() { + public com.google.protobuf.ByteString getSkipMessageBytes() { java.lang.Object ref = skipMessage_; 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); skipMessage_ = b; return b; } else { @@ -425,11 +503,16 @@ public java.lang.String getSkipMessage() { public static final int DEPLOYMENT_JOBS_FIELD_NUMBER = 4; /** + * + * *
    * Output only. Deployment job composition.
    * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deploymentJobs field is set. */ @java.lang.Override @@ -437,42 +520,56 @@ public boolean hasDeploymentJobs() { return jobsCase_ == 4; } /** + * + * *
    * Output only. Deployment job composition.
    * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deploymentJobs. */ @java.lang.Override public com.google.cloud.deploy.v1.DeploymentJobs getDeploymentJobs() { if (jobsCase_ == 4) { - return (com.google.cloud.deploy.v1.DeploymentJobs) jobs_; + return (com.google.cloud.deploy.v1.DeploymentJobs) jobs_; } return com.google.cloud.deploy.v1.DeploymentJobs.getDefaultInstance(); } /** + * + * *
    * Output only. Deployment job composition.
    * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeploymentJobsOrBuilder getDeploymentJobsOrBuilder() { if (jobsCase_ == 4) { - return (com.google.cloud.deploy.v1.DeploymentJobs) jobs_; + return (com.google.cloud.deploy.v1.DeploymentJobs) jobs_; } return com.google.cloud.deploy.v1.DeploymentJobs.getDefaultInstance(); } public static final int CHILD_ROLLOUT_JOBS_FIELD_NUMBER = 5; /** + * + * *
    * Output only. ChildRollout job composition.
    * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the childRolloutJobs field is set. */ @java.lang.Override @@ -480,36 +577,46 @@ public boolean hasChildRolloutJobs() { return jobsCase_ == 5; } /** + * + * *
    * Output only. ChildRollout job composition.
    * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The childRolloutJobs. */ @java.lang.Override public com.google.cloud.deploy.v1.ChildRolloutJobs getChildRolloutJobs() { if (jobsCase_ == 5) { - return (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_; + return (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_; } return com.google.cloud.deploy.v1.ChildRolloutJobs.getDefaultInstance(); } /** + * + * *
    * Output only. ChildRollout job composition.
    * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder getChildRolloutJobsOrBuilder() { if (jobsCase_ == 5) { - return (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_; + return (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_; } return com.google.cloud.deploy.v1.ChildRolloutJobs.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -521,8 +628,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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -551,16 +657,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (state_ != com.google.cloud.deploy.v1.Phase.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (jobsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.deploy.v1.DeploymentJobs) jobs_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.deploy.v1.DeploymentJobs) jobs_); } if (jobsCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skipMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, skipMessage_); @@ -573,27 +680,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.cloud.deploy.v1.Phase)) { return super.equals(obj); } com.google.cloud.deploy.v1.Phase other = (com.google.cloud.deploy.v1.Phase) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (state_ != other.state_) return false; - if (!getSkipMessage() - .equals(other.getSkipMessage())) return false; + if (!getSkipMessage().equals(other.getSkipMessage())) return false; if (!getJobsCase().equals(other.getJobsCase())) return false; switch (jobsCase_) { case 4: - if (!getDeploymentJobs() - .equals(other.getDeploymentJobs())) return false; + if (!getDeploymentJobs().equals(other.getDeploymentJobs())) return false; break; case 5: - if (!getChildRolloutJobs() - .equals(other.getChildRolloutJobs())) return false; + if (!getChildRolloutJobs().equals(other.getChildRolloutJobs())) return false; break; case 0: default: @@ -632,99 +735,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Phase parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Phase parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Phase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Phase parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Phase parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Phase parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Phase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Phase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Phase parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Phase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Phase parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Phase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Phase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Phase parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Phase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Phase represents a collection of jobs that are logically grouped together
    * for a `Rollout`.
@@ -732,33 +839,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.Phase}
    */
-  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.cloud.deploy.v1.Phase)
       com.google.cloud.deploy.v1.PhaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Phase_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Phase_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.Phase.class, com.google.cloud.deploy.v1.Phase.Builder.class);
+              com.google.cloud.deploy.v1.Phase.class,
+              com.google.cloud.deploy.v1.Phase.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.Phase.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -778,9 +884,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Phase_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Phase_descriptor;
     }
 
     @java.lang.Override
@@ -800,7 +906,9 @@ public com.google.cloud.deploy.v1.Phase build() {
     @java.lang.Override
     public com.google.cloud.deploy.v1.Phase buildPartial() {
       com.google.cloud.deploy.v1.Phase result = new com.google.cloud.deploy.v1.Phase(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -822,12 +930,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.Phase result) {
     private void buildPartialOneofs(com.google.cloud.deploy.v1.Phase result) {
       result.jobsCase_ = jobsCase_;
       result.jobs_ = this.jobs_;
-      if (jobsCase_ == 4 &&
-          deploymentJobsBuilder_ != null) {
+      if (jobsCase_ == 4 && deploymentJobsBuilder_ != null) {
         result.jobs_ = deploymentJobsBuilder_.build();
       }
-      if (jobsCase_ == 5 &&
-          childRolloutJobsBuilder_ != null) {
+      if (jobsCase_ == 5 && childRolloutJobsBuilder_ != null) {
         result.jobs_ = childRolloutJobsBuilder_.build();
       }
     }
@@ -836,38 +942,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.Phase result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.Phase) {
-        return mergeFrom((com.google.cloud.deploy.v1.Phase)other);
+        return mergeFrom((com.google.cloud.deploy.v1.Phase) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -890,17 +997,20 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Phase other) {
         onChanged();
       }
       switch (other.getJobsCase()) {
-        case DEPLOYMENT_JOBS: {
-          mergeDeploymentJobs(other.getDeploymentJobs());
-          break;
-        }
-        case CHILD_ROLLOUT_JOBS: {
-          mergeChildRolloutJobs(other.getChildRolloutJobs());
-          break;
-        }
-        case JOBS_NOT_SET: {
-          break;
-        }
+        case DEPLOYMENT_JOBS:
+          {
+            mergeDeploymentJobs(other.getDeploymentJobs());
+            break;
+          }
+        case CHILD_ROLLOUT_JOBS:
+          {
+            mergeChildRolloutJobs(other.getChildRolloutJobs());
+            break;
+          }
+        case JOBS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -928,41 +1038,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 24: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getDeploymentJobsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobsCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getChildRolloutJobsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              jobsCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              skipMessage_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 24:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getDeploymentJobsFieldBuilder().getBuilder(), extensionRegistry);
+                jobsCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(
+                    getChildRolloutJobsFieldBuilder().getBuilder(), extensionRegistry);
+                jobsCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                skipMessage_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -972,12 +1085,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int jobsCase_ = 0;
     private java.lang.Object jobs_;
-    public JobsCase
-        getJobsCase() {
-      return JobsCase.forNumber(
-          jobsCase_);
+
+    public JobsCase getJobsCase() {
+      return JobsCase.forNumber(jobsCase_);
     }
 
     public Builder clearJobs() {
@@ -991,18 +1104,20 @@ public Builder clearJobs() {
 
     private java.lang.Object id_ = "";
     /**
+     *
+     *
      * 
      * Output only. The ID of the Phase.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; @@ -1011,20 +1126,21 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. The ID of the Phase.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -1032,28 +1148,35 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. The ID of the Phase.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the Phase.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearId() { @@ -1063,17 +1186,21 @@ public Builder clearId() { return this; } /** + * + * *
      * Output only. The ID of the Phase.
      * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -1083,22 +1210,33 @@ public Builder setIdBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the Phase.
      * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.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. Current state of the Phase.
      * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1109,24 +1247,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the Phase.
      * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.deploy.v1.Phase.State getState() { - com.google.cloud.deploy.v1.Phase.State result = com.google.cloud.deploy.v1.Phase.State.forNumber(state_); + com.google.cloud.deploy.v1.Phase.State result = + com.google.cloud.deploy.v1.Phase.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.Phase.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the Phase.
      * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1140,11 +1289,16 @@ public Builder setState(com.google.cloud.deploy.v1.Phase.State value) { return this; } /** + * + * *
      * Output only. Current state of the Phase.
      * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1156,19 +1310,21 @@ public Builder clearState() { private java.lang.Object skipMessage_ = ""; /** + * + * *
      * Output only. Additional information on why the Phase was skipped, if
      * available.
      * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ public java.lang.String getSkipMessage() { java.lang.Object ref = skipMessage_; 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(); skipMessage_ = s; return s; @@ -1177,21 +1333,22 @@ public java.lang.String getSkipMessage() { } } /** + * + * *
      * Output only. Additional information on why the Phase was skipped, if
      * available.
      * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ - public com.google.protobuf.ByteString - getSkipMessageBytes() { + public com.google.protobuf.ByteString getSkipMessageBytes() { java.lang.Object ref = skipMessage_; 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); skipMessage_ = b; return b; } else { @@ -1199,30 +1356,37 @@ public java.lang.String getSkipMessage() { } } /** + * + * *
      * Output only. Additional information on why the Phase was skipped, if
      * available.
      * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The skipMessage to set. * @return This builder for chaining. */ - public Builder setSkipMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkipMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skipMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Additional information on why the Phase was skipped, if
      * available.
      * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSkipMessage() { @@ -1232,18 +1396,22 @@ public Builder clearSkipMessage() { return this; } /** + * + * *
      * Output only. Additional information on why the Phase was skipped, if
      * available.
      * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for skipMessage to set. * @return This builder for chaining. */ - public Builder setSkipMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkipMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skipMessage_ = value; bitField0_ |= 0x00000004; @@ -1252,13 +1420,21 @@ public Builder setSkipMessageBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeploymentJobs, com.google.cloud.deploy.v1.DeploymentJobs.Builder, com.google.cloud.deploy.v1.DeploymentJobsOrBuilder> deploymentJobsBuilder_; + com.google.cloud.deploy.v1.DeploymentJobs, + com.google.cloud.deploy.v1.DeploymentJobs.Builder, + com.google.cloud.deploy.v1.DeploymentJobsOrBuilder> + deploymentJobsBuilder_; /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deploymentJobs field is set. */ @java.lang.Override @@ -1266,11 +1442,16 @@ public boolean hasDeploymentJobs() { return jobsCase_ == 4; } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deploymentJobs. */ @java.lang.Override @@ -1288,11 +1469,15 @@ public com.google.cloud.deploy.v1.DeploymentJobs getDeploymentJobs() { } } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeploymentJobs(com.google.cloud.deploy.v1.DeploymentJobs value) { if (deploymentJobsBuilder_ == null) { @@ -1308,11 +1493,15 @@ public Builder setDeploymentJobs(com.google.cloud.deploy.v1.DeploymentJobs value return this; } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeploymentJobs( com.google.cloud.deploy.v1.DeploymentJobs.Builder builderForValue) { @@ -1326,18 +1515,25 @@ public Builder setDeploymentJobs( return this; } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeploymentJobs(com.google.cloud.deploy.v1.DeploymentJobs value) { if (deploymentJobsBuilder_ == null) { - if (jobsCase_ == 4 && - jobs_ != com.google.cloud.deploy.v1.DeploymentJobs.getDefaultInstance()) { - jobs_ = com.google.cloud.deploy.v1.DeploymentJobs.newBuilder((com.google.cloud.deploy.v1.DeploymentJobs) jobs_) - .mergeFrom(value).buildPartial(); + if (jobsCase_ == 4 + && jobs_ != com.google.cloud.deploy.v1.DeploymentJobs.getDefaultInstance()) { + jobs_ = + com.google.cloud.deploy.v1.DeploymentJobs.newBuilder( + (com.google.cloud.deploy.v1.DeploymentJobs) jobs_) + .mergeFrom(value) + .buildPartial(); } else { jobs_ = value; } @@ -1353,11 +1549,15 @@ public Builder mergeDeploymentJobs(com.google.cloud.deploy.v1.DeploymentJobs val return this; } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeploymentJobs() { if (deploymentJobsBuilder_ == null) { @@ -1376,21 +1576,29 @@ public Builder clearDeploymentJobs() { return this; } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.DeploymentJobs.Builder getDeploymentJobsBuilder() { return getDeploymentJobsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeploymentJobsOrBuilder getDeploymentJobsOrBuilder() { @@ -1404,21 +1612,30 @@ public com.google.cloud.deploy.v1.DeploymentJobsOrBuilder getDeploymentJobsOrBui } } /** + * + * *
      * Output only. Deployment job composition.
      * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeploymentJobs, com.google.cloud.deploy.v1.DeploymentJobs.Builder, com.google.cloud.deploy.v1.DeploymentJobsOrBuilder> + com.google.cloud.deploy.v1.DeploymentJobs, + com.google.cloud.deploy.v1.DeploymentJobs.Builder, + com.google.cloud.deploy.v1.DeploymentJobsOrBuilder> getDeploymentJobsFieldBuilder() { if (deploymentJobsBuilder_ == null) { if (!(jobsCase_ == 4)) { jobs_ = com.google.cloud.deploy.v1.DeploymentJobs.getDefaultInstance(); } - deploymentJobsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeploymentJobs, com.google.cloud.deploy.v1.DeploymentJobs.Builder, com.google.cloud.deploy.v1.DeploymentJobsOrBuilder>( + deploymentJobsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeploymentJobs, + com.google.cloud.deploy.v1.DeploymentJobs.Builder, + com.google.cloud.deploy.v1.DeploymentJobsOrBuilder>( (com.google.cloud.deploy.v1.DeploymentJobs) jobs_, getParentForChildren(), isClean()); @@ -1430,13 +1647,21 @@ public com.google.cloud.deploy.v1.DeploymentJobsOrBuilder getDeploymentJobsOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.ChildRolloutJobs, com.google.cloud.deploy.v1.ChildRolloutJobs.Builder, com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder> childRolloutJobsBuilder_; + com.google.cloud.deploy.v1.ChildRolloutJobs, + com.google.cloud.deploy.v1.ChildRolloutJobs.Builder, + com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder> + childRolloutJobsBuilder_; /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the childRolloutJobs field is set. */ @java.lang.Override @@ -1444,11 +1669,16 @@ public boolean hasChildRolloutJobs() { return jobsCase_ == 5; } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The childRolloutJobs. */ @java.lang.Override @@ -1466,11 +1696,15 @@ public com.google.cloud.deploy.v1.ChildRolloutJobs getChildRolloutJobs() { } } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setChildRolloutJobs(com.google.cloud.deploy.v1.ChildRolloutJobs value) { if (childRolloutJobsBuilder_ == null) { @@ -1486,11 +1720,15 @@ public Builder setChildRolloutJobs(com.google.cloud.deploy.v1.ChildRolloutJobs v return this; } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setChildRolloutJobs( com.google.cloud.deploy.v1.ChildRolloutJobs.Builder builderForValue) { @@ -1504,18 +1742,25 @@ public Builder setChildRolloutJobs( return this; } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeChildRolloutJobs(com.google.cloud.deploy.v1.ChildRolloutJobs value) { if (childRolloutJobsBuilder_ == null) { - if (jobsCase_ == 5 && - jobs_ != com.google.cloud.deploy.v1.ChildRolloutJobs.getDefaultInstance()) { - jobs_ = com.google.cloud.deploy.v1.ChildRolloutJobs.newBuilder((com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_) - .mergeFrom(value).buildPartial(); + if (jobsCase_ == 5 + && jobs_ != com.google.cloud.deploy.v1.ChildRolloutJobs.getDefaultInstance()) { + jobs_ = + com.google.cloud.deploy.v1.ChildRolloutJobs.newBuilder( + (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_) + .mergeFrom(value) + .buildPartial(); } else { jobs_ = value; } @@ -1531,11 +1776,15 @@ public Builder mergeChildRolloutJobs(com.google.cloud.deploy.v1.ChildRolloutJobs return this; } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearChildRolloutJobs() { if (childRolloutJobsBuilder_ == null) { @@ -1554,21 +1803,29 @@ public Builder clearChildRolloutJobs() { return this; } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.ChildRolloutJobs.Builder getChildRolloutJobsBuilder() { return getChildRolloutJobsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder getChildRolloutJobsOrBuilder() { @@ -1582,21 +1839,30 @@ public com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder getChildRolloutJobsO } } /** + * + * *
      * Output only. ChildRollout job composition.
      * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.ChildRolloutJobs, com.google.cloud.deploy.v1.ChildRolloutJobs.Builder, com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder> + com.google.cloud.deploy.v1.ChildRolloutJobs, + com.google.cloud.deploy.v1.ChildRolloutJobs.Builder, + com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder> getChildRolloutJobsFieldBuilder() { if (childRolloutJobsBuilder_ == null) { if (!(jobsCase_ == 5)) { jobs_ = com.google.cloud.deploy.v1.ChildRolloutJobs.getDefaultInstance(); } - childRolloutJobsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.ChildRolloutJobs, com.google.cloud.deploy.v1.ChildRolloutJobs.Builder, com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder>( + childRolloutJobsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.ChildRolloutJobs, + com.google.cloud.deploy.v1.ChildRolloutJobs.Builder, + com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder>( (com.google.cloud.deploy.v1.ChildRolloutJobs) jobs_, getParentForChildren(), isClean()); @@ -1606,9 +1872,9 @@ public com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder getChildRolloutJobsO onChanged(); return childRolloutJobsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1618,12 +1884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Phase) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Phase) private static final com.google.cloud.deploy.v1.Phase DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Phase(); } @@ -1632,27 +1898,27 @@ public static com.google.cloud.deploy.v1.Phase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Phase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Phase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1667,6 +1933,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Phase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PhaseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PhaseOrBuilder.java similarity index 57% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PhaseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PhaseOrBuilder.java index 8e413f8a136f..e89648956a0f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PhaseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PhaseOrBuilder.java @@ -1,124 +1,188 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PhaseOrBuilder extends +public interface PhaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Phase) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The ID of the Phase.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Output only. The ID of the Phase.
    * 
* * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Output only. Current state of the Phase.
    * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the Phase.
    * 
* - * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.deploy.v1.Phase.State getState(); /** + * + * *
    * Output only. Additional information on why the Phase was skipped, if
    * available.
    * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skipMessage. */ java.lang.String getSkipMessage(); /** + * + * *
    * Output only. Additional information on why the Phase was skipped, if
    * available.
    * 
* * string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skipMessage. */ - com.google.protobuf.ByteString - getSkipMessageBytes(); + com.google.protobuf.ByteString getSkipMessageBytes(); /** + * + * *
    * Output only. Deployment job composition.
    * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deploymentJobs field is set. */ boolean hasDeploymentJobs(); /** + * + * *
    * Output only. Deployment job composition.
    * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deploymentJobs. */ com.google.cloud.deploy.v1.DeploymentJobs getDeploymentJobs(); /** + * + * *
    * Output only. Deployment job composition.
    * 
* - * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.DeploymentJobsOrBuilder getDeploymentJobsOrBuilder(); /** + * + * *
    * Output only. ChildRollout job composition.
    * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the childRolloutJobs field is set. */ boolean hasChildRolloutJobs(); /** + * + * *
    * Output only. ChildRollout job composition.
    * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The childRolloutJobs. */ com.google.cloud.deploy.v1.ChildRolloutJobs getChildRolloutJobs(); /** + * + * *
    * Output only. ChildRollout job composition.
    * 
* - * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.ChildRolloutJobsOrBuilder getChildRolloutJobsOrBuilder(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java index 7522d4a2f490..3ae1ecbeafb0 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * PipelineCondition contains all conditions relevant to a Delivery Pipeline.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.PipelineCondition} */ -public final class PipelineCondition extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PipelineCondition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PipelineCondition) PipelineConditionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PipelineCondition.newBuilder() to construct. private PipelineCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PipelineCondition() { - } + + private PipelineCondition() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PipelineCondition(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PipelineCondition.class, com.google.cloud.deploy.v1.PipelineCondition.Builder.class); + com.google.cloud.deploy.v1.PipelineCondition.class, + com.google.cloud.deploy.v1.PipelineCondition.Builder.class); } public static final int PIPELINE_READY_CONDITION_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.PipelineReadyCondition pipelineReadyCondition_; /** + * + * *
    * Details around the Pipeline's overall status.
    * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; + * * @return Whether the pipelineReadyCondition field is set. */ @java.lang.Override @@ -57,18 +78,25 @@ public boolean hasPipelineReadyCondition() { return pipelineReadyCondition_ != null; } /** + * + * *
    * Details around the Pipeline's overall status.
    * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; + * * @return The pipelineReadyCondition. */ @java.lang.Override public com.google.cloud.deploy.v1.PipelineReadyCondition getPipelineReadyCondition() { - return pipelineReadyCondition_ == null ? com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() : pipelineReadyCondition_; + return pipelineReadyCondition_ == null + ? com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() + : pipelineReadyCondition_; } /** + * + * *
    * Details around the Pipeline's overall status.
    * 
@@ -76,18 +104,24 @@ public com.google.cloud.deploy.v1.PipelineReadyCondition getPipelineReadyConditi * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; */ @java.lang.Override - public com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder getPipelineReadyConditionOrBuilder() { - return pipelineReadyCondition_ == null ? com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() : pipelineReadyCondition_; + public com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder + getPipelineReadyConditionOrBuilder() { + return pipelineReadyCondition_ == null + ? com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() + : pipelineReadyCondition_; } public static final int TARGETS_PRESENT_CONDITION_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.TargetsPresentCondition targetsPresentCondition_; /** + * + * *
    * Details around targets enumerated in the pipeline.
    * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; + * * @return Whether the targetsPresentCondition field is set. */ @java.lang.Override @@ -95,18 +129,25 @@ public boolean hasTargetsPresentCondition() { return targetsPresentCondition_ != null; } /** + * + * *
    * Details around targets enumerated in the pipeline.
    * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; + * * @return The targetsPresentCondition. */ @java.lang.Override public com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondition() { - return targetsPresentCondition_ == null ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } /** + * + * *
    * Details around targets enumerated in the pipeline.
    * 
@@ -114,19 +155,25 @@ public com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondi * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; */ @java.lang.Override - public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder() { - return targetsPresentCondition_ == null ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder + getTargetsPresentConditionOrBuilder() { + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } public static final int TARGETS_TYPE_CONDITION_FIELD_NUMBER = 4; private com.google.cloud.deploy.v1.TargetsTypeCondition targetsTypeCondition_; /** + * + * *
    * Details on the whether the targets enumerated in the pipeline are of the
    * same type.
    * 
* * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4; + * * @return Whether the targetsTypeCondition field is set. */ @java.lang.Override @@ -134,19 +181,26 @@ public boolean hasTargetsTypeCondition() { return targetsTypeCondition_ != null; } /** + * + * *
    * Details on the whether the targets enumerated in the pipeline are of the
    * same type.
    * 
* * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4; + * * @return The targetsTypeCondition. */ @java.lang.Override public com.google.cloud.deploy.v1.TargetsTypeCondition getTargetsTypeCondition() { - return targetsTypeCondition_ == null ? com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance() : targetsTypeCondition_; + return targetsTypeCondition_ == null + ? com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance() + : targetsTypeCondition_; } /** + * + * *
    * Details on the whether the targets enumerated in the pipeline are of the
    * same type.
@@ -155,11 +209,15 @@ public com.google.cloud.deploy.v1.TargetsTypeCondition getTargetsTypeCondition()
    * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;
    */
   @java.lang.Override
-  public com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder getTargetsTypeConditionOrBuilder() {
-    return targetsTypeCondition_ == null ? com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance() : targetsTypeCondition_;
+  public com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder
+      getTargetsTypeConditionOrBuilder() {
+    return targetsTypeCondition_ == null
+        ? com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance()
+        : targetsTypeCondition_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,8 +229,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 (pipelineReadyCondition_ != null) {
       output.writeMessage(1, getPipelineReadyCondition());
     }
@@ -192,16 +249,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (pipelineReadyCondition_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPipelineReadyCondition());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPipelineReadyCondition());
     }
     if (targetsPresentCondition_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getTargetsPresentCondition());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTargetsPresentCondition());
     }
     if (targetsTypeCondition_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getTargetsTypeCondition());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTargetsTypeCondition());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -211,27 +268,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.cloud.deploy.v1.PipelineCondition)) {
       return super.equals(obj);
     }
-    com.google.cloud.deploy.v1.PipelineCondition other = (com.google.cloud.deploy.v1.PipelineCondition) obj;
+    com.google.cloud.deploy.v1.PipelineCondition other =
+        (com.google.cloud.deploy.v1.PipelineCondition) obj;
 
     if (hasPipelineReadyCondition() != other.hasPipelineReadyCondition()) return false;
     if (hasPipelineReadyCondition()) {
-      if (!getPipelineReadyCondition()
-          .equals(other.getPipelineReadyCondition())) return false;
+      if (!getPipelineReadyCondition().equals(other.getPipelineReadyCondition())) return false;
     }
     if (hasTargetsPresentCondition() != other.hasTargetsPresentCondition()) return false;
     if (hasTargetsPresentCondition()) {
-      if (!getTargetsPresentCondition()
-          .equals(other.getTargetsPresentCondition())) return false;
+      if (!getTargetsPresentCondition().equals(other.getTargetsPresentCondition())) return false;
     }
     if (hasTargetsTypeCondition() != other.hasTargetsTypeCondition()) return false;
     if (hasTargetsTypeCondition()) {
-      if (!getTargetsTypeCondition()
-          .equals(other.getTargetsTypeCondition())) return false;
+      if (!getTargetsTypeCondition().equals(other.getTargetsTypeCondition())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -261,132 +316,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.deploy.v1.PipelineCondition parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.deploy.v1.PipelineCondition parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.deploy.v1.PipelineCondition parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.PipelineCondition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.deploy.v1.PipelineCondition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * PipelineCondition contains all conditions relevant to a Delivery Pipeline.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.PipelineCondition} */ - 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.cloud.deploy.v1.PipelineCondition) com.google.cloud.deploy.v1.PipelineConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PipelineCondition.class, com.google.cloud.deploy.v1.PipelineCondition.Builder.class); + com.google.cloud.deploy.v1.PipelineCondition.class, + com.google.cloud.deploy.v1.PipelineCondition.Builder.class); } // Construct using com.google.cloud.deploy.v1.PipelineCondition.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; } @java.lang.Override @@ -431,8 +490,11 @@ public com.google.cloud.deploy.v1.PipelineCondition build() { @java.lang.Override public com.google.cloud.deploy.v1.PipelineCondition buildPartial() { - com.google.cloud.deploy.v1.PipelineCondition result = new com.google.cloud.deploy.v1.PipelineCondition(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.PipelineCondition result = + new com.google.cloud.deploy.v1.PipelineCondition(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -440,19 +502,22 @@ public com.google.cloud.deploy.v1.PipelineCondition buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.PipelineCondition result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.pipelineReadyCondition_ = pipelineReadyConditionBuilder_ == null - ? pipelineReadyCondition_ - : pipelineReadyConditionBuilder_.build(); + result.pipelineReadyCondition_ = + pipelineReadyConditionBuilder_ == null + ? pipelineReadyCondition_ + : pipelineReadyConditionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.targetsPresentCondition_ = targetsPresentConditionBuilder_ == null - ? targetsPresentCondition_ - : targetsPresentConditionBuilder_.build(); + result.targetsPresentCondition_ = + targetsPresentConditionBuilder_ == null + ? targetsPresentCondition_ + : targetsPresentConditionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.targetsTypeCondition_ = targetsTypeConditionBuilder_ == null - ? targetsTypeCondition_ - : targetsTypeConditionBuilder_.build(); + result.targetsTypeCondition_ = + targetsTypeConditionBuilder_ == null + ? targetsTypeCondition_ + : targetsTypeConditionBuilder_.build(); } } @@ -460,38 +525,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PipelineCondition result) 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) { + 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) { + 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.cloud.deploy.v1.PipelineCondition) { - return mergeFrom((com.google.cloud.deploy.v1.PipelineCondition)other); + return mergeFrom((com.google.cloud.deploy.v1.PipelineCondition) other); } else { super.mergeFrom(other); return this; @@ -535,33 +601,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPipelineReadyConditionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - input.readMessage( - getTargetsPresentConditionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - input.readMessage( - getTargetsTypeConditionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getPipelineReadyConditionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + input.readMessage( + getTargetsPresentConditionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + input.readMessage( + getTargetsTypeConditionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,45 +638,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.deploy.v1.PipelineReadyCondition pipelineReadyCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PipelineReadyCondition, com.google.cloud.deploy.v1.PipelineReadyCondition.Builder, com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder> pipelineReadyConditionBuilder_; + com.google.cloud.deploy.v1.PipelineReadyCondition, + com.google.cloud.deploy.v1.PipelineReadyCondition.Builder, + com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder> + pipelineReadyConditionBuilder_; /** + * + * *
      * Details around the Pipeline's overall status.
      * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; + * * @return Whether the pipelineReadyCondition field is set. */ public boolean hasPipelineReadyCondition() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; + * * @return The pipelineReadyCondition. */ public com.google.cloud.deploy.v1.PipelineReadyCondition getPipelineReadyCondition() { if (pipelineReadyConditionBuilder_ == null) { - return pipelineReadyCondition_ == null ? com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() : pipelineReadyCondition_; + return pipelineReadyCondition_ == null + ? com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() + : pipelineReadyCondition_; } else { return pipelineReadyConditionBuilder_.getMessage(); } } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; */ - public Builder setPipelineReadyCondition(com.google.cloud.deploy.v1.PipelineReadyCondition value) { + public Builder setPipelineReadyCondition( + com.google.cloud.deploy.v1.PipelineReadyCondition value) { if (pipelineReadyConditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -623,6 +705,8 @@ public Builder setPipelineReadyCondition(com.google.cloud.deploy.v1.PipelineRead return this; } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
@@ -641,17 +725,21 @@ public Builder setPipelineReadyCondition( return this; } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; */ - public Builder mergePipelineReadyCondition(com.google.cloud.deploy.v1.PipelineReadyCondition value) { + public Builder mergePipelineReadyCondition( + com.google.cloud.deploy.v1.PipelineReadyCondition value) { if (pipelineReadyConditionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - pipelineReadyCondition_ != null && - pipelineReadyCondition_ != com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && pipelineReadyCondition_ != null + && pipelineReadyCondition_ + != com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance()) { getPipelineReadyConditionBuilder().mergeFrom(value); } else { pipelineReadyCondition_ = value; @@ -664,6 +752,8 @@ public Builder mergePipelineReadyCondition(com.google.cloud.deploy.v1.PipelineRe return this; } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
@@ -681,33 +771,42 @@ public Builder clearPipelineReadyCondition() { return this; } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; */ - public com.google.cloud.deploy.v1.PipelineReadyCondition.Builder getPipelineReadyConditionBuilder() { + public com.google.cloud.deploy.v1.PipelineReadyCondition.Builder + getPipelineReadyConditionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPipelineReadyConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; */ - public com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder getPipelineReadyConditionOrBuilder() { + public com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder + getPipelineReadyConditionOrBuilder() { if (pipelineReadyConditionBuilder_ != null) { return pipelineReadyConditionBuilder_.getMessageOrBuilder(); } else { - return pipelineReadyCondition_ == null ? - com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() : pipelineReadyCondition_; + return pipelineReadyCondition_ == null + ? com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance() + : pipelineReadyCondition_; } } /** + * + * *
      * Details around the Pipeline's overall status.
      * 
@@ -715,14 +814,17 @@ public com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder getPipelineRea * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PipelineReadyCondition, com.google.cloud.deploy.v1.PipelineReadyCondition.Builder, com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder> + com.google.cloud.deploy.v1.PipelineReadyCondition, + com.google.cloud.deploy.v1.PipelineReadyCondition.Builder, + com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder> getPipelineReadyConditionFieldBuilder() { if (pipelineReadyConditionBuilder_ == null) { - pipelineReadyConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.PipelineReadyCondition, com.google.cloud.deploy.v1.PipelineReadyCondition.Builder, com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder>( - getPipelineReadyCondition(), - getParentForChildren(), - isClean()); + pipelineReadyConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.PipelineReadyCondition, + com.google.cloud.deploy.v1.PipelineReadyCondition.Builder, + com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder>( + getPipelineReadyCondition(), getParentForChildren(), isClean()); pipelineReadyCondition_ = null; } return pipelineReadyConditionBuilder_; @@ -730,41 +832,55 @@ public com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder getPipelineRea private com.google.cloud.deploy.v1.TargetsPresentCondition targetsPresentCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.TargetsPresentCondition, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder> targetsPresentConditionBuilder_; + com.google.cloud.deploy.v1.TargetsPresentCondition, + com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, + com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder> + targetsPresentConditionBuilder_; /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; + * * @return Whether the targetsPresentCondition field is set. */ public boolean hasTargetsPresentCondition() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; + * * @return The targetsPresentCondition. */ public com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondition() { if (targetsPresentConditionBuilder_ == null) { - return targetsPresentCondition_ == null ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } else { return targetsPresentConditionBuilder_.getMessage(); } } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; */ - public Builder setTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPresentCondition value) { + public Builder setTargetsPresentCondition( + com.google.cloud.deploy.v1.TargetsPresentCondition value) { if (targetsPresentConditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,6 +894,8 @@ public Builder setTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPres return this; } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
@@ -796,17 +914,21 @@ public Builder setTargetsPresentCondition( return this; } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; */ - public Builder mergeTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPresentCondition value) { + public Builder mergeTargetsPresentCondition( + com.google.cloud.deploy.v1.TargetsPresentCondition value) { if (targetsPresentConditionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - targetsPresentCondition_ != null && - targetsPresentCondition_ != com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && targetsPresentCondition_ != null + && targetsPresentCondition_ + != com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance()) { getTargetsPresentConditionBuilder().mergeFrom(value); } else { targetsPresentCondition_ = value; @@ -819,6 +941,8 @@ public Builder mergeTargetsPresentCondition(com.google.cloud.deploy.v1.TargetsPr return this; } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
@@ -836,33 +960,42 @@ public Builder clearTargetsPresentCondition() { return this; } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; */ - public com.google.cloud.deploy.v1.TargetsPresentCondition.Builder getTargetsPresentConditionBuilder() { + public com.google.cloud.deploy.v1.TargetsPresentCondition.Builder + getTargetsPresentConditionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTargetsPresentConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; */ - public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder() { + public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder + getTargetsPresentConditionOrBuilder() { if (targetsPresentConditionBuilder_ != null) { return targetsPresentConditionBuilder_.getMessageOrBuilder(); } else { - return targetsPresentCondition_ == null ? - com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() : targetsPresentCondition_; + return targetsPresentCondition_ == null + ? com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance() + : targetsPresentCondition_; } } /** + * + * *
      * Details around targets enumerated in the pipeline.
      * 
@@ -870,14 +1003,17 @@ public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPre * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.TargetsPresentCondition, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder> + com.google.cloud.deploy.v1.TargetsPresentCondition, + com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, + com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder> getTargetsPresentConditionFieldBuilder() { if (targetsPresentConditionBuilder_ == null) { - targetsPresentConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.TargetsPresentCondition, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder>( - getTargetsPresentCondition(), - getParentForChildren(), - isClean()); + targetsPresentConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.TargetsPresentCondition, + com.google.cloud.deploy.v1.TargetsPresentCondition.Builder, + com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder>( + getTargetsPresentCondition(), getParentForChildren(), isClean()); targetsPresentCondition_ = null; } return targetsPresentConditionBuilder_; @@ -885,36 +1021,49 @@ public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPre private com.google.cloud.deploy.v1.TargetsTypeCondition targetsTypeCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.TargetsTypeCondition, com.google.cloud.deploy.v1.TargetsTypeCondition.Builder, com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder> targetsTypeConditionBuilder_; + com.google.cloud.deploy.v1.TargetsTypeCondition, + com.google.cloud.deploy.v1.TargetsTypeCondition.Builder, + com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder> + targetsTypeConditionBuilder_; /** + * + * *
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
      * 
* * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4; + * * @return Whether the targetsTypeCondition field is set. */ public boolean hasTargetsTypeCondition() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
      * 
* * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4; + * * @return The targetsTypeCondition. */ public com.google.cloud.deploy.v1.TargetsTypeCondition getTargetsTypeCondition() { if (targetsTypeConditionBuilder_ == null) { - return targetsTypeCondition_ == null ? com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance() : targetsTypeCondition_; + return targetsTypeCondition_ == null + ? com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance() + : targetsTypeCondition_; } else { return targetsTypeConditionBuilder_.getMessage(); } } /** + * + * *
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
@@ -936,6 +1085,8 @@ public Builder setTargetsTypeCondition(com.google.cloud.deploy.v1.TargetsTypeCon
       return this;
     }
     /**
+     *
+     *
      * 
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
@@ -955,6 +1106,8 @@ public Builder setTargetsTypeCondition(
       return this;
     }
     /**
+     *
+     *
      * 
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
@@ -962,11 +1115,13 @@ public Builder setTargetsTypeCondition(
      *
      * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;
      */
-    public Builder mergeTargetsTypeCondition(com.google.cloud.deploy.v1.TargetsTypeCondition value) {
+    public Builder mergeTargetsTypeCondition(
+        com.google.cloud.deploy.v1.TargetsTypeCondition value) {
       if (targetsTypeConditionBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          targetsTypeCondition_ != null &&
-          targetsTypeCondition_ != com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && targetsTypeCondition_ != null
+            && targetsTypeCondition_
+                != com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance()) {
           getTargetsTypeConditionBuilder().mergeFrom(value);
         } else {
           targetsTypeCondition_ = value;
@@ -979,6 +1134,8 @@ public Builder mergeTargetsTypeCondition(com.google.cloud.deploy.v1.TargetsTypeC
       return this;
     }
     /**
+     *
+     *
      * 
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
@@ -997,6 +1154,8 @@ public Builder clearTargetsTypeCondition() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
@@ -1004,12 +1163,15 @@ public Builder clearTargetsTypeCondition() {
      *
      * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;
      */
-    public com.google.cloud.deploy.v1.TargetsTypeCondition.Builder getTargetsTypeConditionBuilder() {
+    public com.google.cloud.deploy.v1.TargetsTypeCondition.Builder
+        getTargetsTypeConditionBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
       return getTargetsTypeConditionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
@@ -1017,15 +1179,19 @@ public com.google.cloud.deploy.v1.TargetsTypeCondition.Builder getTargetsTypeCon
      *
      * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;
      */
-    public com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder getTargetsTypeConditionOrBuilder() {
+    public com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder
+        getTargetsTypeConditionOrBuilder() {
       if (targetsTypeConditionBuilder_ != null) {
         return targetsTypeConditionBuilder_.getMessageOrBuilder();
       } else {
-        return targetsTypeCondition_ == null ?
-            com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance() : targetsTypeCondition_;
+        return targetsTypeCondition_ == null
+            ? com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance()
+            : targetsTypeCondition_;
       }
     }
     /**
+     *
+     *
      * 
      * Details on the whether the targets enumerated in the pipeline are of the
      * same type.
@@ -1034,21 +1200,24 @@ public com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder getTargetsTypeCo
      * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.TargetsTypeCondition, com.google.cloud.deploy.v1.TargetsTypeCondition.Builder, com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder> 
+            com.google.cloud.deploy.v1.TargetsTypeCondition,
+            com.google.cloud.deploy.v1.TargetsTypeCondition.Builder,
+            com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder>
         getTargetsTypeConditionFieldBuilder() {
       if (targetsTypeConditionBuilder_ == null) {
-        targetsTypeConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.deploy.v1.TargetsTypeCondition, com.google.cloud.deploy.v1.TargetsTypeCondition.Builder, com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder>(
-                getTargetsTypeCondition(),
-                getParentForChildren(),
-                isClean());
+        targetsTypeConditionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.deploy.v1.TargetsTypeCondition,
+                com.google.cloud.deploy.v1.TargetsTypeCondition.Builder,
+                com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder>(
+                getTargetsTypeCondition(), getParentForChildren(), isClean());
         targetsTypeCondition_ = null;
       }
       return targetsTypeConditionBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1058,12 +1227,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PipelineCondition)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PipelineCondition)
   private static final com.google.cloud.deploy.v1.PipelineCondition DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PipelineCondition();
   }
@@ -1072,27 +1241,27 @@ public static com.google.cloud.deploy.v1.PipelineCondition getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PipelineCondition parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PipelineCondition parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1107,6 +1276,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.deploy.v1.PipelineCondition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java
index 2856b33f3805..8a66b2f9484b 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
-public interface PipelineConditionOrBuilder extends
+public interface PipelineConditionOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PipelineCondition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Details around the Pipeline's overall status.
    * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; + * * @return Whether the pipelineReadyCondition field is set. */ boolean hasPipelineReadyCondition(); /** + * + * *
    * Details around the Pipeline's overall status.
    * 
* * .google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1; + * * @return The pipelineReadyCondition. */ com.google.cloud.deploy.v1.PipelineReadyCondition getPipelineReadyCondition(); /** + * + * *
    * Details around the Pipeline's overall status.
    * 
@@ -35,24 +59,32 @@ public interface PipelineConditionOrBuilder extends com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder getPipelineReadyConditionOrBuilder(); /** + * + * *
    * Details around targets enumerated in the pipeline.
    * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; + * * @return Whether the targetsPresentCondition field is set. */ boolean hasTargetsPresentCondition(); /** + * + * *
    * Details around targets enumerated in the pipeline.
    * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; + * * @return The targetsPresentCondition. */ com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondition(); /** + * + * *
    * Details around targets enumerated in the pipeline.
    * 
@@ -62,26 +94,34 @@ public interface PipelineConditionOrBuilder extends com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder(); /** + * + * *
    * Details on the whether the targets enumerated in the pipeline are of the
    * same type.
    * 
* * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4; + * * @return Whether the targetsTypeCondition field is set. */ boolean hasTargetsTypeCondition(); /** + * + * *
    * Details on the whether the targets enumerated in the pipeline are of the
    * same type.
    * 
* * .google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4; + * * @return The targetsTypeCondition. */ com.google.cloud.deploy.v1.TargetsTypeCondition getTargetsTypeCondition(); /** + * + * *
    * Details on the whether the targets enumerated in the pipeline are of the
    * same type.
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java
similarity index 68%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java
index 335ee259d31a..d3c4c5eec606 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
 /**
+ *
+ *
  * 
  * PipelineReadyCondition contains information around the status of the
  * Pipeline.
@@ -11,41 +28,44 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.PipelineReadyCondition}
  */
-public final class PipelineReadyCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PipelineReadyCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PipelineReadyCondition)
     PipelineReadyConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PipelineReadyCondition.newBuilder() to construct.
   private PipelineReadyCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private PipelineReadyCondition() {
-  }
+
+  private PipelineReadyCondition() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PipelineReadyCondition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.PipelineReadyCondition.class, com.google.cloud.deploy.v1.PipelineReadyCondition.Builder.class);
+            com.google.cloud.deploy.v1.PipelineReadyCondition.class,
+            com.google.cloud.deploy.v1.PipelineReadyCondition.Builder.class);
   }
 
   public static final int STATUS_FIELD_NUMBER = 3;
   private boolean status_ = false;
   /**
+   *
+   *
    * 
    * True if the Pipeline is in a valid state. Otherwise at least one condition
    * in `PipelineCondition` is in an invalid state. Iterate over those
@@ -54,6 +74,7 @@ protected java.lang.Object newInstance(
    * 
* * bool status = 3; + * * @return The status. */ @java.lang.Override @@ -64,11 +85,14 @@ public boolean getStatus() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -76,11 +100,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -88,6 +115,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Last time the condition was updated.
    * 
@@ -100,6 +129,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +141,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 (status_ != false) { output.writeBool(3, status_); } @@ -129,12 +158,10 @@ public int getSerializedSize() { size = 0; if (status_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, status_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, status_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -144,19 +171,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.cloud.deploy.v1.PipelineReadyCondition)) { return super.equals(obj); } - com.google.cloud.deploy.v1.PipelineReadyCondition other = (com.google.cloud.deploy.v1.PipelineReadyCondition) obj; + com.google.cloud.deploy.v1.PipelineReadyCondition other = + (com.google.cloud.deploy.v1.PipelineReadyCondition) obj; - if (getStatus() - != other.getStatus()) return false; + if (getStatus() != other.getStatus()) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -170,8 +196,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStatus()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStatus()); if (hasUpdateTime()) { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); @@ -182,98 +207,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.PipelineReadyCondition 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.cloud.deploy.v1.PipelineReadyCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.PipelineReadyCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PipelineReadyCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PipelineReadyCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PipelineReadyCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * PipelineReadyCondition contains information around the status of the
    * Pipeline.
@@ -281,33 +311,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.PipelineReadyCondition}
    */
-  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.cloud.deploy.v1.PipelineReadyCondition)
       com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.PipelineReadyCondition.class, com.google.cloud.deploy.v1.PipelineReadyCondition.Builder.class);
+              com.google.cloud.deploy.v1.PipelineReadyCondition.class,
+              com.google.cloud.deploy.v1.PipelineReadyCondition.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.PipelineReadyCondition.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -322,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor;
     }
 
     @java.lang.Override
@@ -343,8 +372,11 @@ public com.google.cloud.deploy.v1.PipelineReadyCondition build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.PipelineReadyCondition buildPartial() {
-      com.google.cloud.deploy.v1.PipelineReadyCondition result = new com.google.cloud.deploy.v1.PipelineReadyCondition(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.PipelineReadyCondition result =
+          new com.google.cloud.deploy.v1.PipelineReadyCondition(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -355,9 +387,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.PipelineReadyCondition res
         result.status_ = status_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
     }
 
@@ -365,38 +395,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PipelineReadyCondition res
     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) {
+        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) {
+        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.cloud.deploy.v1.PipelineReadyCondition) {
-        return mergeFrom((com.google.cloud.deploy.v1.PipelineReadyCondition)other);
+        return mergeFrom((com.google.cloud.deploy.v1.PipelineReadyCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -404,7 +435,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.PipelineReadyCondition other) {
-      if (other == com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.PipelineReadyCondition.getDefaultInstance())
+        return this;
       if (other.getStatus() != false) {
         setStatus(other.getStatus());
       }
@@ -437,24 +469,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 24: {
-              status_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 24:
+              {
+                status_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -464,10 +497,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean status_ ;
+    private boolean status_;
     /**
+     *
+     *
      * 
      * True if the Pipeline is in a valid state. Otherwise at least one condition
      * in `PipelineCondition` is in an invalid state. Iterate over those
@@ -476,6 +512,7 @@ public Builder mergeFrom(
      * 
* * bool status = 3; + * * @return The status. */ @java.lang.Override @@ -483,6 +520,8 @@ public boolean getStatus() { return status_; } /** + * + * *
      * True if the Pipeline is in a valid state. Otherwise at least one condition
      * in `PipelineCondition` is in an invalid state. Iterate over those
@@ -491,6 +530,7 @@ public boolean getStatus() {
      * 
* * bool status = 3; + * * @param value The status to set. * @return This builder for chaining. */ @@ -502,6 +542,8 @@ public Builder setStatus(boolean value) { return this; } /** + * + * *
      * True if the Pipeline is in a valid state. Otherwise at least one condition
      * in `PipelineCondition` is in an invalid state. Iterate over those
@@ -510,6 +552,7 @@ public Builder setStatus(boolean value) {
      * 
* * bool status = 3; + * * @return This builder for chaining. */ public Builder clearStatus() { @@ -521,34 +564,47 @@ public Builder clearStatus() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Last time the condition was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Last time the condition was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -569,14 +625,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last time the condition was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -587,6 +644,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -595,9 +654,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -610,6 +669,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -627,6 +688,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -639,6 +702,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -649,11 +714,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -661,21 +729,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -685,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PipelineReadyCondition) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PipelineReadyCondition) private static final com.google.cloud.deploy.v1.PipelineReadyCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PipelineReadyCondition(); } @@ -699,27 +770,27 @@ public static com.google.cloud.deploy.v1.PipelineReadyCondition getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PipelineReadyCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PipelineReadyCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -734,6 +805,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PipelineReadyCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java index f86867e0018c..52e1b7218851 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PipelineReadyConditionOrBuilder extends +public interface PipelineReadyConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PipelineReadyCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * True if the Pipeline is in a valid state. Otherwise at least one condition
    * in `PipelineCondition` is in an invalid state. Iterate over those
@@ -16,29 +34,38 @@ public interface PipelineReadyConditionOrBuilder extends
    * 
* * bool status = 3; + * * @return The status. */ boolean getStatus(); /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Last time the condition was updated.
    * 
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Postdeploy.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Postdeploy.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Postdeploy.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Postdeploy.java index a3c8afc93fe2..d5b377e07d45 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Postdeploy.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Postdeploy.java @@ -1,85 +1,112 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Postdeploy contains the postdeploy job configuration information.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Postdeploy} */ -public final class Postdeploy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Postdeploy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Postdeploy) PostdeployOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Postdeploy.newBuilder() to construct. private Postdeploy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Postdeploy() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Postdeploy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Postdeploy.class, com.google.cloud.deploy.v1.Postdeploy.Builder.class); + com.google.cloud.deploy.v1.Postdeploy.class, + com.google.cloud.deploy.v1.Postdeploy.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { return actions_; } /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -87,21 +114,24 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +143,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 < actions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actions_.getRaw(i)); } @@ -143,15 +172,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.cloud.deploy.v1.Postdeploy)) { return super.equals(obj); } com.google.cloud.deploy.v1.Postdeploy other = (com.google.cloud.deploy.v1.Postdeploy) obj; - if (!getActionsList() - .equals(other.getActionsList())) return false; + if (!getActionsList().equals(other.getActionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,145 +200,147 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Postdeploy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Postdeploy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Postdeploy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Postdeploy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Postdeploy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Postdeploy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Postdeploy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Postdeploy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Postdeploy contains the postdeploy job configuration information.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Postdeploy} */ - 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.cloud.deploy.v1.Postdeploy) com.google.cloud.deploy.v1.PostdeployOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Postdeploy.class, com.google.cloud.deploy.v1.Postdeploy.Builder.class); + com.google.cloud.deploy.v1.Postdeploy.class, + com.google.cloud.deploy.v1.Postdeploy.Builder.class); } // Construct using com.google.cloud.deploy.v1.Postdeploy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; } @java.lang.Override @@ -329,8 +359,11 @@ public com.google.cloud.deploy.v1.Postdeploy build() { @java.lang.Override public com.google.cloud.deploy.v1.Postdeploy buildPartial() { - com.google.cloud.deploy.v1.Postdeploy result = new com.google.cloud.deploy.v1.Postdeploy(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.Postdeploy result = + new com.google.cloud.deploy.v1.Postdeploy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -347,38 +380,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Postdeploy result) { 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) { + 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) { + 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.cloud.deploy.v1.Postdeploy) { - return mergeFrom((com.google.cloud.deploy.v1.Postdeploy)other); + return mergeFrom((com.google.cloud.deploy.v1.Postdeploy) other); } else { super.mergeFrom(other); return this; @@ -423,18 +457,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureActionsIsMutable(); - actions_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureActionsIsMutable(); + actions_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -444,10 +480,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureActionsIsMutable() { if (!actions_.isModifiable()) { actions_ = new com.google.protobuf.LazyStringArrayList(actions_); @@ -455,38 +493,46 @@ private void ensureActionsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { actions_.makeImmutable(); return actions_; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -494,33 +540,39 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The actions to set. * @return This builder for chaining. */ - public Builder setActions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.set(index, value); bitField0_ |= 0x00000001; @@ -528,18 +580,22 @@ public Builder setActions( return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The actions to add. * @return This builder for chaining. */ - public Builder addActions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.add(value); bitField0_ |= 0x00000001; @@ -547,53 +603,61 @@ public Builder addActions( return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The actions to add. * @return This builder for chaining. */ - public Builder addAllActions( - java.lang.Iterable values) { + public Builder addAllActions(java.lang.Iterable values) { ensureActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearActions() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the postdeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the actions to add. * @return This builder for chaining. */ - public Builder addActionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureActionsIsMutable(); actions_.add(value); @@ -601,9 +665,9 @@ public Builder addActionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +677,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Postdeploy) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Postdeploy) private static final com.google.cloud.deploy.v1.Postdeploy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Postdeploy(); } @@ -627,27 +691,27 @@ public static com.google.cloud.deploy.v1.Postdeploy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Postdeploy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Postdeploy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,6 +726,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Postdeploy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJob.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJob.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJob.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJob.java index b455a6167729..6d0e5be133cd 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJob.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJob.java @@ -1,82 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A postdeploy Job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.PostdeployJob} */ -public final class PostdeployJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PostdeployJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PostdeployJob) PostdeployJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostdeployJob.newBuilder() to construct. private PostdeployJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PostdeployJob() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostdeployJob(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PostdeployJob.class, com.google.cloud.deploy.v1.PostdeployJob.Builder.class); + com.google.cloud.deploy.v1.PostdeployJob.class, + com.google.cloud.deploy.v1.PostdeployJob.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { return actions_; } /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -84,20 +111,23 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +139,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 < actions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actions_.getRaw(i)); } @@ -139,15 +168,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.cloud.deploy.v1.PostdeployJob)) { return super.equals(obj); } com.google.cloud.deploy.v1.PostdeployJob other = (com.google.cloud.deploy.v1.PostdeployJob) obj; - if (!getActionsList() - .equals(other.getActionsList())) return false; + if (!getActionsList().equals(other.getActionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,145 +196,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.PostdeployJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.PostdeployJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PostdeployJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PostdeployJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PostdeployJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A postdeploy Job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.PostdeployJob} */ - 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.cloud.deploy.v1.PostdeployJob) com.google.cloud.deploy.v1.PostdeployJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PostdeployJob.class, com.google.cloud.deploy.v1.PostdeployJob.Builder.class); + com.google.cloud.deploy.v1.PostdeployJob.class, + com.google.cloud.deploy.v1.PostdeployJob.Builder.class); } // Construct using com.google.cloud.deploy.v1.PostdeployJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; } @java.lang.Override @@ -325,8 +356,11 @@ public com.google.cloud.deploy.v1.PostdeployJob build() { @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJob buildPartial() { - com.google.cloud.deploy.v1.PostdeployJob result = new com.google.cloud.deploy.v1.PostdeployJob(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.PostdeployJob result = + new com.google.cloud.deploy.v1.PostdeployJob(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +377,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PostdeployJob result) { 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) { + 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) { + 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.cloud.deploy.v1.PostdeployJob) { - return mergeFrom((com.google.cloud.deploy.v1.PostdeployJob)other); + return mergeFrom((com.google.cloud.deploy.v1.PostdeployJob) other); } else { super.mergeFrom(other); return this; @@ -419,18 +454,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureActionsIsMutable(); - actions_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureActionsIsMutable(); + actions_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,10 +477,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureActionsIsMutable() { if (!actions_.isModifiable()) { actions_ = new com.google.protobuf.LazyStringArrayList(actions_); @@ -451,35 +490,43 @@ private void ensureActionsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { actions_.makeImmutable(); return actions_; } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -487,31 +534,37 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The actions to set. * @return This builder for chaining. */ - public Builder setActions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.set(index, value); bitField0_ |= 0x00000001; @@ -519,17 +572,21 @@ public Builder setActions( return this; } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The actions to add. * @return This builder for chaining. */ - public Builder addActions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.add(value); bitField0_ |= 0x00000001; @@ -537,50 +594,58 @@ public Builder addActions( return this; } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The actions to add. * @return This builder for chaining. */ - public Builder addAllActions( - java.lang.Iterable values) { + public Builder addAllActions(java.lang.Iterable values) { ensureActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearActions() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Output only. The custom actions that the postdeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the actions to add. * @return This builder for chaining. */ - public Builder addActionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureActionsIsMutable(); actions_.add(value); @@ -588,9 +653,9 @@ public Builder addActionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PostdeployJob) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PostdeployJob) private static final com.google.cloud.deploy.v1.PostdeployJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PostdeployJob(); } @@ -614,27 +679,27 @@ public static com.google.cloud.deploy.v1.PostdeployJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostdeployJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostdeployJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,6 +714,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PostdeployJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobOrBuilder.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobOrBuilder.java index b5ab45c40789..8c3567ad1b8f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PostdeployJobOrBuilder extends +public interface PostdeployJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PostdeployJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the actions. */ - java.util.List - getActionsList(); + java.util.List getActionsList(); /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of actions. */ int getActionsCount(); /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The actions at the given index. */ java.lang.String getActions(int index); /** + * + * *
    * Output only. The custom actions that the postdeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - com.google.protobuf.ByteString - getActionsBytes(int index); + com.google.protobuf.ByteString getActionsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRun.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRun.java index dc89d53b2e81..c0610ba30213 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRun.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * PostdeployJobRun contains information specific to a postdeploy `JobRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.PostdeployJobRun} */ -public final class PostdeployJobRun extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PostdeployJobRun extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PostdeployJobRun) PostdeployJobRunOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostdeployJobRun.newBuilder() to construct. private PostdeployJobRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PostdeployJobRun() { build_ = ""; failureCause_ = 0; @@ -27,34 +45,38 @@ private PostdeployJobRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostdeployJobRun(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PostdeployJobRun.class, com.google.cloud.deploy.v1.PostdeployJobRun.Builder.class); + com.google.cloud.deploy.v1.PostdeployJobRun.class, + com.google.cloud.deploy.v1.PostdeployJobRun.Builder.class); } /** + * + * *
    * Well-known postdeploy failures.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.PostdeployJobRun.FailureCause} */ - public enum FailureCause - implements com.google.protobuf.ProtocolMessageEnum { + public enum FailureCause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No reason for failure is specified.
      * 
@@ -63,6 +85,8 @@ public enum FailureCause */ FAILURE_CAUSE_UNSPECIFIED(0), /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -73,6 +97,8 @@ public enum FailureCause
      */
     CLOUD_BUILD_UNAVAILABLE(1),
     /**
+     *
+     *
      * 
      * The postdeploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -82,6 +108,8 @@ public enum FailureCause
      */
     EXECUTION_FAILED(2),
     /**
+     *
+     *
      * 
      * The postdeploy job run did not complete within the alloted time.
      * 
@@ -90,6 +118,8 @@ public enum FailureCause */ DEADLINE_EXCEEDED(3), /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -102,6 +132,8 @@ public enum FailureCause
     ;
 
     /**
+     *
+     *
      * 
      * No reason for failure is specified.
      * 
@@ -110,6 +142,8 @@ public enum FailureCause */ public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -120,6 +154,8 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_UNAVAILABLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The postdeploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -129,6 +165,8 @@ public enum FailureCause
      */
     public static final int EXECUTION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The postdeploy job run did not complete within the alloted time.
      * 
@@ -137,6 +175,8 @@ public enum FailureCause */ public static final int DEADLINE_EXCEEDED_VALUE = 3; /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -146,7 +186,6 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_REQUEST_FAILED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -171,51 +210,53 @@ public static FailureCause valueOf(int value) {
      */
     public static FailureCause forNumber(int value) {
       switch (value) {
-        case 0: return FAILURE_CAUSE_UNSPECIFIED;
-        case 1: return CLOUD_BUILD_UNAVAILABLE;
-        case 2: return EXECUTION_FAILED;
-        case 3: return DEADLINE_EXCEEDED;
-        case 4: return CLOUD_BUILD_REQUEST_FAILED;
-        default: return null;
+        case 0:
+          return FAILURE_CAUSE_UNSPECIFIED;
+        case 1:
+          return CLOUD_BUILD_UNAVAILABLE;
+        case 2:
+          return EXECUTION_FAILED;
+        case 3:
+          return DEADLINE_EXCEEDED;
+        case 4:
+          return CLOUD_BUILD_REQUEST_FAILED;
+        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<
-        FailureCause> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FailureCause findValueByNumber(int number) {
-              return FailureCause.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 FailureCause findValueByNumber(int number) {
+            return FailureCause.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.deploy.v1.PostdeployJobRun.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FailureCause[] VALUES = values();
 
-    public static FailureCause valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FailureCause 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;
@@ -233,16 +274,22 @@ private FailureCause(int value) {
   }
 
   public static final int BUILD_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object build_ = "";
   /**
+   *
+   *
    * 
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the postdeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ @java.lang.Override @@ -251,31 +298,33 @@ public java.lang.String getBuild() { 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(); build_ = s; return s; } } /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the postdeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -286,41 +335,60 @@ public java.lang.String getBuild() { public static final int FAILURE_CAUSE_FIELD_NUMBER = 2; private int failureCause_ = 0; /** + * + * *
    * Output only. The reason the postdeploy failed. This will always be
    * unspecified while the postdeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
    * Output only. The reason the postdeploy failed. This will always be
    * unspecified while the postdeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ - @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause result = com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause getFailureCause() { + com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause result = + com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.UNRECOGNIZED + : result; } public static final int FAILURE_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object failureMessage_ = ""; /** + * + * *
    * Output only. Additional information about the postdeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ @java.lang.Override @@ -329,30 +397,30 @@ public java.lang.String getFailureMessage() { 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(); failureMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the postdeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -361,6 +429,7 @@ public java.lang.String getFailureMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,12 +441,13 @@ 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(build_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, build_); } - if (failureCause_ != com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { + if (failureCause_ + != com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { @@ -395,9 +465,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(build_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, build_); } - if (failureCause_ != com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, failureCause_); + if (failureCause_ + != com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, failureMessage_); @@ -410,18 +481,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.cloud.deploy.v1.PostdeployJobRun)) { return super.equals(obj); } - com.google.cloud.deploy.v1.PostdeployJobRun other = (com.google.cloud.deploy.v1.PostdeployJobRun) obj; + com.google.cloud.deploy.v1.PostdeployJobRun other = + (com.google.cloud.deploy.v1.PostdeployJobRun) obj; - if (!getBuild() - .equals(other.getBuild())) return false; + if (!getBuild().equals(other.getBuild())) return false; if (failureCause_ != other.failureCause_) return false; - if (!getFailureMessage() - .equals(other.getFailureMessage())) return false; + if (!getFailureMessage().equals(other.getFailureMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -444,132 +514,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.PostdeployJobRun parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.PostdeployJobRun parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PostdeployJobRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PostdeployJobRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PostdeployJobRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * PostdeployJobRun contains information specific to a postdeploy `JobRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.PostdeployJobRun} */ - 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.cloud.deploy.v1.PostdeployJobRun) com.google.cloud.deploy.v1.PostdeployJobRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PostdeployJobRun.class, com.google.cloud.deploy.v1.PostdeployJobRun.Builder.class); + com.google.cloud.deploy.v1.PostdeployJobRun.class, + com.google.cloud.deploy.v1.PostdeployJobRun.Builder.class); } // Construct using com.google.cloud.deploy.v1.PostdeployJobRun.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; } @java.lang.Override @@ -602,8 +676,11 @@ public com.google.cloud.deploy.v1.PostdeployJobRun build() { @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobRun buildPartial() { - com.google.cloud.deploy.v1.PostdeployJobRun result = new com.google.cloud.deploy.v1.PostdeployJobRun(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.PostdeployJobRun result = + new com.google.cloud.deploy.v1.PostdeployJobRun(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -625,38 +702,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PostdeployJobRun result) { 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) { + 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) { + 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.cloud.deploy.v1.PostdeployJobRun) { - return mergeFrom((com.google.cloud.deploy.v1.PostdeployJobRun)other); + return mergeFrom((com.google.cloud.deploy.v1.PostdeployJobRun) other); } else { super.mergeFrom(other); return this; @@ -704,27 +782,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - build_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - failureCause_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - failureMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + build_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + failureCause_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + failureMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -734,24 +816,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object build_ = ""; /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the postdeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; 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(); build_ = s; return s; @@ -760,22 +847,25 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the postdeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -783,32 +873,43 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the postdeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the postdeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -818,19 +919,25 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the postdeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000001; @@ -840,24 +947,35 @@ public Builder setBuildBytes( private int failureCause_ = 0; /** + * + * *
      * Output only. The reason the postdeploy failed. This will always be
      * unspecified while the postdeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
      * Output only. The reason the postdeploy failed. This will always be
      * unspecified while the postdeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for failureCause to set. * @return This builder for chaining. */ @@ -868,26 +986,39 @@ public Builder setFailureCauseValue(int value) { return this; } /** + * + * *
      * Output only. The reason the postdeploy failed. This will always be
      * unspecified while the postdeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause result = com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause result = + com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The reason the postdeploy failed. This will always be
      * unspecified while the postdeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The failureCause to set. * @return This builder for chaining. */ @@ -901,12 +1032,17 @@ public Builder setFailureCause(com.google.cloud.deploy.v1.PostdeployJobRun.Failu return this; } /** + * + * *
      * Output only. The reason the postdeploy failed. This will always be
      * unspecified while the postdeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearFailureCause() { @@ -918,19 +1054,21 @@ public Builder clearFailureCause() { private java.lang.Object failureMessage_ = ""; /** + * + * *
      * Output only. Additional information about the postdeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ public java.lang.String getFailureMessage() { java.lang.Object ref = failureMessage_; 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(); failureMessage_ = s; return s; @@ -939,21 +1077,22 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the postdeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -961,30 +1100,37 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the postdeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } failureMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the postdeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureMessage() { @@ -994,27 +1140,31 @@ public Builder clearFailureMessage() { return this; } /** + * + * *
      * Output only. Additional information about the postdeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); failureMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1024,12 +1174,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PostdeployJobRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PostdeployJobRun) private static final com.google.cloud.deploy.v1.PostdeployJobRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PostdeployJobRun(); } @@ -1038,27 +1188,27 @@ public static com.google.cloud.deploy.v1.PostdeployJobRun getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostdeployJobRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostdeployJobRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1073,6 +1223,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PostdeployJobRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRunOrBuilder.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRunOrBuilder.java index cf97b983dab0..ff5421c2d88e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployJobRunOrBuilder.java @@ -1,76 +1,116 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PostdeployJobRunOrBuilder extends +public interface PostdeployJobRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PostdeployJobRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the postdeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the postdeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); /** + * + * *
    * Output only. The reason the postdeploy failed. This will always be
    * unspecified while the postdeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ int getFailureCauseValue(); /** + * + * *
    * Output only. The reason the postdeploy failed. This will always be
    * unspecified while the postdeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ com.google.cloud.deploy.v1.PostdeployJobRun.FailureCause getFailureCause(); /** + * + * *
    * Output only. Additional information about the postdeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ java.lang.String getFailureMessage(); /** + * + * *
    * Output only. Additional information about the postdeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - com.google.protobuf.ByteString - getFailureMessageBytes(); + com.google.protobuf.ByteString getFailureMessageBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployOrBuilder.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployOrBuilder.java index b97d2da86f9d..fce4b94befd3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PostdeployOrBuilder.java @@ -1,54 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PostdeployOrBuilder extends +public interface PostdeployOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Postdeploy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actions. */ - java.util.List - getActionsList(); + java.util.List getActionsList(); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actions. */ int getActionsCount(); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actions at the given index. */ java.lang.String getActions(int index); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the postdeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - com.google.protobuf.ByteString - getActionsBytes(int index); + com.google.protobuf.ByteString getActionsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Predeploy.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Predeploy.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Predeploy.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Predeploy.java index 531e3f1cf171..2ab20781c65f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Predeploy.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Predeploy.java @@ -1,85 +1,112 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Predeploy contains the predeploy job configuration information.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Predeploy} */ -public final class Predeploy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Predeploy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Predeploy) PredeployOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Predeploy.newBuilder() to construct. private Predeploy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Predeploy() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Predeploy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Predeploy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Predeploy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Predeploy.class, com.google.cloud.deploy.v1.Predeploy.Builder.class); + com.google.cloud.deploy.v1.Predeploy.class, + com.google.cloud.deploy.v1.Predeploy.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { return actions_; } /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -87,21 +114,24 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +143,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 < actions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actions_.getRaw(i)); } @@ -143,15 +172,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.cloud.deploy.v1.Predeploy)) { return super.equals(obj); } com.google.cloud.deploy.v1.Predeploy other = (com.google.cloud.deploy.v1.Predeploy) obj; - if (!getActionsList() - .equals(other.getActionsList())) return false; + if (!getActionsList().equals(other.getActionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,145 +200,147 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Predeploy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Predeploy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Predeploy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Predeploy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Predeploy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Predeploy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Predeploy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Predeploy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Predeploy contains the predeploy job configuration information.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Predeploy} */ - 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.cloud.deploy.v1.Predeploy) com.google.cloud.deploy.v1.PredeployOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Predeploy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Predeploy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Predeploy.class, com.google.cloud.deploy.v1.Predeploy.Builder.class); + com.google.cloud.deploy.v1.Predeploy.class, + com.google.cloud.deploy.v1.Predeploy.Builder.class); } // Construct using com.google.cloud.deploy.v1.Predeploy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Predeploy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Predeploy_descriptor; } @java.lang.Override @@ -330,7 +360,9 @@ public com.google.cloud.deploy.v1.Predeploy build() { @java.lang.Override public com.google.cloud.deploy.v1.Predeploy buildPartial() { com.google.cloud.deploy.v1.Predeploy result = new com.google.cloud.deploy.v1.Predeploy(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -347,38 +379,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Predeploy result) { 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) { + 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) { + 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.cloud.deploy.v1.Predeploy) { - return mergeFrom((com.google.cloud.deploy.v1.Predeploy)other); + return mergeFrom((com.google.cloud.deploy.v1.Predeploy) other); } else { super.mergeFrom(other); return this; @@ -423,18 +456,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureActionsIsMutable(); - actions_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureActionsIsMutable(); + actions_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -444,10 +479,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureActionsIsMutable() { if (!actions_.isModifiable()) { actions_ = new com.google.protobuf.LazyStringArrayList(actions_); @@ -455,38 +492,46 @@ private void ensureActionsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { actions_.makeImmutable(); return actions_; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -494,33 +539,39 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The actions to set. * @return This builder for chaining. */ - public Builder setActions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.set(index, value); bitField0_ |= 0x00000001; @@ -528,18 +579,22 @@ public Builder setActions( return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The actions to add. * @return This builder for chaining. */ - public Builder addActions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.add(value); bitField0_ |= 0x00000001; @@ -547,53 +602,61 @@ public Builder addActions( return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The actions to add. * @return This builder for chaining. */ - public Builder addAllActions( - java.lang.Iterable values) { + public Builder addAllActions(java.lang.Iterable values) { ensureActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearActions() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Optional. A sequence of Skaffold custom actions to invoke during execution
      * of the predeploy job.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the actions to add. * @return This builder for chaining. */ - public Builder addActionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureActionsIsMutable(); actions_.add(value); @@ -601,9 +664,9 @@ public Builder addActionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Predeploy) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Predeploy) private static final com.google.cloud.deploy.v1.Predeploy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Predeploy(); } @@ -627,27 +690,27 @@ public static com.google.cloud.deploy.v1.Predeploy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Predeploy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Predeploy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,6 +725,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Predeploy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJob.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJob.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJob.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJob.java index b878db091581..80122fbcb364 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJob.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJob.java @@ -1,82 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A predeploy Job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.PredeployJob} */ -public final class PredeployJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PredeployJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PredeployJob) PredeployJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PredeployJob.newBuilder() to construct. private PredeployJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PredeployJob() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PredeployJob(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PredeployJob.class, com.google.cloud.deploy.v1.PredeployJob.Builder.class); + com.google.cloud.deploy.v1.PredeployJob.class, + com.google.cloud.deploy.v1.PredeployJob.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { return actions_; } /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -84,20 +111,23 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +139,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 < actions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actions_.getRaw(i)); } @@ -139,15 +168,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.cloud.deploy.v1.PredeployJob)) { return super.equals(obj); } com.google.cloud.deploy.v1.PredeployJob other = (com.google.cloud.deploy.v1.PredeployJob) obj; - if (!getActionsList() - .equals(other.getActionsList())) return false; + if (!getActionsList().equals(other.getActionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,145 +196,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.PredeployJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.PredeployJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.PredeployJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.PredeployJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PredeployJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PredeployJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PredeployJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A predeploy Job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.PredeployJob} */ - 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.cloud.deploy.v1.PredeployJob) com.google.cloud.deploy.v1.PredeployJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PredeployJob.class, com.google.cloud.deploy.v1.PredeployJob.Builder.class); + com.google.cloud.deploy.v1.PredeployJob.class, + com.google.cloud.deploy.v1.PredeployJob.Builder.class); } // Construct using com.google.cloud.deploy.v1.PredeployJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; } @java.lang.Override @@ -325,8 +356,11 @@ public com.google.cloud.deploy.v1.PredeployJob build() { @java.lang.Override public com.google.cloud.deploy.v1.PredeployJob buildPartial() { - com.google.cloud.deploy.v1.PredeployJob result = new com.google.cloud.deploy.v1.PredeployJob(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.PredeployJob result = + new com.google.cloud.deploy.v1.PredeployJob(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +377,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PredeployJob result) { 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) { + 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) { + 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.cloud.deploy.v1.PredeployJob) { - return mergeFrom((com.google.cloud.deploy.v1.PredeployJob)other); + return mergeFrom((com.google.cloud.deploy.v1.PredeployJob) other); } else { super.mergeFrom(other); return this; @@ -419,18 +454,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureActionsIsMutable(); - actions_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureActionsIsMutable(); + actions_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,10 +477,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureActionsIsMutable() { if (!actions_.isModifiable()) { actions_ = new com.google.protobuf.LazyStringArrayList(actions_); @@ -451,35 +490,43 @@ private void ensureActionsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the actions. */ - public com.google.protobuf.ProtocolStringList - getActionsList() { + public com.google.protobuf.ProtocolStringList getActionsList() { actions_.makeImmutable(); return actions_; } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of actions. */ public int getActionsCount() { return actions_.size(); } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The actions at the given index. */ @@ -487,31 +534,37 @@ public java.lang.String getActions(int index) { return actions_.get(index); } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - public com.google.protobuf.ByteString - getActionsBytes(int index) { + public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The actions to set. * @return This builder for chaining. */ - public Builder setActions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.set(index, value); bitField0_ |= 0x00000001; @@ -519,17 +572,21 @@ public Builder setActions( return this; } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The actions to add. * @return This builder for chaining. */ - public Builder addActions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActionsIsMutable(); actions_.add(value); bitField0_ |= 0x00000001; @@ -537,50 +594,58 @@ public Builder addActions( return this; } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The actions to add. * @return This builder for chaining. */ - public Builder addAllActions( - java.lang.Iterable values) { + public Builder addAllActions(java.lang.Iterable values) { ensureActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearActions() { - actions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + actions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Output only. The custom actions that the predeploy Job executes.
      * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the actions to add. * @return This builder for chaining. */ - public Builder addActionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureActionsIsMutable(); actions_.add(value); @@ -588,9 +653,9 @@ public Builder addActionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PredeployJob) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PredeployJob) private static final com.google.cloud.deploy.v1.PredeployJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PredeployJob(); } @@ -614,27 +679,27 @@ public static com.google.cloud.deploy.v1.PredeployJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PredeployJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PredeployJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,6 +714,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PredeployJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobOrBuilder.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobOrBuilder.java index e56f1911ac6e..d1eac577a750 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PredeployJobOrBuilder extends +public interface PredeployJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PredeployJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the actions. */ - java.util.List - getActionsList(); + java.util.List getActionsList(); /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of actions. */ int getActionsCount(); /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The actions at the given index. */ java.lang.String getActions(int index); /** + * + * *
    * Output only. The custom actions that the predeploy Job executes.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - com.google.protobuf.ByteString - getActionsBytes(int index); + com.google.protobuf.ByteString getActionsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRun.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRun.java index 8f790e44b8e9..45ef172a13f4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRun.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * PredeployJobRun contains information specific to a predeploy `JobRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.PredeployJobRun} */ -public final class PredeployJobRun extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PredeployJobRun extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PredeployJobRun) PredeployJobRunOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PredeployJobRun.newBuilder() to construct. private PredeployJobRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PredeployJobRun() { build_ = ""; failureCause_ = 0; @@ -27,34 +45,38 @@ private PredeployJobRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PredeployJobRun(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PredeployJobRun.class, com.google.cloud.deploy.v1.PredeployJobRun.Builder.class); + com.google.cloud.deploy.v1.PredeployJobRun.class, + com.google.cloud.deploy.v1.PredeployJobRun.Builder.class); } /** + * + * *
    * Well-known predeploy failures.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.PredeployJobRun.FailureCause} */ - public enum FailureCause - implements com.google.protobuf.ProtocolMessageEnum { + public enum FailureCause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No reason for failure is specified.
      * 
@@ -63,6 +85,8 @@ public enum FailureCause */ FAILURE_CAUSE_UNSPECIFIED(0), /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -73,6 +97,8 @@ public enum FailureCause
      */
     CLOUD_BUILD_UNAVAILABLE(1),
     /**
+     *
+     *
      * 
      * The predeploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -82,6 +108,8 @@ public enum FailureCause
      */
     EXECUTION_FAILED(2),
     /**
+     *
+     *
      * 
      * The predeploy job run did not complete within the alloted time.
      * 
@@ -90,6 +118,8 @@ public enum FailureCause */ DEADLINE_EXCEEDED(3), /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -102,6 +132,8 @@ public enum FailureCause
     ;
 
     /**
+     *
+     *
      * 
      * No reason for failure is specified.
      * 
@@ -110,6 +142,8 @@ public enum FailureCause */ public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -120,6 +154,8 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_UNAVAILABLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The predeploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -129,6 +165,8 @@ public enum FailureCause
      */
     public static final int EXECUTION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The predeploy job run did not complete within the alloted time.
      * 
@@ -137,6 +175,8 @@ public enum FailureCause */ public static final int DEADLINE_EXCEEDED_VALUE = 3; /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -146,7 +186,6 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_REQUEST_FAILED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -171,51 +210,53 @@ public static FailureCause valueOf(int value) {
      */
     public static FailureCause forNumber(int value) {
       switch (value) {
-        case 0: return FAILURE_CAUSE_UNSPECIFIED;
-        case 1: return CLOUD_BUILD_UNAVAILABLE;
-        case 2: return EXECUTION_FAILED;
-        case 3: return DEADLINE_EXCEEDED;
-        case 4: return CLOUD_BUILD_REQUEST_FAILED;
-        default: return null;
+        case 0:
+          return FAILURE_CAUSE_UNSPECIFIED;
+        case 1:
+          return CLOUD_BUILD_UNAVAILABLE;
+        case 2:
+          return EXECUTION_FAILED;
+        case 3:
+          return DEADLINE_EXCEEDED;
+        case 4:
+          return CLOUD_BUILD_REQUEST_FAILED;
+        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<
-        FailureCause> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FailureCause findValueByNumber(int number) {
-              return FailureCause.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 FailureCause findValueByNumber(int number) {
+            return FailureCause.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.deploy.v1.PredeployJobRun.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FailureCause[] VALUES = values();
 
-    public static FailureCause valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FailureCause 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;
@@ -233,16 +274,22 @@ private FailureCause(int value) {
   }
 
   public static final int BUILD_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object build_ = "";
   /**
+   *
+   *
    * 
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the predeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ @java.lang.Override @@ -251,31 +298,33 @@ public java.lang.String getBuild() { 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(); build_ = s; return s; } } /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the predeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -286,41 +335,60 @@ public java.lang.String getBuild() { public static final int FAILURE_CAUSE_FIELD_NUMBER = 2; private int failureCause_ = 0; /** + * + * *
    * Output only. The reason the predeploy failed. This will always be
    * unspecified while the predeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
    * Output only. The reason the predeploy failed. This will always be
    * unspecified while the predeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ - @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.PredeployJobRun.FailureCause result = com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.deploy.v1.PredeployJobRun.FailureCause getFailureCause() { + com.google.cloud.deploy.v1.PredeployJobRun.FailureCause result = + com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.UNRECOGNIZED + : result; } public static final int FAILURE_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object failureMessage_ = ""; /** + * + * *
    * Output only. Additional information about the predeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ @java.lang.Override @@ -329,30 +397,30 @@ public java.lang.String getFailureMessage() { 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(); failureMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the predeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -361,6 +429,7 @@ public java.lang.String getFailureMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,12 +441,13 @@ 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(build_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, build_); } - if (failureCause_ != com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { + if (failureCause_ + != com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { @@ -395,9 +465,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(build_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, build_); } - if (failureCause_ != com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, failureCause_); + if (failureCause_ + != com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, failureMessage_); @@ -410,18 +481,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.cloud.deploy.v1.PredeployJobRun)) { return super.equals(obj); } - com.google.cloud.deploy.v1.PredeployJobRun other = (com.google.cloud.deploy.v1.PredeployJobRun) obj; + com.google.cloud.deploy.v1.PredeployJobRun other = + (com.google.cloud.deploy.v1.PredeployJobRun) obj; - if (!getBuild() - .equals(other.getBuild())) return false; + if (!getBuild().equals(other.getBuild())) return false; if (failureCause_ != other.failureCause_) return false; - if (!getFailureMessage() - .equals(other.getFailureMessage())) return false; + if (!getFailureMessage().equals(other.getFailureMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -444,132 +514,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.PredeployJobRun parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.PredeployJobRun parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PredeployJobRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PredeployJobRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PredeployJobRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * PredeployJobRun contains information specific to a predeploy `JobRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.PredeployJobRun} */ - 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.cloud.deploy.v1.PredeployJobRun) com.google.cloud.deploy.v1.PredeployJobRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PredeployJobRun.class, com.google.cloud.deploy.v1.PredeployJobRun.Builder.class); + com.google.cloud.deploy.v1.PredeployJobRun.class, + com.google.cloud.deploy.v1.PredeployJobRun.Builder.class); } // Construct using com.google.cloud.deploy.v1.PredeployJobRun.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; } @java.lang.Override @@ -602,8 +676,11 @@ public com.google.cloud.deploy.v1.PredeployJobRun build() { @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobRun buildPartial() { - com.google.cloud.deploy.v1.PredeployJobRun result = new com.google.cloud.deploy.v1.PredeployJobRun(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.PredeployJobRun result = + new com.google.cloud.deploy.v1.PredeployJobRun(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -625,38 +702,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PredeployJobRun result) { 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) { + 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) { + 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.cloud.deploy.v1.PredeployJobRun) { - return mergeFrom((com.google.cloud.deploy.v1.PredeployJobRun)other); + return mergeFrom((com.google.cloud.deploy.v1.PredeployJobRun) other); } else { super.mergeFrom(other); return this; @@ -704,27 +782,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - build_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - failureCause_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - failureMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + build_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + failureCause_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + failureMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -734,24 +816,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object build_ = ""; /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the predeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; 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(); build_ = s; return s; @@ -760,22 +847,25 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the predeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -783,32 +873,43 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the predeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the predeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -818,19 +919,25 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to execute the custom actions associated with the predeploy Job.
      * Format is `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000001; @@ -840,24 +947,35 @@ public Builder setBuildBytes( private int failureCause_ = 0; /** + * + * *
      * Output only. The reason the predeploy failed. This will always be
      * unspecified while the predeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
      * Output only. The reason the predeploy failed. This will always be
      * unspecified while the predeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for failureCause to set. * @return This builder for chaining. */ @@ -868,26 +986,39 @@ public Builder setFailureCauseValue(int value) { return this; } /** + * + * *
      * Output only. The reason the predeploy failed. This will always be
      * unspecified while the predeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.PredeployJobRun.FailureCause result = com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.PredeployJobRun.FailureCause result = + com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.PredeployJobRun.FailureCause.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The reason the predeploy failed. This will always be
      * unspecified while the predeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The failureCause to set. * @return This builder for chaining. */ @@ -901,12 +1032,17 @@ public Builder setFailureCause(com.google.cloud.deploy.v1.PredeployJobRun.Failur return this; } /** + * + * *
      * Output only. The reason the predeploy failed. This will always be
      * unspecified while the predeploy is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearFailureCause() { @@ -918,19 +1054,21 @@ public Builder clearFailureCause() { private java.lang.Object failureMessage_ = ""; /** + * + * *
      * Output only. Additional information about the predeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ public java.lang.String getFailureMessage() { java.lang.Object ref = failureMessage_; 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(); failureMessage_ = s; return s; @@ -939,21 +1077,22 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the predeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -961,30 +1100,37 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the predeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } failureMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the predeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureMessage() { @@ -994,27 +1140,31 @@ public Builder clearFailureMessage() { return this; } /** + * + * *
      * Output only. Additional information about the predeploy failure, if
      * available.
      * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); failureMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1024,12 +1174,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PredeployJobRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PredeployJobRun) private static final com.google.cloud.deploy.v1.PredeployJobRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PredeployJobRun(); } @@ -1038,27 +1188,27 @@ public static com.google.cloud.deploy.v1.PredeployJobRun getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PredeployJobRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PredeployJobRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1073,6 +1223,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PredeployJobRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRunOrBuilder.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRunOrBuilder.java index 56a1326fd6d6..1cd21bfb6a21 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployJobRunOrBuilder.java @@ -1,76 +1,116 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PredeployJobRunOrBuilder extends +public interface PredeployJobRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PredeployJobRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the predeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to execute the custom actions associated with the predeploy Job.
    * Format is `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); /** + * + * *
    * Output only. The reason the predeploy failed. This will always be
    * unspecified while the predeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ int getFailureCauseValue(); /** + * + * *
    * Output only. The reason the predeploy failed. This will always be
    * unspecified while the predeploy is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ com.google.cloud.deploy.v1.PredeployJobRun.FailureCause getFailureCause(); /** + * + * *
    * Output only. Additional information about the predeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ java.lang.String getFailureMessage(); /** + * + * *
    * Output only. Additional information about the predeploy failure, if
    * available.
    * 
* * string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - com.google.protobuf.ByteString - getFailureMessageBytes(); + com.google.protobuf.ByteString getFailureMessageBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployOrBuilder.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployOrBuilder.java index 21aa215d06d0..32e62fad2d37 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PredeployOrBuilder.java @@ -1,54 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PredeployOrBuilder extends +public interface PredeployOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Predeploy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the actions. */ - java.util.List - getActionsList(); + java.util.List getActionsList(); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of actions. */ int getActionsCount(); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The actions at the given index. */ java.lang.String getActions(int index); /** + * + * *
    * Optional. A sequence of Skaffold custom actions to invoke during execution
    * of the predeploy job.
    * 
* * repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the actions at the given index. */ - com.google.protobuf.ByteString - getActionsBytes(int index); + com.google.protobuf.ByteString getActionsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java index a12ea8138522..a7f15ed079fd 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Execution using a private Cloud Build pool.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.PrivatePool} */ -public final class PrivatePool extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrivatePool extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PrivatePool) PrivatePoolOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrivatePool.newBuilder() to construct. private PrivatePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PrivatePool() { workerPool_ = ""; serviceAccount_ = ""; @@ -27,34 +45,41 @@ private PrivatePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrivatePool(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PrivatePool.class, com.google.cloud.deploy.v1.PrivatePool.Builder.class); + com.google.cloud.deploy.v1.PrivatePool.class, + com.google.cloud.deploy.v1.PrivatePool.Builder.class); } public static final int WORKER_POOL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object workerPool_ = ""; /** + * + * *
    * Required. Resource name of the Cloud Build worker pool to use. The format
    * is `projects/{project}/locations/{location}/workerPools/{pool}`.
    * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ @java.lang.Override @@ -63,30 +88,32 @@ public java.lang.String getWorkerPool() { 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(); workerPool_ = s; return s; } } /** + * + * *
    * Required. Resource name of the Cloud Build worker pool to use. The format
    * is `projects/{project}/locations/{location}/workerPools/{pool}`.
    * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; 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); workerPool_ = b; return b; } else { @@ -95,9 +122,12 @@ public java.lang.String getWorkerPool() { } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -105,6 +135,7 @@ public java.lang.String getWorkerPool() {
    * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ @java.lang.Override @@ -113,14 +144,15 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -128,16 +160,15 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -146,9 +177,12 @@ public java.lang.String getServiceAccount() { } public static final int ARTIFACT_STORAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object artifactStorage_ = ""; /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -157,6 +191,7 @@ public java.lang.String getServiceAccount() {
    * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ @java.lang.Override @@ -165,14 +200,15 @@ public java.lang.String getArtifactStorage() { 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(); artifactStorage_ = s; return s; } } /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -181,16 +217,15 @@ public java.lang.String getArtifactStorage() {
    * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactStorageBytes() { + public com.google.protobuf.ByteString getArtifactStorageBytes() { java.lang.Object ref = artifactStorage_; 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); artifactStorage_ = b; return b; } else { @@ -199,6 +234,7 @@ public java.lang.String getArtifactStorage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +246,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(workerPool_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workerPool_); } @@ -247,19 +282,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.cloud.deploy.v1.PrivatePool)) { return super.equals(obj); } com.google.cloud.deploy.v1.PrivatePool other = (com.google.cloud.deploy.v1.PrivatePool) obj; - if (!getWorkerPool() - .equals(other.getWorkerPool())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getArtifactStorage() - .equals(other.getArtifactStorage())) return false; + if (!getWorkerPool().equals(other.getWorkerPool())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getArtifactStorage().equals(other.getArtifactStorage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,132 +314,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.PrivatePool parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.PrivatePool parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.PrivatePool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PrivatePool parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PrivatePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PrivatePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Execution using a private Cloud Build pool.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.PrivatePool} */ - 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.cloud.deploy.v1.PrivatePool) com.google.cloud.deploy.v1.PrivatePoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PrivatePool.class, com.google.cloud.deploy.v1.PrivatePool.Builder.class); + com.google.cloud.deploy.v1.PrivatePool.class, + com.google.cloud.deploy.v1.PrivatePool.Builder.class); } // Construct using com.google.cloud.deploy.v1.PrivatePool.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +455,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; } @java.lang.Override @@ -440,8 +476,11 @@ public com.google.cloud.deploy.v1.PrivatePool build() { @java.lang.Override public com.google.cloud.deploy.v1.PrivatePool buildPartial() { - com.google.cloud.deploy.v1.PrivatePool result = new com.google.cloud.deploy.v1.PrivatePool(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.PrivatePool result = + new com.google.cloud.deploy.v1.PrivatePool(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -463,38 +502,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PrivatePool result) { 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) { + 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) { + 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.cloud.deploy.v1.PrivatePool) { - return mergeFrom((com.google.cloud.deploy.v1.PrivatePool)other); + return mergeFrom((com.google.cloud.deploy.v1.PrivatePool) other); } else { super.mergeFrom(other); return this; @@ -544,27 +584,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - workerPool_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - artifactStorage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + workerPool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + serviceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + artifactStorage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -574,23 +618,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object workerPool_ = ""; /** + * + * *
      * Required. Resource name of the Cloud Build worker pool to use. The format
      * is `projects/{project}/locations/{location}/workerPools/{pool}`.
      * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ public java.lang.String getWorkerPool() { java.lang.Object ref = workerPool_; 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(); workerPool_ = s; return s; @@ -599,21 +648,24 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Required. Resource name of the Cloud Build worker pool to use. The format
      * is `projects/{project}/locations/{location}/workerPools/{pool}`.
      * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; 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); workerPool_ = b; return b; } else { @@ -621,30 +673,41 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Required. Resource name of the Cloud Build worker pool to use. The format
      * is `projects/{project}/locations/{location}/workerPools/{pool}`.
      * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPool( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workerPool_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the Cloud Build worker pool to use. The format
      * is `projects/{project}/locations/{location}/workerPools/{pool}`.
      * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkerPool() { @@ -654,18 +717,24 @@ public Builder clearWorkerPool() { return this; } /** + * + * *
      * Required. Resource name of the Cloud Build worker pool to use. The format
      * is `projects/{project}/locations/{location}/workerPools/{pool}`.
      * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPoolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workerPool_ = value; bitField0_ |= 0x00000001; @@ -675,6 +744,8 @@ public Builder setWorkerPoolBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -682,13 +753,13 @@ public Builder setWorkerPoolBytes(
      * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -697,6 +768,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -704,15 +777,14 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -720,6 +792,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -727,18 +801,22 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -746,6 +824,7 @@ public Builder setServiceAccount(
      * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -755,6 +834,8 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -762,12 +843,14 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000002; @@ -777,6 +860,8 @@ public Builder setServiceAccountBytes( private java.lang.Object artifactStorage_ = ""; /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -785,13 +870,13 @@ public Builder setServiceAccountBytes(
      * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ public java.lang.String getArtifactStorage() { java.lang.Object ref = artifactStorage_; 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(); artifactStorage_ = s; return s; @@ -800,6 +885,8 @@ public java.lang.String getArtifactStorage() { } } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -808,15 +895,14 @@ public java.lang.String getArtifactStorage() {
      * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ - public com.google.protobuf.ByteString - getArtifactStorageBytes() { + public com.google.protobuf.ByteString getArtifactStorageBytes() { java.lang.Object ref = artifactStorage_; 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); artifactStorage_ = b; return b; } else { @@ -824,6 +910,8 @@ public java.lang.String getArtifactStorage() { } } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -832,18 +920,22 @@ public java.lang.String getArtifactStorage() {
      * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The artifactStorage to set. * @return This builder for chaining. */ - public Builder setArtifactStorage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactStorage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifactStorage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -852,6 +944,7 @@ public Builder setArtifactStorage(
      * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearArtifactStorage() { @@ -861,6 +954,8 @@ public Builder clearArtifactStorage() { return this; } /** + * + * *
      * Optional. Cloud Storage location where execution outputs should be stored.
      * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -869,21 +964,23 @@ public Builder clearArtifactStorage() {
      * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for artifactStorage to set. * @return This builder for chaining. */ - public Builder setArtifactStorageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactStorageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifactStorage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,12 +990,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PrivatePool) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PrivatePool) private static final com.google.cloud.deploy.v1.PrivatePool DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PrivatePool(); } @@ -907,27 +1004,27 @@ public static com.google.cloud.deploy.v1.PrivatePool getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivatePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivatePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,6 +1039,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PrivatePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java index a228f7c8f9e3..23349909ad59 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PrivatePoolOrBuilder extends +public interface PrivatePoolOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PrivatePool) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the Cloud Build worker pool to use. The format
    * is `projects/{project}/locations/{location}/workerPools/{pool}`.
    * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ java.lang.String getWorkerPool(); /** + * + * *
    * Required. Resource name of the Cloud Build worker pool to use. The format
    * is `projects/{project}/locations/{location}/workerPools/{pool}`.
    * 
* - * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - com.google.protobuf.ByteString - getWorkerPoolBytes(); + com.google.protobuf.ByteString getWorkerPoolBytes(); /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -37,10 +64,13 @@ public interface PrivatePoolOrBuilder extends
    * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -48,12 +78,14 @@ public interface PrivatePoolOrBuilder extends
    * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -62,10 +94,13 @@ public interface PrivatePoolOrBuilder extends
    * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The artifactStorage. */ java.lang.String getArtifactStorage(); /** + * + * *
    * Optional. Cloud Storage location where execution outputs should be stored.
    * This can either be a bucket ("gs://my-bucket") or a path within a bucket
@@ -74,8 +109,8 @@ public interface PrivatePoolOrBuilder extends
    * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for artifactStorage. */ - com.google.protobuf.ByteString - getArtifactStorageBytes(); + com.google.protobuf.ByteString getArtifactStorageBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperation.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperation.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperation.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperation.java index a6abc0d73b8a..041363c0981e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperation.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperation.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Contains the information of an automated promote-release operation.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.PromoteReleaseOperation} */ -public final class PromoteReleaseOperation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PromoteReleaseOperation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PromoteReleaseOperation) PromoteReleaseOperationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PromoteReleaseOperation.newBuilder() to construct. private PromoteReleaseOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PromoteReleaseOperation() { targetId_ = ""; rollout_ = ""; @@ -27,28 +45,32 @@ private PromoteReleaseOperation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PromoteReleaseOperation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PromoteReleaseOperation.class, com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder.class); + com.google.cloud.deploy.v1.PromoteReleaseOperation.class, + com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder.class); } public static final int TARGET_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * Output only. The ID of the target that represents the promotion stage to
    * which the release will be promoted. The value of this field is the last
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ @java.lang.Override @@ -64,14 +87,15 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * Output only. The ID of the target that represents the promotion stage to
    * which the release will be promoted. The value of this field is the last
@@ -79,16 +103,15 @@ public java.lang.String getTargetId() {
    * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -99,11 +122,14 @@ public java.lang.String getTargetId() { public static final int WAIT_FIELD_NUMBER = 2; private com.google.protobuf.Duration wait_; /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ @java.lang.Override @@ -111,11 +137,14 @@ public boolean hasWait() { return wait_ != null; } /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ @java.lang.Override @@ -123,6 +152,8 @@ public com.google.protobuf.Duration getWait() { return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } /** + * + * *
    * Output only. How long the operation will be paused.
    * 
@@ -135,14 +166,18 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { } public static final int ROLLOUT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ @java.lang.Override @@ -151,29 +186,29 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -182,14 +217,18 @@ public java.lang.String getRollout() { } public static final int PHASE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object phase_ = ""; /** + * + * *
    * Output only. The starting phase of the rollout created by this operation.
    * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phase. */ @java.lang.Override @@ -198,29 +237,29 @@ public java.lang.String getPhase() { 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(); phase_ = s; return s; } } /** + * + * *
    * Output only. The starting phase of the rollout created by this operation.
    * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phase. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhaseBytes() { + public com.google.protobuf.ByteString getPhaseBytes() { java.lang.Object ref = phase_; 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); phase_ = b; return b; } else { @@ -229,6 +268,7 @@ public java.lang.String getPhase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,8 +280,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(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetId_); } @@ -267,8 +306,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, targetId_); } if (wait_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWait()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWait()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rollout_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, rollout_); @@ -284,24 +322,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.cloud.deploy.v1.PromoteReleaseOperation)) { return super.equals(obj); } - com.google.cloud.deploy.v1.PromoteReleaseOperation other = (com.google.cloud.deploy.v1.PromoteReleaseOperation) obj; + com.google.cloud.deploy.v1.PromoteReleaseOperation other = + (com.google.cloud.deploy.v1.PromoteReleaseOperation) obj; - if (!getTargetId() - .equals(other.getTargetId())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; if (hasWait() != other.hasWait()) return false; if (hasWait()) { - if (!getWait() - .equals(other.getWait())) return false; + if (!getWait().equals(other.getWait())) return false; } - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getPhase() - .equals(other.getPhase())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getPhase().equals(other.getPhase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -329,131 +364,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.PromoteReleaseOperation 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.cloud.deploy.v1.PromoteReleaseOperation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PromoteReleaseOperation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PromoteReleaseOperation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains the information of an automated promote-release operation.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.PromoteReleaseOperation} */ - 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.cloud.deploy.v1.PromoteReleaseOperation) com.google.cloud.deploy.v1.PromoteReleaseOperationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.PromoteReleaseOperation.class, com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder.class); + com.google.cloud.deploy.v1.PromoteReleaseOperation.class, + com.google.cloud.deploy.v1.PromoteReleaseOperation.Builder.class); } // Construct using com.google.cloud.deploy.v1.PromoteReleaseOperation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -470,9 +509,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; } @java.lang.Override @@ -491,8 +530,11 @@ public com.google.cloud.deploy.v1.PromoteReleaseOperation build() { @java.lang.Override public com.google.cloud.deploy.v1.PromoteReleaseOperation buildPartial() { - com.google.cloud.deploy.v1.PromoteReleaseOperation result = new com.google.cloud.deploy.v1.PromoteReleaseOperation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.PromoteReleaseOperation result = + new com.google.cloud.deploy.v1.PromoteReleaseOperation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -503,9 +545,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.PromoteReleaseOperation re result.targetId_ = targetId_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.wait_ = waitBuilder_ == null - ? wait_ - : waitBuilder_.build(); + result.wait_ = waitBuilder_ == null ? wait_ : waitBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.rollout_ = rollout_; @@ -519,38 +559,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PromoteReleaseOperation re 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) { + 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) { + 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.cloud.deploy.v1.PromoteReleaseOperation) { - return mergeFrom((com.google.cloud.deploy.v1.PromoteReleaseOperation)other); + return mergeFrom((com.google.cloud.deploy.v1.PromoteReleaseOperation) other); } else { super.mergeFrom(other); return this; @@ -558,7 +599,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.PromoteReleaseOperation other) { - if (other == com.google.cloud.deploy.v1.PromoteReleaseOperation.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.PromoteReleaseOperation.getDefaultInstance()) + return this; if (!other.getTargetId().isEmpty()) { targetId_ = other.targetId_; bitField0_ |= 0x00000001; @@ -603,34 +645,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - targetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getWaitFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - rollout_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - phase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + targetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getWaitFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + rollout_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + phase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -640,10 +685,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object targetId_ = ""; /** + * + * *
      * Output only. The ID of the target that represents the promotion stage to
      * which the release will be promoted. The value of this field is the last
@@ -651,13 +699,13 @@ public Builder mergeFrom(
      * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -666,6 +714,8 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage to
      * which the release will be promoted. The value of this field is the last
@@ -673,15 +723,14 @@ public java.lang.String getTargetId() {
      * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -689,6 +738,8 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage to
      * which the release will be promoted. The value of this field is the last
@@ -696,18 +747,22 @@ public java.lang.String getTargetId() {
      * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage to
      * which the release will be promoted. The value of this field is the last
@@ -715,6 +770,7 @@ public Builder setTargetId(
      * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -724,6 +780,8 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * Output only. The ID of the target that represents the promotion stage to
      * which the release will be promoted. The value of this field is the last
@@ -731,12 +789,14 @@ public Builder clearTargetId() {
      * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000001; @@ -746,24 +806,33 @@ public Builder setTargetIdBytes( private com.google.protobuf.Duration wait_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> waitBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + waitBuilder_; /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ public boolean hasWait() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ public com.google.protobuf.Duration getWait() { @@ -774,6 +843,8 @@ public com.google.protobuf.Duration getWait() { } } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -794,14 +865,15 @@ public Builder setWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setWait( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setWait(com.google.protobuf.Duration.Builder builderForValue) { if (waitBuilder_ == null) { wait_ = builderForValue.build(); } else { @@ -812,6 +884,8 @@ public Builder setWait( return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -820,9 +894,9 @@ public Builder setWait( */ public Builder mergeWait(com.google.protobuf.Duration value) { if (waitBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - wait_ != null && - wait_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && wait_ != null + && wait_ != com.google.protobuf.Duration.getDefaultInstance()) { getWaitBuilder().mergeFrom(value); } else { wait_ = value; @@ -835,6 +909,8 @@ public Builder mergeWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -852,6 +928,8 @@ public Builder clearWait() { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -864,6 +942,8 @@ public com.google.protobuf.Duration.Builder getWaitBuilder() { return getWaitFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -874,11 +954,12 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { if (waitBuilder_ != null) { return waitBuilder_.getMessageOrBuilder(); } else { - return wait_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : wait_; + return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -886,14 +967,17 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getWaitFieldBuilder() { if (waitBuilder_ == null) { - waitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getWait(), - getParentForChildren(), - isClean()); + waitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getWait(), getParentForChildren(), isClean()); wait_ = null; } return waitBuilder_; @@ -901,18 +985,20 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { private java.lang.Object rollout_ = ""; /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -921,20 +1007,21 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -942,28 +1029,35 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -973,17 +1067,21 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000004; @@ -993,18 +1091,20 @@ public Builder setRolloutBytes( private java.lang.Object phase_ = ""; /** + * + * *
      * Output only. The starting phase of the rollout created by this operation.
      * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phase. */ public java.lang.String getPhase() { java.lang.Object ref = phase_; 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(); phase_ = s; return s; @@ -1013,20 +1113,21 @@ public java.lang.String getPhase() { } } /** + * + * *
      * Output only. The starting phase of the rollout created by this operation.
      * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phase. */ - public com.google.protobuf.ByteString - getPhaseBytes() { + public com.google.protobuf.ByteString getPhaseBytes() { java.lang.Object ref = phase_; 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); phase_ = b; return b; } else { @@ -1034,28 +1135,35 @@ public java.lang.String getPhase() { } } /** + * + * *
      * Output only. The starting phase of the rollout created by this operation.
      * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The phase to set. * @return This builder for chaining. */ - public Builder setPhase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The starting phase of the rollout created by this operation.
      * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPhase() { @@ -1065,26 +1173,30 @@ public Builder clearPhase() { return this; } /** + * + * *
      * Output only. The starting phase of the rollout created by this operation.
      * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for phase to set. * @return This builder for chaining. */ - public Builder setPhaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,12 +1206,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PromoteReleaseOperation) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PromoteReleaseOperation) private static final com.google.cloud.deploy.v1.PromoteReleaseOperation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PromoteReleaseOperation(); } @@ -1108,27 +1220,27 @@ public static com.google.cloud.deploy.v1.PromoteReleaseOperation getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteReleaseOperation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteReleaseOperation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,6 +1255,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PromoteReleaseOperation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperationOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperationOrBuilder.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperationOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperationOrBuilder.java index 5f65f16ab2d5..d3a331e3a40b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperationOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseOperationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PromoteReleaseOperationOrBuilder extends +public interface PromoteReleaseOperationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PromoteReleaseOperation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The ID of the target that represents the promotion stage to
    * which the release will be promoted. The value of this field is the last
@@ -15,10 +33,13 @@ public interface PromoteReleaseOperationOrBuilder extends
    * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * Output only. The ID of the target that represents the promotion stage to
    * which the release will be promoted. The value of this field is the last
@@ -26,30 +47,38 @@ public interface PromoteReleaseOperationOrBuilder extends
    * 
* * string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ boolean hasWait(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ com.google.protobuf.Duration getWait(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
@@ -59,42 +88,52 @@ public interface PromoteReleaseOperationOrBuilder extends com.google.protobuf.DurationOrBuilder getWaitOrBuilder(); /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * Output only. The starting phase of the rollout created by this operation.
    * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phase. */ java.lang.String getPhase(); /** + * + * *
    * Output only. The starting phase of the rollout created by this operation.
    * 
* * string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phase. */ - com.google.protobuf.ByteString - getPhaseBytes(); + com.google.protobuf.ByteString getPhaseBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRule.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRule.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRule.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRule.java index dcde157ae862..20a0c1220c3c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRule.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRule.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * `PromoteRelease` rule will automatically promote a release from the current
  * target to a specified target.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.PromoteReleaseRule}
  */
-public final class PromoteReleaseRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PromoteReleaseRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.PromoteReleaseRule)
     PromoteReleaseRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PromoteReleaseRule.newBuilder() to construct.
   private PromoteReleaseRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PromoteReleaseRule() {
     id_ = "";
     destinationTargetId_ = "";
@@ -28,34 +46,39 @@ private PromoteReleaseRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PromoteReleaseRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.PromoteReleaseRule.class, com.google.cloud.deploy.v1.PromoteReleaseRule.Builder.class);
+            com.google.cloud.deploy.v1.PromoteReleaseRule.class,
+            com.google.cloud.deploy.v1.PromoteReleaseRule.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
+   *
+   *
    * 
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -64,30 +87,30 @@ public java.lang.String getId() { 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(); id_ = s; return s; } } /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -98,12 +121,15 @@ public java.lang.String getId() { public static final int WAIT_FIELD_NUMBER = 2; private com.google.protobuf.Duration wait_; /** + * + * *
    * Optional. How long the release need to be paused until being promoted to
    * the next target.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ @java.lang.Override @@ -111,12 +137,15 @@ public boolean hasWait() { return wait_ != null; } /** + * + * *
    * Optional. How long the release need to be paused until being promoted to
    * the next target.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ @java.lang.Override @@ -124,6 +153,8 @@ public com.google.protobuf.Duration getWait() { return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } /** + * + * *
    * Optional. How long the release need to be paused until being promoted to
    * the next target.
@@ -137,9 +168,12 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
   }
 
   public static final int DESTINATION_TARGET_ID_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object destinationTargetId_ = "";
   /**
+   *
+   *
    * 
    * Optional. The ID of the stage in the pipeline to which this `Release` is
    * deploying. If unspecified, default it to the next stage in the promotion
@@ -152,6 +186,7 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
    * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationTargetId. */ @java.lang.Override @@ -160,14 +195,15 @@ public java.lang.String getDestinationTargetId() { 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(); destinationTargetId_ = s; return s; } } /** + * + * *
    * Optional. The ID of the stage in the pipeline to which this `Release` is
    * deploying. If unspecified, default it to the next stage in the promotion
@@ -180,16 +216,15 @@ public java.lang.String getDestinationTargetId() {
    * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationTargetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationTargetIdBytes() { + public com.google.protobuf.ByteString getDestinationTargetIdBytes() { java.lang.Object ref = destinationTargetId_; 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); destinationTargetId_ = b; return b; } else { @@ -200,11 +235,16 @@ public java.lang.String getDestinationTargetId() { public static final int CONDITION_FIELD_NUMBER = 5; private com.google.cloud.deploy.v1.AutomationRuleCondition condition_; /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ @java.lang.Override @@ -212,39 +252,56 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRuleCondition getCondition() { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder() { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } public static final int DESTINATION_PHASE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object destinationPhase_ = ""; /** + * + * *
    * Optional. The starting phase of the rollout created by this operation.
    * Default to the first phase.
    * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationPhase. */ @java.lang.Override @@ -253,30 +310,30 @@ public java.lang.String getDestinationPhase() { 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(); destinationPhase_ = s; return s; } } /** + * + * *
    * Optional. The starting phase of the rollout created by this operation.
    * Default to the first phase.
    * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationPhase. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -285,6 +342,7 @@ public java.lang.String getDestinationPhase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,8 +354,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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -326,12 +383,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (wait_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWait()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWait()); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCondition()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationTargetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, destinationTargetId_); @@ -347,29 +402,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.cloud.deploy.v1.PromoteReleaseRule)) { return super.equals(obj); } - com.google.cloud.deploy.v1.PromoteReleaseRule other = (com.google.cloud.deploy.v1.PromoteReleaseRule) obj; + com.google.cloud.deploy.v1.PromoteReleaseRule other = + (com.google.cloud.deploy.v1.PromoteReleaseRule) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (hasWait() != other.hasWait()) return false; if (hasWait()) { - if (!getWait() - .equals(other.getWait())) return false; + if (!getWait().equals(other.getWait())) return false; } - if (!getDestinationTargetId() - .equals(other.getDestinationTargetId())) return false; + if (!getDestinationTargetId().equals(other.getDestinationTargetId())) return false; if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } - if (!getDestinationPhase() - .equals(other.getDestinationPhase())) return false; + if (!getDestinationPhase().equals(other.getDestinationPhase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -400,99 +451,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.PromoteReleaseRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.PromoteReleaseRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.PromoteReleaseRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.PromoteReleaseRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `PromoteRelease` rule will automatically promote a release from the current
    * target to a specified target.
@@ -500,33 +556,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.PromoteReleaseRule}
    */
-  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.cloud.deploy.v1.PromoteReleaseRule)
       com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.PromoteReleaseRule.class, com.google.cloud.deploy.v1.PromoteReleaseRule.Builder.class);
+              com.google.cloud.deploy.v1.PromoteReleaseRule.class,
+              com.google.cloud.deploy.v1.PromoteReleaseRule.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.PromoteReleaseRule.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -548,9 +603,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor;
     }
 
     @java.lang.Override
@@ -569,8 +624,11 @@ public com.google.cloud.deploy.v1.PromoteReleaseRule build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.PromoteReleaseRule buildPartial() {
-      com.google.cloud.deploy.v1.PromoteReleaseRule result = new com.google.cloud.deploy.v1.PromoteReleaseRule(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.PromoteReleaseRule result =
+          new com.google.cloud.deploy.v1.PromoteReleaseRule(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -581,17 +639,13 @@ private void buildPartial0(com.google.cloud.deploy.v1.PromoteReleaseRule result)
         result.id_ = id_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.wait_ = waitBuilder_ == null
-            ? wait_
-            : waitBuilder_.build();
+        result.wait_ = waitBuilder_ == null ? wait_ : waitBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.destinationTargetId_ = destinationTargetId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.condition_ = conditionBuilder_ == null
-            ? condition_
-            : conditionBuilder_.build();
+        result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.destinationPhase_ = destinationPhase_;
@@ -602,38 +656,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.PromoteReleaseRule result)
     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) {
+        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) {
+        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.cloud.deploy.v1.PromoteReleaseRule) {
-        return mergeFrom((com.google.cloud.deploy.v1.PromoteReleaseRule)other);
+        return mergeFrom((com.google.cloud.deploy.v1.PromoteReleaseRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -689,41 +744,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getWaitFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 42: {
-              input.readMessage(
-                  getConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 58: {
-              destinationTargetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 58
-            case 66: {
-              destinationPhase_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getWaitFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 42:
+              {
+                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 58:
+              {
+                destinationTargetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 58
+            case 66:
+              {
+                destinationPhase_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -733,23 +790,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
+     *
+     *
      * 
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; @@ -758,21 +818,22 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -780,30 +841,37 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { @@ -813,18 +881,22 @@ public Builder clearId() { return this; } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -834,26 +906,35 @@ public Builder setIdBytes( private com.google.protobuf.Duration wait_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> waitBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + waitBuilder_; /** + * + * *
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ public boolean hasWait() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ public com.google.protobuf.Duration getWait() { @@ -864,6 +945,8 @@ public com.google.protobuf.Duration getWait() { } } /** + * + * *
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
@@ -885,6 +968,8 @@ public Builder setWait(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
@@ -892,8 +977,7 @@ public Builder setWait(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder setWait(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setWait(com.google.protobuf.Duration.Builder builderForValue) {
       if (waitBuilder_ == null) {
         wait_ = builderForValue.build();
       } else {
@@ -904,6 +988,8 @@ public Builder setWait(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
@@ -913,9 +999,9 @@ public Builder setWait(
      */
     public Builder mergeWait(com.google.protobuf.Duration value) {
       if (waitBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          wait_ != null &&
-          wait_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && wait_ != null
+            && wait_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getWaitBuilder().mergeFrom(value);
         } else {
           wait_ = value;
@@ -928,6 +1014,8 @@ public Builder mergeWait(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
@@ -946,6 +1034,8 @@ public Builder clearWait() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
@@ -959,6 +1049,8 @@ public com.google.protobuf.Duration.Builder getWaitBuilder() {
       return getWaitFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
@@ -970,11 +1062,12 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
       if (waitBuilder_ != null) {
         return waitBuilder_.getMessageOrBuilder();
       } else {
-        return wait_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : wait_;
+        return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional. How long the release need to be paused until being promoted to
      * the next target.
@@ -983,14 +1076,17 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
      * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
      */
     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>
         getWaitFieldBuilder() {
       if (waitBuilder_ == null) {
-        waitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getWait(),
-                getParentForChildren(),
-                isClean());
+        waitBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getWait(), getParentForChildren(), isClean());
         wait_ = null;
       }
       return waitBuilder_;
@@ -998,6 +1094,8 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
 
     private java.lang.Object destinationTargetId_ = "";
     /**
+     *
+     *
      * 
      * Optional. The ID of the stage in the pipeline to which this `Release` is
      * deploying. If unspecified, default it to the next stage in the promotion
@@ -1010,13 +1108,13 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
      * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationTargetId. */ public java.lang.String getDestinationTargetId() { java.lang.Object ref = destinationTargetId_; 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(); destinationTargetId_ = s; return s; @@ -1025,6 +1123,8 @@ public java.lang.String getDestinationTargetId() { } } /** + * + * *
      * Optional. The ID of the stage in the pipeline to which this `Release` is
      * deploying. If unspecified, default it to the next stage in the promotion
@@ -1037,15 +1137,14 @@ public java.lang.String getDestinationTargetId() {
      * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationTargetId. */ - public com.google.protobuf.ByteString - getDestinationTargetIdBytes() { + public com.google.protobuf.ByteString getDestinationTargetIdBytes() { java.lang.Object ref = destinationTargetId_; 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); destinationTargetId_ = b; return b; } else { @@ -1053,6 +1152,8 @@ public java.lang.String getDestinationTargetId() { } } /** + * + * *
      * Optional. The ID of the stage in the pipeline to which this `Release` is
      * deploying. If unspecified, default it to the next stage in the promotion
@@ -1065,18 +1166,22 @@ public java.lang.String getDestinationTargetId() {
      * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The destinationTargetId to set. * @return This builder for chaining. */ - public Builder setDestinationTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationTargetId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The ID of the stage in the pipeline to which this `Release` is
      * deploying. If unspecified, default it to the next stage in the promotion
@@ -1089,6 +1194,7 @@ public Builder setDestinationTargetId(
      * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDestinationTargetId() { @@ -1098,6 +1204,8 @@ public Builder clearDestinationTargetId() { return this; } /** + * + * *
      * Optional. The ID of the stage in the pipeline to which this `Release` is
      * deploying. If unspecified, default it to the next stage in the promotion
@@ -1110,12 +1218,14 @@ public Builder clearDestinationTargetId() {
      * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for destinationTargetId to set. * @return This builder for chaining. */ - public Builder setDestinationTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationTargetId_ = value; bitField0_ |= 0x00000004; @@ -1125,39 +1235,58 @@ public Builder setDestinationTargetIdBytes( private com.google.cloud.deploy.v1.AutomationRuleCondition condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> conditionBuilder_; + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> + conditionBuilder_; /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ public boolean hasCondition() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ public com.google.cloud.deploy.v1.AutomationRuleCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } else { return conditionBuilder_.getMessage(); } } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition(com.google.cloud.deploy.v1.AutomationRuleCondition value) { if (conditionBuilder_ == null) { @@ -1173,11 +1302,15 @@ public Builder setCondition(com.google.cloud.deploy.v1.AutomationRuleCondition v return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition( com.google.cloud.deploy.v1.AutomationRuleCondition.Builder builderForValue) { @@ -1191,17 +1324,22 @@ public Builder setCondition( return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCondition(com.google.cloud.deploy.v1.AutomationRuleCondition value) { if (conditionBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - condition_ != null && - condition_ != com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && condition_ != null + && condition_ + != com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance()) { getConditionBuilder().mergeFrom(value); } else { condition_ = value; @@ -1214,11 +1352,15 @@ public Builder mergeCondition(com.google.cloud.deploy.v1.AutomationRuleCondition return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCondition() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1231,11 +1373,15 @@ public Builder clearCondition() { return this; } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRuleCondition.Builder getConditionBuilder() { bitField0_ |= 0x00000008; @@ -1243,36 +1389,48 @@ public com.google.cloud.deploy.v1.AutomationRuleCondition.Builder getConditionBu return getConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { - return condition_ == null ? - com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } } /** + * + * *
      * Output only. Information around the state of the Automation rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { - conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder>( - getCondition(), - getParentForChildren(), - isClean()); + conditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder>( + getCondition(), getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; @@ -1280,19 +1438,21 @@ public com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionO private java.lang.Object destinationPhase_ = ""; /** + * + * *
      * Optional. The starting phase of the rollout created by this operation.
      * Default to the first phase.
      * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationPhase. */ public java.lang.String getDestinationPhase() { java.lang.Object ref = destinationPhase_; 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(); destinationPhase_ = s; return s; @@ -1301,21 +1461,22 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Optional. The starting phase of the rollout created by this operation.
      * Default to the first phase.
      * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationPhase. */ - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -1323,30 +1484,37 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Optional. The starting phase of the rollout created by this operation.
      * Default to the first phase.
      * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationPhase_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The starting phase of the rollout created by this operation.
      * Default to the first phase.
      * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDestinationPhase() { @@ -1356,27 +1524,31 @@ public Builder clearDestinationPhase() { return this; } /** + * + * *
      * Optional. The starting phase of the rollout created by this operation.
      * Default to the first phase.
      * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationPhase_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1386,12 +1558,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.PromoteReleaseRule) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.PromoteReleaseRule) private static final com.google.cloud.deploy.v1.PromoteReleaseRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.PromoteReleaseRule(); } @@ -1400,27 +1572,27 @@ public static com.google.cloud.deploy.v1.PromoteReleaseRule getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteReleaseRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteReleaseRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1435,6 +1607,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PromoteReleaseRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRuleOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRuleOrBuilder.java similarity index 75% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRuleOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRuleOrBuilder.java index 7cbd4027c4bc..3a668cf78226 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRuleOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PromoteReleaseRuleOrBuilder.java @@ -1,55 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface PromoteReleaseRuleOrBuilder extends +public interface PromoteReleaseRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PromoteReleaseRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Optional. How long the release need to be paused until being promoted to
    * the next target.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ boolean hasWait(); /** + * + * *
    * Optional. How long the release need to be paused until being promoted to
    * the next target.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ com.google.protobuf.Duration getWait(); /** + * + * *
    * Optional. How long the release need to be paused until being promoted to
    * the next target.
@@ -60,6 +89,8 @@ public interface PromoteReleaseRuleOrBuilder extends
   com.google.protobuf.DurationOrBuilder getWaitOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The ID of the stage in the pipeline to which this `Release` is
    * deploying. If unspecified, default it to the next stage in the promotion
@@ -72,10 +103,13 @@ public interface PromoteReleaseRuleOrBuilder extends
    * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationTargetId. */ java.lang.String getDestinationTargetId(); /** + * + * *
    * Optional. The ID of the stage in the pipeline to which this `Release` is
    * deploying. If unspecified, default it to the next stage in the promotion
@@ -88,57 +122,76 @@ public interface PromoteReleaseRuleOrBuilder extends
    * 
* * string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationTargetId. */ - com.google.protobuf.ByteString - getDestinationTargetIdBytes(); + com.google.protobuf.ByteString getDestinationTargetIdBytes(); /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ com.google.cloud.deploy.v1.AutomationRuleCondition getCondition(); /** + * + * *
    * Output only. Information around the state of the Automation rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder(); /** + * + * *
    * Optional. The starting phase of the rollout created by this operation.
    * Default to the first phase.
    * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationPhase. */ java.lang.String getDestinationPhase(); /** + * + * *
    * Optional. The starting phase of the rollout created by this operation.
    * Default to the first phase.
    * 
* * string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationPhase. */ - com.google.protobuf.ByteString - getDestinationPhaseBytes(); + com.google.protobuf.ByteString getDestinationPhaseBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java index 3d04e01c00b9..d3b2eb01a7be 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A `Release` resource in the Cloud Deploy API.
  *
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.Release}
  */
-public final class Release extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Release extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Release)
     ReleaseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Release.newBuilder() to construct.
   private Release(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Release() {
     name_ = "";
     uid_ = "";
@@ -38,20 +56,18 @@ private Release() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Release();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Release_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetAnnotations();
@@ -64,28 +80,33 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 25:
         return internalGetDeployParameters();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.Release.class, com.google.cloud.deploy.v1.Release.Builder.class);
+            com.google.cloud.deploy.v1.Release.class,
+            com.google.cloud.deploy.v1.Release.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Valid states of the render operation.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.Release.RenderState} */ - public enum RenderState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The render state is unspecified.
      * 
@@ -94,6 +115,8 @@ public enum RenderState */ RENDER_STATE_UNSPECIFIED(0), /** + * + * *
      * All rendering operations have completed successfully.
      * 
@@ -102,6 +125,8 @@ public enum RenderState */ SUCCEEDED(1), /** + * + * *
      * All rendering operations have completed, and one or more have failed.
      * 
@@ -110,6 +135,8 @@ public enum RenderState */ FAILED(2), /** + * + * *
      * Rendering has started and is not complete.
      * 
@@ -121,6 +148,8 @@ public enum RenderState ; /** + * + * *
      * The render state is unspecified.
      * 
@@ -129,6 +158,8 @@ public enum RenderState */ public static final int RENDER_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * All rendering operations have completed successfully.
      * 
@@ -137,6 +168,8 @@ public enum RenderState */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
      * All rendering operations have completed, and one or more have failed.
      * 
@@ -145,6 +178,8 @@ public enum RenderState */ public static final int FAILED_VALUE = 2; /** + * + * *
      * Rendering has started and is not complete.
      * 
@@ -153,7 +188,6 @@ public enum RenderState */ public static final int IN_PROGRESS_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -178,50 +212,51 @@ public static RenderState valueOf(int value) { */ public static RenderState forNumber(int value) { switch (value) { - case 0: return RENDER_STATE_UNSPECIFIED; - case 1: return SUCCEEDED; - case 2: return FAILED; - case 3: return IN_PROGRESS; - default: return null; + case 0: + return RENDER_STATE_UNSPECIFIED; + case 1: + return SUCCEEDED; + case 2: + return FAILED; + case 3: + return IN_PROGRESS; + 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< - RenderState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RenderState findValueByNumber(int number) { - return RenderState.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 RenderState findValueByNumber(int number) { + return RenderState.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.Release.getDescriptor().getEnumTypes().get(0); } private static final RenderState[] VALUES = values(); - public static RenderState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RenderState 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; @@ -238,139 +273,191 @@ private RenderState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.deploy.v1.Release.RenderState) } - public interface TargetRenderOrBuilder extends + public interface TargetRenderOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Release.TargetRender) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to render the manifest for this target. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The renderingBuild. */ java.lang.String getRenderingBuild(); /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to render the manifest for this target. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for renderingBuild. */ - com.google.protobuf.ByteString - getRenderingBuildBytes(); + com.google.protobuf.ByteString getRenderingBuildBytes(); /** + * + * *
      * Output only. Current state of the render operation for this Target.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renderingState. */ int getRenderingStateValue(); /** + * + * *
      * Output only. Current state of the render operation for this Target.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderingState. */ com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState getRenderingState(); /** + * + * *
      * Output only. Metadata related to the `Release` render for this Target.
      * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
      * Output only. Metadata related to the `Release` render for this Target.
      * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ com.google.cloud.deploy.v1.RenderMetadata getMetadata(); /** + * + * *
      * Output only. Metadata related to the `Release` render for this Target.
      * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.RenderMetadataOrBuilder getMetadataOrBuilder(); /** + * + * *
      * Output only. Reason this render failed. This will always be unspecified
      * while the render in progress.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ int getFailureCauseValue(); /** + * + * *
      * Output only. Reason this render failed. This will always be unspecified
      * while the render in progress.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ com.google.cloud.deploy.v1.Release.TargetRender.FailureCause getFailureCause(); /** + * + * *
      * Output only. Additional information about the render failure, if
      * available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ java.lang.String getFailureMessage(); /** + * + * *
      * Output only. Additional information about the render failure, if
      * available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - com.google.protobuf.ByteString - getFailureMessageBytes(); + com.google.protobuf.ByteString getFailureMessageBytes(); } /** + * + * *
    * Details of rendering for a single target.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Release.TargetRender} */ - public static final class TargetRender extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TargetRender extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Release.TargetRender) TargetRenderOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TargetRender.newBuilder() to construct. private TargetRender(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TargetRender() { renderingBuild_ = ""; renderingState_ = 0; @@ -380,34 +467,38 @@ private TargetRender() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TargetRender(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Release.TargetRender.class, com.google.cloud.deploy.v1.Release.TargetRender.Builder.class); + com.google.cloud.deploy.v1.Release.TargetRender.class, + com.google.cloud.deploy.v1.Release.TargetRender.Builder.class); } /** + * + * *
      * Valid states of the render operation.
      * 
* * Protobuf enum {@code google.cloud.deploy.v1.Release.TargetRender.TargetRenderState} */ - public enum TargetRenderState - implements com.google.protobuf.ProtocolMessageEnum { + public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The render operation state is unspecified.
        * 
@@ -416,6 +507,8 @@ public enum TargetRenderState */ TARGET_RENDER_STATE_UNSPECIFIED(0), /** + * + * *
        * The render operation has completed successfully.
        * 
@@ -424,6 +517,8 @@ public enum TargetRenderState */ SUCCEEDED(1), /** + * + * *
        * The render operation has failed.
        * 
@@ -432,6 +527,8 @@ public enum TargetRenderState */ FAILED(2), /** + * + * *
        * The render operation is in progress.
        * 
@@ -443,6 +540,8 @@ public enum TargetRenderState ; /** + * + * *
        * The render operation state is unspecified.
        * 
@@ -451,6 +550,8 @@ public enum TargetRenderState */ public static final int TARGET_RENDER_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The render operation has completed successfully.
        * 
@@ -459,6 +560,8 @@ public enum TargetRenderState */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
        * The render operation has failed.
        * 
@@ -467,6 +570,8 @@ public enum TargetRenderState */ public static final int FAILED_VALUE = 2; /** + * + * *
        * The render operation is in progress.
        * 
@@ -475,7 +580,6 @@ public enum TargetRenderState */ public static final int IN_PROGRESS_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -500,11 +604,16 @@ public static TargetRenderState valueOf(int value) { */ public static TargetRenderState forNumber(int value) { switch (value) { - case 0: return TARGET_RENDER_STATE_UNSPECIFIED; - case 1: return SUCCEEDED; - case 2: return FAILED; - case 3: return IN_PROGRESS; - default: return null; + case 0: + return TARGET_RENDER_STATE_UNSPECIFIED; + case 1: + return SUCCEEDED; + case 2: + return FAILED; + case 3: + return IN_PROGRESS; + default: + return null; } } @@ -512,29 +621,31 @@ public static TargetRenderState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TargetRenderState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TargetRenderState findValueByNumber(int number) { - return TargetRenderState.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 TargetRenderState findValueByNumber(int number) { + return TargetRenderState.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.cloud.deploy.v1.Release.TargetRender.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.deploy.v1.Release.TargetRender.getDescriptor() + .getEnumTypes() + .get(0); } private static final TargetRenderState[] VALUES = values(); @@ -542,8 +653,7 @@ public TargetRenderState findValueByNumber(int number) { public static TargetRenderState 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; @@ -561,15 +671,18 @@ private TargetRenderState(int value) { } /** + * + * *
      * Well-known rendering failures.
      * 
* * Protobuf enum {@code google.cloud.deploy.v1.Release.TargetRender.FailureCause} */ - public enum FailureCause - implements com.google.protobuf.ProtocolMessageEnum { + public enum FailureCause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * No reason for failure is specified.
        * 
@@ -578,6 +691,8 @@ public enum FailureCause */ FAILURE_CAUSE_UNSPECIFIED(0), /** + * + * *
        * Cloud Build is not available, either because it is not enabled or
        * because Cloud Deploy has insufficient permissions. See [required
@@ -588,6 +703,8 @@ public enum FailureCause
        */
       CLOUD_BUILD_UNAVAILABLE(1),
       /**
+       *
+       *
        * 
        * The render operation did not complete successfully; check Cloud Build
        * logs.
@@ -597,6 +714,8 @@ public enum FailureCause
        */
       EXECUTION_FAILED(2),
       /**
+       *
+       *
        * 
        * Cloud Build failed to fulfill Cloud Deploy's request. See
        * failure_message for additional details.
@@ -606,6 +725,8 @@ public enum FailureCause
        */
       CLOUD_BUILD_REQUEST_FAILED(3),
       /**
+       *
+       *
        * 
        * The render operation did not complete successfully because the
        * verification stanza required for verify was not found on the Skaffold
@@ -616,6 +737,8 @@ public enum FailureCause
        */
       VERIFICATION_CONFIG_NOT_FOUND(4),
       /**
+       *
+       *
        * 
        * The render operation did not complete successfully because the custom
        * action required for predeploy or postdeploy was not found in the
@@ -626,6 +749,8 @@ public enum FailureCause
        */
       CUSTOM_ACTION_NOT_FOUND(5),
       /**
+       *
+       *
        * 
        * Release failed during rendering because the release configuration is
        * not supported with the specified deployment strategy.
@@ -635,6 +760,8 @@ public enum FailureCause
        */
       DEPLOYMENT_STRATEGY_NOT_SUPPORTED(6),
       /**
+       *
+       *
        * 
        * The render operation had a feature configured that is not supported.
        * 
@@ -646,6 +773,8 @@ public enum FailureCause ; /** + * + * *
        * No reason for failure is specified.
        * 
@@ -654,6 +783,8 @@ public enum FailureCause */ public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Cloud Build is not available, either because it is not enabled or
        * because Cloud Deploy has insufficient permissions. See [required
@@ -664,6 +795,8 @@ public enum FailureCause
        */
       public static final int CLOUD_BUILD_UNAVAILABLE_VALUE = 1;
       /**
+       *
+       *
        * 
        * The render operation did not complete successfully; check Cloud Build
        * logs.
@@ -673,6 +806,8 @@ public enum FailureCause
        */
       public static final int EXECUTION_FAILED_VALUE = 2;
       /**
+       *
+       *
        * 
        * Cloud Build failed to fulfill Cloud Deploy's request. See
        * failure_message for additional details.
@@ -682,6 +817,8 @@ public enum FailureCause
        */
       public static final int CLOUD_BUILD_REQUEST_FAILED_VALUE = 3;
       /**
+       *
+       *
        * 
        * The render operation did not complete successfully because the
        * verification stanza required for verify was not found on the Skaffold
@@ -692,6 +829,8 @@ public enum FailureCause
        */
       public static final int VERIFICATION_CONFIG_NOT_FOUND_VALUE = 4;
       /**
+       *
+       *
        * 
        * The render operation did not complete successfully because the custom
        * action required for predeploy or postdeploy was not found in the
@@ -702,6 +841,8 @@ public enum FailureCause
        */
       public static final int CUSTOM_ACTION_NOT_FOUND_VALUE = 5;
       /**
+       *
+       *
        * 
        * Release failed during rendering because the release configuration is
        * not supported with the specified deployment strategy.
@@ -711,6 +852,8 @@ public enum FailureCause
        */
       public static final int DEPLOYMENT_STRATEGY_NOT_SUPPORTED_VALUE = 6;
       /**
+       *
+       *
        * 
        * The render operation had a feature configured that is not supported.
        * 
@@ -719,7 +862,6 @@ public enum FailureCause */ public static final int RENDER_FEATURE_NOT_SUPPORTED_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -744,54 +886,61 @@ public static FailureCause valueOf(int value) { */ public static FailureCause forNumber(int value) { switch (value) { - case 0: return FAILURE_CAUSE_UNSPECIFIED; - case 1: return CLOUD_BUILD_UNAVAILABLE; - case 2: return EXECUTION_FAILED; - case 3: return CLOUD_BUILD_REQUEST_FAILED; - case 4: return VERIFICATION_CONFIG_NOT_FOUND; - case 5: return CUSTOM_ACTION_NOT_FOUND; - case 6: return DEPLOYMENT_STRATEGY_NOT_SUPPORTED; - case 7: return RENDER_FEATURE_NOT_SUPPORTED; - default: return null; + case 0: + return FAILURE_CAUSE_UNSPECIFIED; + case 1: + return CLOUD_BUILD_UNAVAILABLE; + case 2: + return EXECUTION_FAILED; + case 3: + return CLOUD_BUILD_REQUEST_FAILED; + case 4: + return VERIFICATION_CONFIG_NOT_FOUND; + case 5: + return CUSTOM_ACTION_NOT_FOUND; + case 6: + return DEPLOYMENT_STRATEGY_NOT_SUPPORTED; + case 7: + return RENDER_FEATURE_NOT_SUPPORTED; + 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< - FailureCause> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FailureCause findValueByNumber(int number) { - return FailureCause.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 FailureCause findValueByNumber(int number) { + return FailureCause.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.cloud.deploy.v1.Release.TargetRender.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.deploy.v1.Release.TargetRender.getDescriptor() + .getEnumTypes() + .get(1); } private static final FailureCause[] VALUES = values(); - public static FailureCause valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FailureCause 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; @@ -809,16 +958,22 @@ private FailureCause(int value) { } public static final int RENDERING_BUILD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object renderingBuild_ = ""; /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to render the manifest for this target. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The renderingBuild. */ @java.lang.Override @@ -827,31 +982,33 @@ public java.lang.String getRenderingBuild() { 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(); renderingBuild_ = s; return s; } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to render the manifest for this target. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for renderingBuild. */ @java.lang.Override - public com.google.protobuf.ByteString - getRenderingBuildBytes() { + public com.google.protobuf.ByteString getRenderingBuildBytes() { java.lang.Object ref = renderingBuild_; 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); renderingBuild_ = b; return b; } else { @@ -862,37 +1019,58 @@ public java.lang.String getRenderingBuild() { public static final int RENDERING_STATE_FIELD_NUMBER = 2; private int renderingState_ = 0; /** + * + * *
      * Output only. Current state of the render operation for this Target.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renderingState. */ - @java.lang.Override public int getRenderingStateValue() { + @java.lang.Override + public int getRenderingStateValue() { return renderingState_; } /** + * + * *
      * Output only. Current state of the render operation for this Target.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderingState. */ - @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState getRenderingState() { - com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState result = com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.forNumber(renderingState_); - return result == null ? com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState getRenderingState() { + com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState result = + com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.forNumber( + renderingState_); + return result == null + ? com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.UNRECOGNIZED + : result; } public static final int METADATA_FIELD_NUMBER = 6; private com.google.cloud.deploy.v1.RenderMetadata metadata_; /** + * + * *
      * Output only. Metadata related to the `Release` render for this Target.
      * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -900,67 +1078,99 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
      * Output only. Metadata related to the `Release` render for this Target.
      * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ @java.lang.Override public com.google.cloud.deploy.v1.RenderMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
      * Output only. Metadata related to the `Release` render for this Target.
      * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RenderMetadataOrBuilder getMetadataOrBuilder() { - return metadata_ == null ? com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() + : metadata_; } public static final int FAILURE_CAUSE_FIELD_NUMBER = 4; private int failureCause_ = 0; /** + * + * *
      * Output only. Reason this render failed. This will always be unspecified
      * while the render in progress.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
      * Output only. Reason this render failed. This will always be unspecified
      * while the render in progress.
      * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ - @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.Release.TargetRender.FailureCause result = com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.deploy.v1.Release.TargetRender.FailureCause getFailureCause() { + com.google.cloud.deploy.v1.Release.TargetRender.FailureCause result = + com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.UNRECOGNIZED + : result; } public static final int FAILURE_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object failureMessage_ = ""; /** + * + * *
      * Output only. Additional information about the render failure, if
      * available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ @java.lang.Override @@ -969,30 +1179,30 @@ public java.lang.String getFailureMessage() { 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(); failureMessage_ = s; return s; } } /** + * + * *
      * Output only. Additional information about the render failure, if
      * available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -1001,6 +1211,7 @@ public java.lang.String getFailureMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1012,15 +1223,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(renderingBuild_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, renderingBuild_); } - if (renderingState_ != com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.TARGET_RENDER_STATE_UNSPECIFIED.getNumber()) { + if (renderingState_ + != com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState + .TARGET_RENDER_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, renderingState_); } - if (failureCause_ != com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { + if (failureCause_ + != com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { @@ -1041,20 +1256,22 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(renderingBuild_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, renderingBuild_); } - if (renderingState_ != com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.TARGET_RENDER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, renderingState_); + if (renderingState_ + != com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState + .TARGET_RENDER_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, renderingState_); } - if (failureCause_ != com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, failureCause_); + if (failureCause_ + != com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, failureMessage_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1064,24 +1281,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.cloud.deploy.v1.Release.TargetRender)) { return super.equals(obj); } - com.google.cloud.deploy.v1.Release.TargetRender other = (com.google.cloud.deploy.v1.Release.TargetRender) obj; + com.google.cloud.deploy.v1.Release.TargetRender other = + (com.google.cloud.deploy.v1.Release.TargetRender) obj; - if (!getRenderingBuild() - .equals(other.getRenderingBuild())) return false; + if (!getRenderingBuild().equals(other.getRenderingBuild())) return false; if (renderingState_ != other.renderingState_) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } if (failureCause_ != other.failureCause_) return false; - if (!getFailureMessage() - .equals(other.getFailureMessage())) return false; + if (!getFailureMessage().equals(other.getFailureMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1111,89 +1326,93 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.Release.TargetRender 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.cloud.deploy.v1.Release.TargetRender parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.Release.TargetRender parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.Release.TargetRender parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Release.TargetRender parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release.TargetRender parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Release.TargetRender 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 @@ -1203,39 +1422,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details of rendering for a single target.
      * 
* * Protobuf type {@code google.cloud.deploy.v1.Release.TargetRender} */ - 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.cloud.deploy.v1.Release.TargetRender) com.google.cloud.deploy.v1.Release.TargetRenderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Release.TargetRender.class, com.google.cloud.deploy.v1.Release.TargetRender.Builder.class); + com.google.cloud.deploy.v1.Release.TargetRender.class, + com.google.cloud.deploy.v1.Release.TargetRender.Builder.class); } // Construct using com.google.cloud.deploy.v1.Release.TargetRender.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1253,9 +1474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; } @java.lang.Override @@ -1274,8 +1495,11 @@ public com.google.cloud.deploy.v1.Release.TargetRender build() { @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender buildPartial() { - com.google.cloud.deploy.v1.Release.TargetRender result = new com.google.cloud.deploy.v1.Release.TargetRender(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.Release.TargetRender result = + new com.google.cloud.deploy.v1.Release.TargetRender(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1289,9 +1513,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release.TargetRender resul result.renderingState_ = renderingState_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.metadata_ = metadataBuilder_ == null - ? metadata_ - : metadataBuilder_.build(); + result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.failureCause_ = failureCause_; @@ -1305,38 +1527,41 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release.TargetRender resul 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.cloud.deploy.v1.Release.TargetRender) { - return mergeFrom((com.google.cloud.deploy.v1.Release.TargetRender)other); + return mergeFrom((com.google.cloud.deploy.v1.Release.TargetRender) other); } else { super.mergeFrom(other); return this; @@ -1344,7 +1569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.Release.TargetRender other) { - if (other == com.google.cloud.deploy.v1.Release.TargetRender.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.Release.TargetRender.getDefaultInstance()) + return this; if (!other.getRenderingBuild().isEmpty()) { renderingBuild_ = other.renderingBuild_; bitField0_ |= 0x00000001; @@ -1390,39 +1616,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - renderingBuild_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - renderingState_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 32: { - failureCause_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - failureMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + renderingBuild_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + renderingState_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 32: + { + failureCause_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + failureMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1432,24 +1662,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object renderingBuild_ = ""; /** + * + * *
        * Output only. The resource name of the Cloud Build `Build` object that is
        * used to render the manifest for this target. Format is
        * `projects/{project}/locations/{location}/builds/{build}`.
        * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The renderingBuild. */ public java.lang.String getRenderingBuild() { java.lang.Object ref = renderingBuild_; 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(); renderingBuild_ = s; return s; @@ -1458,22 +1693,25 @@ public java.lang.String getRenderingBuild() { } } /** + * + * *
        * Output only. The resource name of the Cloud Build `Build` object that is
        * used to render the manifest for this target. Format is
        * `projects/{project}/locations/{location}/builds/{build}`.
        * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for renderingBuild. */ - public com.google.protobuf.ByteString - getRenderingBuildBytes() { + public com.google.protobuf.ByteString getRenderingBuildBytes() { java.lang.Object ref = renderingBuild_; 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); renderingBuild_ = b; return b; } else { @@ -1481,32 +1719,43 @@ public java.lang.String getRenderingBuild() { } } /** + * + * *
        * Output only. The resource name of the Cloud Build `Build` object that is
        * used to render the manifest for this target. Format is
        * `projects/{project}/locations/{location}/builds/{build}`.
        * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The renderingBuild to set. * @return This builder for chaining. */ - public Builder setRenderingBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRenderingBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } renderingBuild_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. The resource name of the Cloud Build `Build` object that is
        * used to render the manifest for this target. Format is
        * `projects/{project}/locations/{location}/builds/{build}`.
        * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRenderingBuild() { @@ -1516,19 +1765,25 @@ public Builder clearRenderingBuild() { return this; } /** + * + * *
        * Output only. The resource name of the Cloud Build `Build` object that is
        * used to render the manifest for this target. Format is
        * `projects/{project}/locations/{location}/builds/{build}`.
        * 
* - * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string rendering_build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for renderingBuild to set. * @return This builder for chaining. */ - public Builder setRenderingBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRenderingBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); renderingBuild_ = value; bitField0_ |= 0x00000001; @@ -1538,22 +1793,33 @@ public Builder setRenderingBuildBytes( private int renderingState_ = 0; /** + * + * *
        * Output only. Current state of the render operation for this Target.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renderingState. */ - @java.lang.Override public int getRenderingStateValue() { + @java.lang.Override + public int getRenderingStateValue() { return renderingState_; } /** + * + * *
        * Output only. Current state of the render operation for this Target.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for renderingState to set. * @return This builder for chaining. */ @@ -1564,28 +1830,43 @@ public Builder setRenderingStateValue(int value) { return this; } /** + * + * *
        * Output only. Current state of the render operation for this Target.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderingState. */ @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState getRenderingState() { - com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState result = com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.forNumber(renderingState_); - return result == null ? com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState result = + com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.forNumber( + renderingState_); + return result == null + ? com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.UNRECOGNIZED + : result; } /** + * + * *
        * Output only. Current state of the render operation for this Target.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The renderingState to set. * @return This builder for chaining. */ - public Builder setRenderingState(com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState value) { + public Builder setRenderingState( + com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState value) { if (value == null) { throw new NullPointerException(); } @@ -1595,11 +1876,16 @@ public Builder setRenderingState(com.google.cloud.deploy.v1.Release.TargetRender return this; } /** + * + * *
        * Output only. Current state of the render operation for this Target.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.TargetRenderState rendering_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRenderingState() { @@ -1611,39 +1897,58 @@ public Builder clearRenderingState() { private com.google.cloud.deploy.v1.RenderMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RenderMetadata, com.google.cloud.deploy.v1.RenderMetadata.Builder, com.google.cloud.deploy.v1.RenderMetadataOrBuilder> metadataBuilder_; + com.google.cloud.deploy.v1.RenderMetadata, + com.google.cloud.deploy.v1.RenderMetadata.Builder, + com.google.cloud.deploy.v1.RenderMetadataOrBuilder> + metadataBuilder_; /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.cloud.deploy.v1.RenderMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.cloud.deploy.v1.RenderMetadata value) { if (metadataBuilder_ == null) { @@ -1659,11 +1964,15 @@ public Builder setMetadata(com.google.cloud.deploy.v1.RenderMetadata value) { return this; } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata( com.google.cloud.deploy.v1.RenderMetadata.Builder builderForValue) { @@ -1677,17 +1986,21 @@ public Builder setMetadata( return this; } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.cloud.deploy.v1.RenderMetadata value) { if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - metadata_ != null && - metadata_ != com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && metadata_ != null + && metadata_ != com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; @@ -1700,11 +2013,15 @@ public Builder mergeMetadata(com.google.cloud.deploy.v1.RenderMetadata value) { return this; } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1717,11 +2034,15 @@ public Builder clearMetadata() { return this; } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RenderMetadata.Builder getMetadataBuilder() { bitField0_ |= 0x00000004; @@ -1729,36 +2050,48 @@ public com.google.cloud.deploy.v1.RenderMetadata.Builder getMetadataBuilder() { return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RenderMetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.RenderMetadata.getDefaultInstance() + : metadata_; } } /** + * + * *
        * Output only. Metadata related to the `Release` render for this Target.
        * 
* - * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RenderMetadata metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RenderMetadata, com.google.cloud.deploy.v1.RenderMetadata.Builder, com.google.cloud.deploy.v1.RenderMetadataOrBuilder> + com.google.cloud.deploy.v1.RenderMetadata, + com.google.cloud.deploy.v1.RenderMetadata.Builder, + com.google.cloud.deploy.v1.RenderMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RenderMetadata, com.google.cloud.deploy.v1.RenderMetadata.Builder, com.google.cloud.deploy.v1.RenderMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RenderMetadata, + com.google.cloud.deploy.v1.RenderMetadata.Builder, + com.google.cloud.deploy.v1.RenderMetadataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; @@ -1766,24 +2099,35 @@ public com.google.cloud.deploy.v1.RenderMetadataOrBuilder getMetadataOrBuilder() private int failureCause_ = 0; /** + * + * *
        * Output only. Reason this render failed. This will always be unspecified
        * while the render in progress.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
        * Output only. Reason this render failed. This will always be unspecified
        * while the render in progress.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for failureCause to set. * @return This builder for chaining. */ @@ -1794,30 +2138,44 @@ public Builder setFailureCauseValue(int value) { return this; } /** + * + * *
        * Output only. Reason this render failed. This will always be unspecified
        * while the render in progress.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.Release.TargetRender.FailureCause result = com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.Release.TargetRender.FailureCause result = + com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.Release.TargetRender.FailureCause.UNRECOGNIZED + : result; } /** + * + * *
        * Output only. Reason this render failed. This will always be unspecified
        * while the render in progress.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The failureCause to set. * @return This builder for chaining. */ - public Builder setFailureCause(com.google.cloud.deploy.v1.Release.TargetRender.FailureCause value) { + public Builder setFailureCause( + com.google.cloud.deploy.v1.Release.TargetRender.FailureCause value) { if (value == null) { throw new NullPointerException(); } @@ -1827,12 +2185,17 @@ public Builder setFailureCause(com.google.cloud.deploy.v1.Release.TargetRender.F return this; } /** + * + * *
        * Output only. Reason this render failed. This will always be unspecified
        * while the render in progress.
        * 
* - * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.TargetRender.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearFailureCause() { @@ -1844,19 +2207,21 @@ public Builder clearFailureCause() { private java.lang.Object failureMessage_ = ""; /** + * + * *
        * Output only. Additional information about the render failure, if
        * available.
        * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ public java.lang.String getFailureMessage() { java.lang.Object ref = failureMessage_; 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(); failureMessage_ = s; return s; @@ -1865,21 +2230,22 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
        * Output only. Additional information about the render failure, if
        * available.
        * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -1887,30 +2253,37 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
        * Output only. Additional information about the render failure, if
        * available.
        * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } failureMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * Output only. Additional information about the render failure, if
        * available.
        * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureMessage() { @@ -1920,24 +2293,29 @@ public Builder clearFailureMessage() { return this; } /** + * + * *
        * Output only. Additional information about the render failure, if
        * available.
        * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); failureMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1950,12 +2328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Release.TargetRender) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Release.TargetRender) private static final com.google.cloud.deploy.v1.Release.TargetRender DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Release.TargetRender(); } @@ -1964,27 +2342,28 @@ public static com.google.cloud.deploy.v1.Release.TargetRender getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetRender parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetRender parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1999,14 +2378,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Release.TargetRender getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReleaseReadyConditionOrBuilder extends + public interface ReleaseReadyConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Release.ReleaseReadyCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * True if the Release is in a valid state. Otherwise at least one condition
      * in `ReleaseCondition` is in an invalid state. Iterate over those
@@ -2015,11 +2396,14 @@ public interface ReleaseReadyConditionOrBuilder extends
      * 
* * bool status = 1; + * * @return The status. */ boolean getStatus(); } /** + * + * *
    * ReleaseReadyCondition contains information around the status of the
    * Release. If a release is not ready, you cannot create a rollout with the
@@ -2028,41 +2412,44 @@ public interface ReleaseReadyConditionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.deploy.v1.Release.ReleaseReadyCondition}
    */
-  public static final class ReleaseReadyCondition extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ReleaseReadyCondition extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Release.ReleaseReadyCondition)
       ReleaseReadyConditionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ReleaseReadyCondition.newBuilder() to construct.
     private ReleaseReadyCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private ReleaseReadyCondition() {
-    }
+
+    private ReleaseReadyCondition() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ReleaseReadyCondition();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.class, com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder.class);
+              com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.class,
+              com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder.class);
     }
 
     public static final int STATUS_FIELD_NUMBER = 1;
     private boolean status_ = false;
     /**
+     *
+     *
      * 
      * True if the Release is in a valid state. Otherwise at least one condition
      * in `ReleaseCondition` is in an invalid state. Iterate over those
@@ -2071,6 +2458,7 @@ protected java.lang.Object newInstance(
      * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -2079,6 +2467,7 @@ public boolean getStatus() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2090,8 +2479,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 (status_ != false) { output.writeBool(1, status_); } @@ -2105,8 +2493,7 @@ public int getSerializedSize() { size = 0; if (status_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, status_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, status_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2116,15 +2503,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.cloud.deploy.v1.Release.ReleaseReadyCondition)) { return super.equals(obj); } - com.google.cloud.deploy.v1.Release.ReleaseReadyCondition other = (com.google.cloud.deploy.v1.Release.ReleaseReadyCondition) obj; + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition other = + (com.google.cloud.deploy.v1.Release.ReleaseReadyCondition) obj; - if (getStatus() - != other.getStatus()) return false; + if (getStatus() != other.getStatus()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2137,97 +2524,101 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStatus()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStatus()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition 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.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.Release.ReleaseReadyCondition prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition 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 @@ -2237,6 +2628,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * ReleaseReadyCondition contains information around the status of the
      * Release. If a release is not ready, you cannot create a rollout with the
@@ -2245,33 +2638,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.deploy.v1.Release.ReleaseReadyCondition}
      */
-    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.cloud.deploy.v1.Release.ReleaseReadyCondition)
         com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.class, com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder.class);
+                com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.class,
+                com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder.class);
       }
 
       // Construct using com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2281,9 +2674,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor;
       }
 
       @java.lang.Override
@@ -2302,8 +2695,11 @@ public com.google.cloud.deploy.v1.Release.ReleaseReadyCondition build() {
 
       @java.lang.Override
       public com.google.cloud.deploy.v1.Release.ReleaseReadyCondition buildPartial() {
-        com.google.cloud.deploy.v1.Release.ReleaseReadyCondition result = new com.google.cloud.deploy.v1.Release.ReleaseReadyCondition(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.deploy.v1.Release.ReleaseReadyCondition result =
+            new com.google.cloud.deploy.v1.Release.ReleaseReadyCondition(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -2319,38 +2715,41 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release.ReleaseReadyCondit
       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.cloud.deploy.v1.Release.ReleaseReadyCondition) {
-          return mergeFrom((com.google.cloud.deploy.v1.Release.ReleaseReadyCondition)other);
+          return mergeFrom((com.google.cloud.deploy.v1.Release.ReleaseReadyCondition) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2358,7 +2757,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.deploy.v1.Release.ReleaseReadyCondition other) {
-        if (other == com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance()) return this;
+        if (other == com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance())
+          return this;
         if (other.getStatus() != false) {
           setStatus(other.getStatus());
         }
@@ -2388,17 +2788,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                status_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  status_ = input.readBool();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2408,10 +2810,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private boolean status_ ;
+      private boolean status_;
       /**
+       *
+       *
        * 
        * True if the Release is in a valid state. Otherwise at least one condition
        * in `ReleaseCondition` is in an invalid state. Iterate over those
@@ -2420,6 +2825,7 @@ public Builder mergeFrom(
        * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -2427,6 +2833,8 @@ public boolean getStatus() { return status_; } /** + * + * *
        * True if the Release is in a valid state. Otherwise at least one condition
        * in `ReleaseCondition` is in an invalid state. Iterate over those
@@ -2435,6 +2843,7 @@ public boolean getStatus() {
        * 
* * bool status = 1; + * * @param value The status to set. * @return This builder for chaining. */ @@ -2446,6 +2855,8 @@ public Builder setStatus(boolean value) { return this; } /** + * + * *
        * True if the Release is in a valid state. Otherwise at least one condition
        * in `ReleaseCondition` is in an invalid state. Iterate over those
@@ -2454,6 +2865,7 @@ public Builder setStatus(boolean value) {
        * 
* * bool status = 1; + * * @return This builder for chaining. */ public Builder clearStatus() { @@ -2462,6 +2874,7 @@ public Builder clearStatus() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2474,12 +2887,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Release.ReleaseReadyCondition) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Release.ReleaseReadyCondition) private static final com.google.cloud.deploy.v1.Release.ReleaseReadyCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Release.ReleaseReadyCondition(); } @@ -2488,27 +2901,28 @@ public static com.google.cloud.deploy.v1.Release.ReleaseReadyCondition getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseReadyCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseReadyCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2523,63 +2937,80 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Release.ReleaseReadyCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SkaffoldSupportedConditionOrBuilder extends + public interface SkaffoldSupportedConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Release.SkaffoldSupportedCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * True if the version of Skaffold used by this release is supported.
      * 
* * bool status = 1; + * * @return The status. */ boolean getStatus(); /** + * + * *
      * The Skaffold support state for this release's version of Skaffold.
      * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @return The enum numeric value on the wire for skaffoldSupportState. */ int getSkaffoldSupportStateValue(); /** + * + * *
      * The Skaffold support state for this release's version of Skaffold.
      * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @return The skaffoldSupportState. */ com.google.cloud.deploy.v1.SkaffoldSupportState getSkaffoldSupportState(); /** + * + * *
      * The time at which this release's version of Skaffold will enter
      * maintenance mode.
      * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return Whether the maintenanceModeTime field is set. */ boolean hasMaintenanceModeTime(); /** + * + * *
      * The time at which this release's version of Skaffold will enter
      * maintenance mode.
      * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return The maintenanceModeTime. */ com.google.protobuf.Timestamp getMaintenanceModeTime(); /** + * + * *
      * The time at which this release's version of Skaffold will enter
      * maintenance mode.
@@ -2590,26 +3021,34 @@ public interface SkaffoldSupportedConditionOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder();
 
     /**
+     *
+     *
      * 
      * The time at which this release's version of Skaffold will no longer be
      * supported.
      * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return Whether the supportExpirationTime field is set. */ boolean hasSupportExpirationTime(); /** + * + * *
      * The time at which this release's version of Skaffold will no longer be
      * supported.
      * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return The supportExpirationTime. */ com.google.protobuf.Timestamp getSupportExpirationTime(); /** + * + * *
      * The time at which this release's version of Skaffold will no longer be
      * supported.
@@ -2620,6 +3059,8 @@ public interface SkaffoldSupportedConditionOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder();
   }
   /**
+   *
+   *
    * 
    * SkaffoldSupportedCondition contains information about when support for the
    * release's version of Skaffold ends.
@@ -2627,47 +3068,53 @@ public interface SkaffoldSupportedConditionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.deploy.v1.Release.SkaffoldSupportedCondition}
    */
-  public static final class SkaffoldSupportedCondition extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SkaffoldSupportedCondition
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Release.SkaffoldSupportedCondition)
       SkaffoldSupportedConditionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SkaffoldSupportedCondition.newBuilder() to construct.
     private SkaffoldSupportedCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SkaffoldSupportedCondition() {
       skaffoldSupportState_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SkaffoldSupportedCondition();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.class, com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder.class);
+              com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.class,
+              com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder.class);
     }
 
     public static final int STATUS_FIELD_NUMBER = 1;
     private boolean status_ = false;
     /**
+     *
+     *
      * 
      * True if the version of Skaffold used by this release is supported.
      * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -2678,38 +3125,50 @@ public boolean getStatus() { public static final int SKAFFOLD_SUPPORT_STATE_FIELD_NUMBER = 2; private int skaffoldSupportState_ = 0; /** + * + * *
      * The Skaffold support state for this release's version of Skaffold.
      * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @return The enum numeric value on the wire for skaffoldSupportState. */ - @java.lang.Override public int getSkaffoldSupportStateValue() { + @java.lang.Override + public int getSkaffoldSupportStateValue() { return skaffoldSupportState_; } /** + * + * *
      * The Skaffold support state for this release's version of Skaffold.
      * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @return The skaffoldSupportState. */ - @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldSupportState getSkaffoldSupportState() { - com.google.cloud.deploy.v1.SkaffoldSupportState result = com.google.cloud.deploy.v1.SkaffoldSupportState.forNumber(skaffoldSupportState_); + @java.lang.Override + public com.google.cloud.deploy.v1.SkaffoldSupportState getSkaffoldSupportState() { + com.google.cloud.deploy.v1.SkaffoldSupportState result = + com.google.cloud.deploy.v1.SkaffoldSupportState.forNumber(skaffoldSupportState_); return result == null ? com.google.cloud.deploy.v1.SkaffoldSupportState.UNRECOGNIZED : result; } public static final int MAINTENANCE_MODE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp maintenanceModeTime_; /** + * + * *
      * The time at which this release's version of Skaffold will enter
      * maintenance mode.
      * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return Whether the maintenanceModeTime field is set. */ @java.lang.Override @@ -2717,19 +3176,26 @@ public boolean hasMaintenanceModeTime() { return maintenanceModeTime_ != null; } /** + * + * *
      * The time at which this release's version of Skaffold will enter
      * maintenance mode.
      * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return The maintenanceModeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMaintenanceModeTime() { - return maintenanceModeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_; + return maintenanceModeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maintenanceModeTime_; } /** + * + * *
      * The time at which this release's version of Skaffold will enter
      * maintenance mode.
@@ -2739,18 +3205,23 @@ public com.google.protobuf.Timestamp getMaintenanceModeTime() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder() {
-      return maintenanceModeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_;
+      return maintenanceModeTime_ == null
+          ? com.google.protobuf.Timestamp.getDefaultInstance()
+          : maintenanceModeTime_;
     }
 
     public static final int SUPPORT_EXPIRATION_TIME_FIELD_NUMBER = 4;
     private com.google.protobuf.Timestamp supportExpirationTime_;
     /**
+     *
+     *
      * 
      * The time at which this release's version of Skaffold will no longer be
      * supported.
      * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return Whether the supportExpirationTime field is set. */ @java.lang.Override @@ -2758,19 +3229,26 @@ public boolean hasSupportExpirationTime() { return supportExpirationTime_ != null; } /** + * + * *
      * The time at which this release's version of Skaffold will no longer be
      * supported.
      * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return The supportExpirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSupportExpirationTime() { - return supportExpirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_; + return supportExpirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportExpirationTime_; } /** + * + * *
      * The time at which this release's version of Skaffold will no longer be
      * supported.
@@ -2780,10 +3258,13 @@ public com.google.protobuf.Timestamp getSupportExpirationTime() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder() {
-      return supportExpirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_;
+      return supportExpirationTime_ == null
+          ? com.google.protobuf.Timestamp.getDefaultInstance()
+          : supportExpirationTime_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2795,12 +3276,13 @@ 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 (status_ != false) {
         output.writeBool(1, status_);
       }
-      if (skaffoldSupportState_ != com.google.cloud.deploy.v1.SkaffoldSupportState.SKAFFOLD_SUPPORT_STATE_UNSPECIFIED.getNumber()) {
+      if (skaffoldSupportState_
+          != com.google.cloud.deploy.v1.SkaffoldSupportState.SKAFFOLD_SUPPORT_STATE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(2, skaffoldSupportState_);
       }
       if (maintenanceModeTime_ != null) {
@@ -2819,20 +3301,20 @@ public int getSerializedSize() {
 
       size = 0;
       if (status_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(1, status_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, status_);
       }
-      if (skaffoldSupportState_ != com.google.cloud.deploy.v1.SkaffoldSupportState.SKAFFOLD_SUPPORT_STATE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(2, skaffoldSupportState_);
+      if (skaffoldSupportState_
+          != com.google.cloud.deploy.v1.SkaffoldSupportState.SKAFFOLD_SUPPORT_STATE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, skaffoldSupportState_);
       }
       if (maintenanceModeTime_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getMaintenanceModeTime());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaintenanceModeTime());
       }
       if (supportExpirationTime_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getSupportExpirationTime());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSupportExpirationTime());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2842,25 +3324,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.cloud.deploy.v1.Release.SkaffoldSupportedCondition)) {
         return super.equals(obj);
       }
-      com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition other = (com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition) obj;
+      com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition other =
+          (com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition) obj;
 
-      if (getStatus()
-          != other.getStatus()) return false;
+      if (getStatus() != other.getStatus()) return false;
       if (skaffoldSupportState_ != other.skaffoldSupportState_) return false;
       if (hasMaintenanceModeTime() != other.hasMaintenanceModeTime()) return false;
       if (hasMaintenanceModeTime()) {
-        if (!getMaintenanceModeTime()
-            .equals(other.getMaintenanceModeTime())) return false;
+        if (!getMaintenanceModeTime().equals(other.getMaintenanceModeTime())) return false;
       }
       if (hasSupportExpirationTime() != other.hasSupportExpirationTime()) return false;
       if (hasSupportExpirationTime()) {
-        if (!getSupportExpirationTime()
-            .equals(other.getSupportExpirationTime())) return false;
+        if (!getSupportExpirationTime().equals(other.getSupportExpirationTime())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2874,8 +3354,7 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + STATUS_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getStatus());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStatus());
       hash = (37 * hash) + SKAFFOLD_SUPPORT_STATE_FIELD_NUMBER;
       hash = (53 * hash) + skaffoldSupportState_;
       if (hasMaintenanceModeTime()) {
@@ -2892,89 +3371,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition 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.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition 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
@@ -2984,6 +3468,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * SkaffoldSupportedCondition contains information about when support for the
      * release's version of Skaffold ends.
@@ -2991,33 +3477,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.deploy.v1.Release.SkaffoldSupportedCondition}
      */
-    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.cloud.deploy.v1.Release.SkaffoldSupportedCondition)
         com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.class, com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder.class);
+                com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.class,
+                com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder.class);
       }
 
       // Construct using com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3038,13 +3524,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.deploy.v1.CloudDeployProto
+            .internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition getDefaultInstanceForType() {
+      public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition
+          getDefaultInstanceForType() {
         return com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance();
       }
 
@@ -3059,13 +3546,17 @@ public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition build() {
 
       @java.lang.Override
       public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition buildPartial() {
-        com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition result = new com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition result =
+            new com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition result) {
+      private void buildPartial0(
+          com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.status_ = status_;
@@ -3074,14 +3565,16 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release.SkaffoldSupportedC
           result.skaffoldSupportState_ = skaffoldSupportState_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.maintenanceModeTime_ = maintenanceModeTimeBuilder_ == null
-              ? maintenanceModeTime_
-              : maintenanceModeTimeBuilder_.build();
+          result.maintenanceModeTime_ =
+              maintenanceModeTimeBuilder_ == null
+                  ? maintenanceModeTime_
+                  : maintenanceModeTimeBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.supportExpirationTime_ = supportExpirationTimeBuilder_ == null
-              ? supportExpirationTime_
-              : supportExpirationTimeBuilder_.build();
+          result.supportExpirationTime_ =
+              supportExpirationTimeBuilder_ == null
+                  ? supportExpirationTime_
+                  : supportExpirationTimeBuilder_.build();
         }
       }
 
@@ -3089,46 +3582,52 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release.SkaffoldSupportedC
       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.cloud.deploy.v1.Release.SkaffoldSupportedCondition) {
-          return mergeFrom((com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition)other);
+          return mergeFrom((com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition other) {
-        if (other == com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition other) {
+        if (other
+            == com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance())
+          return this;
         if (other.getStatus() != false) {
           setStatus(other.getStatus());
         }
@@ -3167,36 +3666,39 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                status_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 16: {
-                skaffoldSupportState_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              case 26: {
-                input.readMessage(
-                    getMaintenanceModeTimeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getSupportExpirationTimeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  status_ = input.readBool();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 16:
+                {
+                  skaffoldSupportState_ = input.readEnum();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              case 26:
+                {
+                  input.readMessage(
+                      getMaintenanceModeTimeFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(
+                      getSupportExpirationTimeFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 34
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3206,15 +3708,19 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private boolean status_ ;
+      private boolean status_;
       /**
+       *
+       *
        * 
        * True if the version of Skaffold used by this release is supported.
        * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -3222,11 +3728,14 @@ public boolean getStatus() { return status_; } /** + * + * *
        * True if the version of Skaffold used by this release is supported.
        * 
* * bool status = 1; + * * @param value The status to set. * @return This builder for chaining. */ @@ -3238,11 +3747,14 @@ public Builder setStatus(boolean value) { return this; } /** + * + * *
        * True if the version of Skaffold used by this release is supported.
        * 
* * bool status = 1; + * * @return This builder for chaining. */ public Builder clearStatus() { @@ -3254,22 +3766,29 @@ public Builder clearStatus() { private int skaffoldSupportState_ = 0; /** + * + * *
        * The Skaffold support state for this release's version of Skaffold.
        * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @return The enum numeric value on the wire for skaffoldSupportState. */ - @java.lang.Override public int getSkaffoldSupportStateValue() { + @java.lang.Override + public int getSkaffoldSupportStateValue() { return skaffoldSupportState_; } /** + * + * *
        * The Skaffold support state for this release's version of Skaffold.
        * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @param value The enum numeric value on the wire for skaffoldSupportState to set. * @return This builder for chaining. */ @@ -3280,28 +3799,38 @@ public Builder setSkaffoldSupportStateValue(int value) { return this; } /** + * + * *
        * The Skaffold support state for this release's version of Skaffold.
        * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @return The skaffoldSupportState. */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldSupportState getSkaffoldSupportState() { - com.google.cloud.deploy.v1.SkaffoldSupportState result = com.google.cloud.deploy.v1.SkaffoldSupportState.forNumber(skaffoldSupportState_); - return result == null ? com.google.cloud.deploy.v1.SkaffoldSupportState.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.SkaffoldSupportState result = + com.google.cloud.deploy.v1.SkaffoldSupportState.forNumber(skaffoldSupportState_); + return result == null + ? com.google.cloud.deploy.v1.SkaffoldSupportState.UNRECOGNIZED + : result; } /** + * + * *
        * The Skaffold support state for this release's version of Skaffold.
        * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @param value The skaffoldSupportState to set. * @return This builder for chaining. */ - public Builder setSkaffoldSupportState(com.google.cloud.deploy.v1.SkaffoldSupportState value) { + public Builder setSkaffoldSupportState( + com.google.cloud.deploy.v1.SkaffoldSupportState value) { if (value == null) { throw new NullPointerException(); } @@ -3311,11 +3840,14 @@ public Builder setSkaffoldSupportState(com.google.cloud.deploy.v1.SkaffoldSuppor return this; } /** + * + * *
        * The Skaffold support state for this release's version of Skaffold.
        * 
* * .google.cloud.deploy.v1.SkaffoldSupportState skaffold_support_state = 2; + * * @return This builder for chaining. */ public Builder clearSkaffoldSupportState() { @@ -3327,36 +3859,49 @@ public Builder clearSkaffoldSupportState() { private com.google.protobuf.Timestamp maintenanceModeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> maintenanceModeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + maintenanceModeTimeBuilder_; /** + * + * *
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
        * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return Whether the maintenanceModeTime field is set. */ public boolean hasMaintenanceModeTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
        * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return The maintenanceModeTime. */ public com.google.protobuf.Timestamp getMaintenanceModeTime() { if (maintenanceModeTimeBuilder_ == null) { - return maintenanceModeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_; + return maintenanceModeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maintenanceModeTime_; } else { return maintenanceModeTimeBuilder_.getMessage(); } } /** + * + * *
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
@@ -3378,6 +3923,8 @@ public Builder setMaintenanceModeTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
@@ -3385,8 +3932,7 @@ public Builder setMaintenanceModeTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp maintenance_mode_time = 3;
        */
-      public Builder setMaintenanceModeTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setMaintenanceModeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (maintenanceModeTimeBuilder_ == null) {
           maintenanceModeTime_ = builderForValue.build();
         } else {
@@ -3397,6 +3943,8 @@ public Builder setMaintenanceModeTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
@@ -3406,9 +3954,9 @@ public Builder setMaintenanceModeTime(
        */
       public Builder mergeMaintenanceModeTime(com.google.protobuf.Timestamp value) {
         if (maintenanceModeTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0) &&
-            maintenanceModeTime_ != null &&
-            maintenanceModeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0)
+              && maintenanceModeTime_ != null
+              && maintenanceModeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getMaintenanceModeTimeBuilder().mergeFrom(value);
           } else {
             maintenanceModeTime_ = value;
@@ -3421,6 +3969,8 @@ public Builder mergeMaintenanceModeTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
@@ -3439,6 +3989,8 @@ public Builder clearMaintenanceModeTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
@@ -3452,6 +4004,8 @@ public com.google.protobuf.Timestamp.Builder getMaintenanceModeTimeBuilder() {
         return getMaintenanceModeTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
@@ -3463,11 +4017,14 @@ public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder()
         if (maintenanceModeTimeBuilder_ != null) {
           return maintenanceModeTimeBuilder_.getMessageOrBuilder();
         } else {
-          return maintenanceModeTime_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_;
+          return maintenanceModeTime_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : maintenanceModeTime_;
         }
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will enter
        * maintenance mode.
@@ -3476,14 +4033,17 @@ public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder()
        * .google.protobuf.Timestamp maintenance_mode_time = 3;
        */
       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>
           getMaintenanceModeTimeFieldBuilder() {
         if (maintenanceModeTimeBuilder_ == null) {
-          maintenanceModeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getMaintenanceModeTime(),
-                  getParentForChildren(),
-                  isClean());
+          maintenanceModeTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getMaintenanceModeTime(), getParentForChildren(), isClean());
           maintenanceModeTime_ = null;
         }
         return maintenanceModeTimeBuilder_;
@@ -3491,36 +4051,49 @@ public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder()
 
       private com.google.protobuf.Timestamp supportExpirationTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> supportExpirationTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          supportExpirationTimeBuilder_;
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will no longer be
        * supported.
        * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return Whether the supportExpirationTime field is set. */ public boolean hasSupportExpirationTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * The time at which this release's version of Skaffold will no longer be
        * supported.
        * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return The supportExpirationTime. */ public com.google.protobuf.Timestamp getSupportExpirationTime() { if (supportExpirationTimeBuilder_ == null) { - return supportExpirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_; + return supportExpirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportExpirationTime_; } else { return supportExpirationTimeBuilder_.getMessage(); } } /** + * + * *
        * The time at which this release's version of Skaffold will no longer be
        * supported.
@@ -3542,6 +4115,8 @@ public Builder setSupportExpirationTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will no longer be
        * supported.
@@ -3561,6 +4136,8 @@ public Builder setSupportExpirationTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will no longer be
        * supported.
@@ -3570,9 +4147,9 @@ public Builder setSupportExpirationTime(
        */
       public Builder mergeSupportExpirationTime(com.google.protobuf.Timestamp value) {
         if (supportExpirationTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) != 0) &&
-            supportExpirationTime_ != null &&
-            supportExpirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000008) != 0)
+              && supportExpirationTime_ != null
+              && supportExpirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getSupportExpirationTimeBuilder().mergeFrom(value);
           } else {
             supportExpirationTime_ = value;
@@ -3585,6 +4162,8 @@ public Builder mergeSupportExpirationTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will no longer be
        * supported.
@@ -3603,6 +4182,8 @@ public Builder clearSupportExpirationTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will no longer be
        * supported.
@@ -3616,6 +4197,8 @@ public com.google.protobuf.Timestamp.Builder getSupportExpirationTimeBuilder() {
         return getSupportExpirationTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will no longer be
        * supported.
@@ -3627,11 +4210,14 @@ public com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder(
         if (supportExpirationTimeBuilder_ != null) {
           return supportExpirationTimeBuilder_.getMessageOrBuilder();
         } else {
-          return supportExpirationTime_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_;
+          return supportExpirationTime_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : supportExpirationTime_;
         }
       }
       /**
+       *
+       *
        * 
        * The time at which this release's version of Skaffold will no longer be
        * supported.
@@ -3640,18 +4226,22 @@ public com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder(
        * .google.protobuf.Timestamp support_expiration_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>
           getSupportExpirationTimeFieldBuilder() {
         if (supportExpirationTimeBuilder_ == null) {
-          supportExpirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getSupportExpirationTime(),
-                  getParentForChildren(),
-                  isClean());
+          supportExpirationTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getSupportExpirationTime(), getParentForChildren(), isClean());
           supportExpirationTime_ = null;
         }
         return supportExpirationTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3664,41 +4254,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Release.SkaffoldSupportedCondition)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Release.SkaffoldSupportedCondition)
-    private static final com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition DEFAULT_INSTANCE;
+    private static final com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition();
     }
 
-    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition getDefaultInstance() {
+    public static com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public SkaffoldSupportedCondition parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public SkaffoldSupportedCondition parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3710,120 +4303,155 @@ public com.google.protobuf.Parser getParserForType()
     }
 
     @java.lang.Override
-    public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition getDefaultInstanceForType() {
+    public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface ReleaseConditionOrBuilder extends
+  public interface ReleaseConditionOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Release.ReleaseCondition)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Details around the Releases's overall status.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * + * * @return Whether the releaseReadyCondition field is set. */ boolean hasReleaseReadyCondition(); /** + * + * *
      * Details around the Releases's overall status.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * + * * @return The releaseReadyCondition. */ com.google.cloud.deploy.v1.Release.ReleaseReadyCondition getReleaseReadyCondition(); /** + * + * *
      * Details around the Releases's overall status.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ - com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder getReleaseReadyConditionOrBuilder(); + com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder + getReleaseReadyConditionOrBuilder(); /** + * + * *
      * Details around the support state of the release's Skaffold
      * version.
      * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * * @return Whether the skaffoldSupportedCondition field is set. */ boolean hasSkaffoldSupportedCondition(); /** + * + * *
      * Details around the support state of the release's Skaffold
      * version.
      * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * * @return The skaffoldSupportedCondition. */ com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition getSkaffoldSupportedCondition(); /** + * + * *
      * Details around the support state of the release's Skaffold
      * version.
      * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ - com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder getSkaffoldSupportedConditionOrBuilder(); + com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder + getSkaffoldSupportedConditionOrBuilder(); } /** + * + * *
    * ReleaseCondition contains all conditions relevant to a Release.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Release.ReleaseCondition} */ - public static final class ReleaseCondition extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReleaseCondition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Release.ReleaseCondition) ReleaseConditionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReleaseCondition.newBuilder() to construct. private ReleaseCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReleaseCondition() { - } + + private ReleaseCondition() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReleaseCondition(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Release.ReleaseCondition.class, com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder.class); + com.google.cloud.deploy.v1.Release.ReleaseCondition.class, + com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder.class); } public static final int RELEASE_READY_CONDITION_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.Release.ReleaseReadyCondition releaseReadyCondition_; /** + * + * *
      * Details around the Releases's overall status.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * + * * @return Whether the releaseReadyCondition field is set. */ @java.lang.Override @@ -3831,38 +4459,56 @@ public boolean hasReleaseReadyCondition() { return releaseReadyCondition_ != null; } /** + * + * *
      * Details around the Releases's overall status.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * + * * @return The releaseReadyCondition. */ @java.lang.Override public com.google.cloud.deploy.v1.Release.ReleaseReadyCondition getReleaseReadyCondition() { - return releaseReadyCondition_ == null ? com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() : releaseReadyCondition_; + return releaseReadyCondition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() + : releaseReadyCondition_; } /** + * + * *
      * Details around the Releases's overall status.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder getReleaseReadyConditionOrBuilder() { - return releaseReadyCondition_ == null ? com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() : releaseReadyCondition_; + public com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder + getReleaseReadyConditionOrBuilder() { + return releaseReadyCondition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() + : releaseReadyCondition_; } public static final int SKAFFOLD_SUPPORTED_CONDITION_FIELD_NUMBER = 2; - private com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffoldSupportedCondition_; + private com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition + skaffoldSupportedCondition_; /** + * + * *
      * Details around the support state of the release's Skaffold
      * version.
      * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * * @return Whether the skaffoldSupportedCondition field is set. */ @java.lang.Override @@ -3870,32 +4516,48 @@ public boolean hasSkaffoldSupportedCondition() { return skaffoldSupportedCondition_ != null; } /** + * + * *
      * Details around the support state of the release's Skaffold
      * version.
      * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * * @return The skaffoldSupportedCondition. */ @java.lang.Override - public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition getSkaffoldSupportedCondition() { - return skaffoldSupportedCondition_ == null ? com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() : skaffoldSupportedCondition_; + public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition + getSkaffoldSupportedCondition() { + return skaffoldSupportedCondition_ == null + ? com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() + : skaffoldSupportedCondition_; } /** + * + * *
      * Details around the support state of the release's Skaffold
      * version.
      * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder getSkaffoldSupportedConditionOrBuilder() { - return skaffoldSupportedCondition_ == null ? com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() : skaffoldSupportedCondition_; + public com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder + getSkaffoldSupportedConditionOrBuilder() { + return skaffoldSupportedCondition_ == null + ? com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() + : skaffoldSupportedCondition_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3907,8 +4569,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 (releaseReadyCondition_ != null) { output.writeMessage(1, getReleaseReadyCondition()); } @@ -3925,12 +4586,13 @@ public int getSerializedSize() { size = 0; if (releaseReadyCondition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReleaseReadyCondition()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReleaseReadyCondition()); } if (skaffoldSupportedCondition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSkaffoldSupportedCondition()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getSkaffoldSupportedCondition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3940,22 +4602,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.cloud.deploy.v1.Release.ReleaseCondition)) { return super.equals(obj); } - com.google.cloud.deploy.v1.Release.ReleaseCondition other = (com.google.cloud.deploy.v1.Release.ReleaseCondition) obj; + com.google.cloud.deploy.v1.Release.ReleaseCondition other = + (com.google.cloud.deploy.v1.Release.ReleaseCondition) obj; if (hasReleaseReadyCondition() != other.hasReleaseReadyCondition()) return false; if (hasReleaseReadyCondition()) { - if (!getReleaseReadyCondition() - .equals(other.getReleaseReadyCondition())) return false; + if (!getReleaseReadyCondition().equals(other.getReleaseReadyCondition())) return false; } if (hasSkaffoldSupportedCondition() != other.hasSkaffoldSupportedCondition()) return false; if (hasSkaffoldSupportedCondition()) { - if (!getSkaffoldSupportedCondition() - .equals(other.getSkaffoldSupportedCondition())) return false; + if (!getSkaffoldSupportedCondition().equals(other.getSkaffoldSupportedCondition())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3982,89 +4644,94 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.Release.ReleaseCondition 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.cloud.deploy.v1.Release.ReleaseCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release.ReleaseCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.Release.ReleaseCondition prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.Release.ReleaseCondition 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 @@ -4074,39 +4741,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * ReleaseCondition contains all conditions relevant to a Release.
      * 
* * Protobuf type {@code google.cloud.deploy.v1.Release.ReleaseCondition} */ - 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.cloud.deploy.v1.Release.ReleaseCondition) com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Release.ReleaseCondition.class, com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder.class); + com.google.cloud.deploy.v1.Release.ReleaseCondition.class, + com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder.class); } // Construct using com.google.cloud.deploy.v1.Release.ReleaseCondition.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4125,9 +4794,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; } @java.lang.Override @@ -4146,8 +4815,11 @@ public com.google.cloud.deploy.v1.Release.ReleaseCondition build() { @java.lang.Override public com.google.cloud.deploy.v1.Release.ReleaseCondition buildPartial() { - com.google.cloud.deploy.v1.Release.ReleaseCondition result = new com.google.cloud.deploy.v1.Release.ReleaseCondition(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.Release.ReleaseCondition result = + new com.google.cloud.deploy.v1.Release.ReleaseCondition(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -4155,14 +4827,16 @@ public com.google.cloud.deploy.v1.Release.ReleaseCondition buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.Release.ReleaseCondition result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.releaseReadyCondition_ = releaseReadyConditionBuilder_ == null - ? releaseReadyCondition_ - : releaseReadyConditionBuilder_.build(); + result.releaseReadyCondition_ = + releaseReadyConditionBuilder_ == null + ? releaseReadyCondition_ + : releaseReadyConditionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.skaffoldSupportedCondition_ = skaffoldSupportedConditionBuilder_ == null - ? skaffoldSupportedCondition_ - : skaffoldSupportedConditionBuilder_.build(); + result.skaffoldSupportedCondition_ = + skaffoldSupportedConditionBuilder_ == null + ? skaffoldSupportedCondition_ + : skaffoldSupportedConditionBuilder_.build(); } } @@ -4170,38 +4844,41 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release.ReleaseCondition r 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.cloud.deploy.v1.Release.ReleaseCondition) { - return mergeFrom((com.google.cloud.deploy.v1.Release.ReleaseCondition)other); + return mergeFrom((com.google.cloud.deploy.v1.Release.ReleaseCondition) other); } else { super.mergeFrom(other); return this; @@ -4209,7 +4886,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.Release.ReleaseCondition other) { - if (other == com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance()) + return this; if (other.hasReleaseReadyCondition()) { mergeReleaseReadyCondition(other.getReleaseReadyCondition()); } @@ -4242,26 +4920,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReleaseReadyConditionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSkaffoldSupportedConditionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getReleaseReadyConditionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getSkaffoldSupportedConditionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4271,45 +4950,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.deploy.v1.Release.ReleaseReadyCondition releaseReadyCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.ReleaseReadyCondition, com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder, com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder> releaseReadyConditionBuilder_; + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition, + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder, + com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder> + releaseReadyConditionBuilder_; /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * + * * @return Whether the releaseReadyCondition field is set. */ public boolean hasReleaseReadyCondition() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * + * * @return The releaseReadyCondition. */ public com.google.cloud.deploy.v1.Release.ReleaseReadyCondition getReleaseReadyCondition() { if (releaseReadyConditionBuilder_ == null) { - return releaseReadyCondition_ == null ? com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() : releaseReadyCondition_; + return releaseReadyCondition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() + : releaseReadyCondition_; } else { return releaseReadyConditionBuilder_.getMessage(); } } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ - public Builder setReleaseReadyCondition(com.google.cloud.deploy.v1.Release.ReleaseReadyCondition value) { + public Builder setReleaseReadyCondition( + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition value) { if (releaseReadyConditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4323,11 +5020,14 @@ public Builder setReleaseReadyCondition(com.google.cloud.deploy.v1.Release.Relea return this; } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ public Builder setReleaseReadyCondition( com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder builderForValue) { @@ -4341,17 +5041,23 @@ public Builder setReleaseReadyCondition( return this; } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ - public Builder mergeReleaseReadyCondition(com.google.cloud.deploy.v1.Release.ReleaseReadyCondition value) { + public Builder mergeReleaseReadyCondition( + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition value) { if (releaseReadyConditionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - releaseReadyCondition_ != null && - releaseReadyCondition_ != com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && releaseReadyCondition_ != null + && releaseReadyCondition_ + != com.google.cloud.deploy.v1.Release.ReleaseReadyCondition + .getDefaultInstance()) { getReleaseReadyConditionBuilder().mergeFrom(value); } else { releaseReadyCondition_ = value; @@ -4364,11 +5070,14 @@ public Builder mergeReleaseReadyCondition(com.google.cloud.deploy.v1.Release.Rel return this; } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ public Builder clearReleaseReadyCondition() { bitField0_ = (bitField0_ & ~0x00000001); @@ -4381,93 +5090,130 @@ public Builder clearReleaseReadyCondition() { return this; } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ - public com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder getReleaseReadyConditionBuilder() { + public com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder + getReleaseReadyConditionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getReleaseReadyConditionFieldBuilder().getBuilder(); } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ - public com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder getReleaseReadyConditionOrBuilder() { + public com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder + getReleaseReadyConditionOrBuilder() { if (releaseReadyConditionBuilder_ != null) { return releaseReadyConditionBuilder_.getMessageOrBuilder(); } else { - return releaseReadyCondition_ == null ? - com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() : releaseReadyCondition_; + return releaseReadyCondition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.getDefaultInstance() + : releaseReadyCondition_; } } /** + * + * *
        * Details around the Releases's overall status.
        * 
* - * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * .google.cloud.deploy.v1.Release.ReleaseReadyCondition release_ready_condition = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.ReleaseReadyCondition, com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder, com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder> + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition, + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder, + com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder> getReleaseReadyConditionFieldBuilder() { if (releaseReadyConditionBuilder_ == null) { - releaseReadyConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.ReleaseReadyCondition, com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder, com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder>( - getReleaseReadyCondition(), - getParentForChildren(), - isClean()); + releaseReadyConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition, + com.google.cloud.deploy.v1.Release.ReleaseReadyCondition.Builder, + com.google.cloud.deploy.v1.Release.ReleaseReadyConditionOrBuilder>( + getReleaseReadyCondition(), getParentForChildren(), isClean()); releaseReadyCondition_ = null; } return releaseReadyConditionBuilder_; } - private com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffoldSupportedCondition_; + private com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition + skaffoldSupportedCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition, com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder, com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder> skaffoldSupportedConditionBuilder_; + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition, + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder, + com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder> + skaffoldSupportedConditionBuilder_; /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * * @return Whether the skaffoldSupportedCondition field is set. */ public boolean hasSkaffoldSupportedCondition() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * * @return The skaffoldSupportedCondition. */ - public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition getSkaffoldSupportedCondition() { + public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition + getSkaffoldSupportedCondition() { if (skaffoldSupportedConditionBuilder_ == null) { - return skaffoldSupportedCondition_ == null ? com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() : skaffoldSupportedCondition_; + return skaffoldSupportedCondition_ == null + ? com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() + : skaffoldSupportedCondition_; } else { return skaffoldSupportedConditionBuilder_.getMessage(); } } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ - public Builder setSkaffoldSupportedCondition(com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition value) { + public Builder setSkaffoldSupportedCondition( + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition value) { if (skaffoldSupportedConditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4481,12 +5227,16 @@ public Builder setSkaffoldSupportedCondition(com.google.cloud.deploy.v1.Release. return this; } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ public Builder setSkaffoldSupportedCondition( com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder builderForValue) { @@ -4500,18 +5250,25 @@ public Builder setSkaffoldSupportedCondition( return this; } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ - public Builder mergeSkaffoldSupportedCondition(com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition value) { + public Builder mergeSkaffoldSupportedCondition( + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition value) { if (skaffoldSupportedConditionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - skaffoldSupportedCondition_ != null && - skaffoldSupportedCondition_ != com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && skaffoldSupportedCondition_ != null + && skaffoldSupportedCondition_ + != com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition + .getDefaultInstance()) { getSkaffoldSupportedConditionBuilder().mergeFrom(value); } else { skaffoldSupportedCondition_ = value; @@ -4524,12 +5281,16 @@ public Builder mergeSkaffoldSupportedCondition(com.google.cloud.deploy.v1.Releas return this; } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ public Builder clearSkaffoldSupportedCondition() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4542,55 +5303,74 @@ public Builder clearSkaffoldSupportedCondition() { return this; } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ - public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder getSkaffoldSupportedConditionBuilder() { + public com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder + getSkaffoldSupportedConditionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSkaffoldSupportedConditionFieldBuilder().getBuilder(); } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ - public com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder getSkaffoldSupportedConditionOrBuilder() { + public com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder + getSkaffoldSupportedConditionOrBuilder() { if (skaffoldSupportedConditionBuilder_ != null) { return skaffoldSupportedConditionBuilder_.getMessageOrBuilder(); } else { - return skaffoldSupportedCondition_ == null ? - com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() : skaffoldSupportedCondition_; + return skaffoldSupportedCondition_ == null + ? com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.getDefaultInstance() + : skaffoldSupportedCondition_; } } /** + * + * *
        * Details around the support state of the release's Skaffold
        * version.
        * 
* - * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * + * .google.cloud.deploy.v1.Release.SkaffoldSupportedCondition skaffold_supported_condition = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition, com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder, com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder> + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition, + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder, + com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder> getSkaffoldSupportedConditionFieldBuilder() { if (skaffoldSupportedConditionBuilder_ == null) { - skaffoldSupportedConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition, com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder, com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder>( - getSkaffoldSupportedCondition(), - getParentForChildren(), - isClean()); + skaffoldSupportedConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition, + com.google.cloud.deploy.v1.Release.SkaffoldSupportedCondition.Builder, + com.google.cloud.deploy.v1.Release.SkaffoldSupportedConditionOrBuilder>( + getSkaffoldSupportedCondition(), getParentForChildren(), isClean()); skaffoldSupportedCondition_ = null; } return skaffoldSupportedConditionBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4603,12 +5383,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Release.ReleaseCondition) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Release.ReleaseCondition) private static final com.google.cloud.deploy.v1.Release.ReleaseCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Release.ReleaseCondition(); } @@ -4617,27 +5397,28 @@ public static com.google.cloud.deploy.v1.Release.ReleaseCondition getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4652,19 +5433,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Release.ReleaseCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Optional. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ @java.lang.Override @@ -4673,30 +5457,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; } } /** + * + * *
    * Optional. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -4705,14 +5489,18 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. Unique identifier of the `Release`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -4721,29 +5509,29 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier of the `Release`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -4752,14 +5540,18 @@ public java.lang.String getUid() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the `Release`. Max length is 255 characters.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -4768,29 +5560,29 @@ 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; } } /** + * + * *
    * Description of the `Release`. Max length is 255 characters.
    * 
* * string description = 3; + * * @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 { @@ -4799,32 +5591,35 @@ public java.lang.String getDescription() { } public static final int ANNOTATIONS_FIELD_NUMBER = 4; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -4834,20 +5629,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -4861,6 +5657,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -4870,17 +5668,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -4890,11 +5690,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -4902,32 +5702,34 @@ public java.lang.String getAnnotationsOrThrow(
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.deploy.v1.CloudDeployProto
+                .internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
+
   public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -4945,20 +5747,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -4980,6 +5783,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -4997,17 +5802,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -5025,11 +5832,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -5039,11 +5846,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int ABANDONED_FIELD_NUMBER = 23;
   private boolean abandoned_ = false;
   /**
+   *
+   *
    * 
    * Output only. Indicates whether this is an abandoned release.
    * 
* * bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The abandoned. */ @java.lang.Override @@ -5054,11 +5864,15 @@ public boolean getAbandoned() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time at which the `Release` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -5066,11 +5880,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the `Release` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -5078,11 +5896,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the `Release` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -5092,11 +5913,16 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int RENDER_START_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp renderStartTime_; /** + * + * *
    * Output only. Time at which the render began.
    * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the renderStartTime field is set. */ @java.lang.Override @@ -5104,37 +5930,55 @@ public boolean hasRenderStartTime() { return renderStartTime_ != null; } /** + * + * *
    * Output only. Time at which the render began.
    * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRenderStartTime() { - return renderStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderStartTime_; + return renderStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderStartTime_; } /** + * + * *
    * Output only. Time at which the render began.
    * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRenderStartTimeOrBuilder() { - return renderStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderStartTime_; + return renderStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderStartTime_; } public static final int RENDER_END_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp renderEndTime_; /** + * + * *
    * Output only. Time at which the render completed.
    * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the renderEndTime field is set. */ @java.lang.Override @@ -5142,38 +5986,55 @@ public boolean hasRenderEndTime() { return renderEndTime_ != null; } /** + * + * *
    * Output only. Time at which the render completed.
    * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRenderEndTime() { - return renderEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderEndTime_; + return renderEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderEndTime_; } /** + * + * *
    * Output only. Time at which the render completed.
    * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder() { - return renderEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderEndTime_; + return renderEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderEndTime_; } public static final int SKAFFOLD_CONFIG_URI_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object skaffoldConfigUri_ = ""; /** + * + * *
    * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
    * 
* * string skaffold_config_uri = 17; + * * @return The skaffoldConfigUri. */ @java.lang.Override @@ -5182,29 +6043,29 @@ public java.lang.String getSkaffoldConfigUri() { 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(); skaffoldConfigUri_ = s; return s; } } /** + * + * *
    * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
    * 
* * string skaffold_config_uri = 17; + * * @return The bytes for skaffoldConfigUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkaffoldConfigUriBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigUriBytes() { java.lang.Object ref = skaffoldConfigUri_; 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); skaffoldConfigUri_ = b; return b; } else { @@ -5213,14 +6074,18 @@ public java.lang.String getSkaffoldConfigUri() { } public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object skaffoldConfigPath_ = ""; /** + * + * *
    * Filepath of the Skaffold config inside of the config URI.
    * 
* * string skaffold_config_path = 9; + * * @return The skaffoldConfigPath. */ @java.lang.Override @@ -5229,29 +6094,29 @@ public java.lang.String getSkaffoldConfigPath() { 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(); skaffoldConfigPath_ = s; return s; } } /** + * + * *
    * Filepath of the Skaffold config inside of the config URI.
    * 
* * string skaffold_config_path = 9; + * * @return The bytes for skaffoldConfigPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkaffoldConfigPathBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { java.lang.Object ref = skaffoldConfigPath_; 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); skaffoldConfigPath_ = b; return b; } else { @@ -5260,9 +6125,12 @@ public java.lang.String getSkaffoldConfigPath() { } public static final int BUILD_ARTIFACTS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private java.util.List buildArtifacts_; /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -5274,6 +6142,8 @@ public java.util.List getBuildArtifact return buildArtifacts_; } /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -5281,11 +6151,13 @@ public java.util.List getBuildArtifact * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ @java.lang.Override - public java.util.List + public java.util.List getBuildArtifactsOrBuilderList() { return buildArtifacts_; } /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -5297,6 +6169,8 @@ public int getBuildArtifactsCount() { return buildArtifacts_.size(); } /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -5308,6 +6182,8 @@ public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { return buildArtifacts_.get(index); } /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -5315,20 +6191,24 @@ public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ @java.lang.Override - public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index) { return buildArtifacts_.get(index); } public static final int DELIVERY_PIPELINE_SNAPSHOT_FIELD_NUMBER = 11; private com.google.cloud.deploy.v1.DeliveryPipeline deliveryPipelineSnapshot_; /** + * + * *
    * Output only. Snapshot of the parent pipeline taken at release creation
    * time.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deliveryPipelineSnapshot field is set. */ @java.lang.Override @@ -5336,151 +6216,207 @@ public boolean hasDeliveryPipelineSnapshot() { return deliveryPipelineSnapshot_ != null; } /** + * + * *
    * Output only. Snapshot of the parent pipeline taken at release creation
    * time.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deliveryPipelineSnapshot. */ @java.lang.Override public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelineSnapshot() { - return deliveryPipelineSnapshot_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipelineSnapshot_; + return deliveryPipelineSnapshot_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipelineSnapshot_; } /** + * + * *
    * Output only. Snapshot of the parent pipeline taken at release creation
    * time.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineSnapshotOrBuilder() { - return deliveryPipelineSnapshot_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipelineSnapshot_; + public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder + getDeliveryPipelineSnapshotOrBuilder() { + return deliveryPipelineSnapshot_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipelineSnapshot_; } public static final int TARGET_SNAPSHOTS_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private java.util.List targetSnapshots_; /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getTargetSnapshotsList() { return targetSnapshots_; } /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTargetSnapshotsOrBuilderList() { return targetSnapshots_; } /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTargetSnapshotsCount() { return targetSnapshots_.size(); } /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Target getTargetSnapshots(int index) { return targetSnapshots_.get(index); } /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder(int index) { return targetSnapshots_.get(index); } public static final int CUSTOM_TARGET_TYPE_SNAPSHOTS_FIELD_NUMBER = 27; + @SuppressWarnings("serial") private java.util.List customTargetTypeSnapshots_; /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getCustomTargetTypeSnapshotsList() { + public java.util.List + getCustomTargetTypeSnapshotsList() { return customTargetTypeSnapshots_; } /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getCustomTargetTypeSnapshotsOrBuilderList() { return customTargetTypeSnapshots_; } /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getCustomTargetTypeSnapshotsCount() { return customTargetTypeSnapshots_.size(); } /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetTypeSnapshots(int index) { return customTargetTypeSnapshots_.get(index); } /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeSnapshotsOrBuilder( @@ -5491,33 +6427,49 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeS public static final int RENDER_STATE_FIELD_NUMBER = 13; private int renderState_ = 0; /** + * + * *
    * Output only. Current state of the render operation.
    * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renderState. */ - @java.lang.Override public int getRenderStateValue() { + @java.lang.Override + public int getRenderStateValue() { return renderState_; } /** + * + * *
    * Output only. Current state of the render operation.
    * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderState. */ - @java.lang.Override public com.google.cloud.deploy.v1.Release.RenderState getRenderState() { - com.google.cloud.deploy.v1.Release.RenderState result = com.google.cloud.deploy.v1.Release.RenderState.forNumber(renderState_); + @java.lang.Override + public com.google.cloud.deploy.v1.Release.RenderState getRenderState() { + com.google.cloud.deploy.v1.Release.RenderState result = + com.google.cloud.deploy.v1.Release.RenderState.forNumber(renderState_); return result == null ? com.google.cloud.deploy.v1.Release.RenderState.UNRECOGNIZED : result; } public static final int ETAG_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -5525,6 +6477,7 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeS
    * 
* * string etag = 16; + * * @return The etag. */ @java.lang.Override @@ -5533,14 +6486,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -5548,16 +6502,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 16; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -5566,9 +6519,12 @@ public java.lang.String getEtag() { } public static final int SKAFFOLD_VERSION_FIELD_NUMBER = 19; + @SuppressWarnings("serial") private volatile java.lang.Object skaffoldVersion_ = ""; /** + * + * *
    * The Skaffold version to use when operating on this release, such as
    * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -5578,6 +6534,7 @@ public java.lang.String getEtag() {
    * 
* * string skaffold_version = 19; + * * @return The skaffoldVersion. */ @java.lang.Override @@ -5586,14 +6543,15 @@ public java.lang.String getSkaffoldVersion() { 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(); skaffoldVersion_ = s; return s; } } /** + * + * *
    * The Skaffold version to use when operating on this release, such as
    * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -5603,16 +6561,15 @@ public java.lang.String getSkaffoldVersion() {
    * 
* * string skaffold_version = 19; + * * @return The bytes for skaffoldVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkaffoldVersionBytes() { + public com.google.protobuf.ByteString getSkaffoldVersionBytes() { java.lang.Object ref = skaffoldVersion_; 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); skaffoldVersion_ = b; return b; } else { @@ -5621,96 +6578,121 @@ public java.lang.String getSkaffoldVersion() { } public static final int TARGET_ARTIFACTS_FIELD_NUMBER = 20; + private static final class TargetArtifactsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> defaultEntry = + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.deploy.v1.TargetArtifact.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.deploy.v1.TargetArtifact.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> targetArtifacts_; private com.google.protobuf.MapField - internalGetTargetArtifacts() { + targetArtifacts_; + + private com.google.protobuf.MapField + internalGetTargetArtifacts() { if (targetArtifacts_ == null) { return com.google.protobuf.MapField.emptyMapField( TargetArtifactsDefaultEntryHolder.defaultEntry); } return targetArtifacts_; } + public int getTargetArtifactsCount() { return internalGetTargetArtifacts().getMap().size(); } /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsTargetArtifacts( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsTargetArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetTargetArtifacts().getMap().containsKey(key); } - /** - * Use {@link #getTargetArtifactsMap()} instead. - */ + /** Use {@link #getTargetArtifactsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getTargetArtifacts() { + public java.util.Map + getTargetArtifacts() { return getTargetArtifactsMap(); } /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getTargetArtifactsMap() { + public java.util.Map + getTargetArtifactsMap() { return internalGetTargetArtifacts().getMap(); } /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( + public /* nullable */ com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.deploy.v1.TargetArtifact defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetArtifacts().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetArtifacts().getMap(); if (!map.containsKey(key)) { @@ -5720,96 +6702,125 @@ public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow( } public static final int TARGET_RENDERS_FIELD_NUMBER = 22; + private static final class TargetRendersDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> defaultEntry = + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.deploy.v1.Release.TargetRender.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.deploy.v1.Release.TargetRender.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> targetRenders_; - private com.google.protobuf.MapField - internalGetTargetRenders() { + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> + targetRenders_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> + internalGetTargetRenders() { if (targetRenders_ == null) { return com.google.protobuf.MapField.emptyMapField( TargetRendersDefaultEntryHolder.defaultEntry); } return targetRenders_; } + public int getTargetRendersCount() { return internalGetTargetRenders().getMap().size(); } /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsTargetRenders( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsTargetRenders(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetTargetRenders().getMap().containsKey(key); } - /** - * Use {@link #getTargetRendersMap()} instead. - */ + /** Use {@link #getTargetRendersMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getTargetRenders() { + public java.util.Map + getTargetRenders() { return getTargetRendersMap(); } /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getTargetRendersMap() { + public java.util.Map + getTargetRendersMap() { return internalGetTargetRenders().getMap(); } /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( + public /* nullable */ com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetRenders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetRenders().getMap(); if (!map.containsKey(key)) { @@ -5821,11 +6832,16 @@ public com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow( public static final int CONDITION_FIELD_NUMBER = 24; private com.google.cloud.deploy.v1.Release.ReleaseCondition condition_; /** + * + * *
    * Output only. Information around the state of the Release.
    * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ @java.lang.Override @@ -5833,118 +6849,148 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * Output only. Information around the state of the Release.
    * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ @java.lang.Override public com.google.cloud.deploy.v1.Release.ReleaseCondition getCondition() { - return condition_ == null ? com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() + : condition_; } /** + * + * *
    * Output only. Information around the state of the Release.
    * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder getConditionOrBuilder() { - return condition_ == null ? com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() + : condition_; } public static final int DEPLOY_PARAMETERS_FIELD_NUMBER = 25; + private static final class DeployParametersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> deployParameters_; + private com.google.protobuf.MapField deployParameters_; + private com.google.protobuf.MapField - internalGetDeployParameters() { + internalGetDeployParameters() { if (deployParameters_ == null) { return com.google.protobuf.MapField.emptyMapField( DeployParametersDefaultEntryHolder.defaultEntry); } return deployParameters_; } + public int getDeployParametersCount() { return internalGetDeployParameters().getMap().size(); } /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsDeployParameters( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsDeployParameters(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetDeployParameters().getMap().containsKey(key); } - /** - * Use {@link #getDeployParametersMap()} instead. - */ + /** Use {@link #getDeployParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDeployParameters() { return getDeployParametersMap(); } /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getDeployParametersMap() { return internalGetDeployParameters().getMap(); } /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getDeployParametersOrDefault( + public /* nullable */ java.lang.String getDeployParametersOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDeployParameters().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetDeployParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getDeployParametersOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDeployParameters().getMap(); + public java.lang.String getDeployParametersOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetDeployParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5952,6 +6998,7 @@ public java.lang.String getDeployParametersOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5963,8 +7010,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_); } @@ -5974,18 +7020,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 4); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (createTime_ != null) { output.writeMessage(6, getCreateTime()); } @@ -6007,7 +7045,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < targetSnapshots_.size(); i++) { output.writeMessage(12, targetSnapshots_.get(i)); } - if (renderState_ != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { + if (renderState_ + != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(13, renderState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { @@ -6019,30 +7058,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, skaffoldVersion_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTargetArtifacts(), - TargetArtifactsDefaultEntryHolder.defaultEntry, - 20); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTargetRenders(), - TargetRendersDefaultEntryHolder.defaultEntry, - 22); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetTargetArtifacts(), TargetArtifactsDefaultEntryHolder.defaultEntry, 20); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetTargetRenders(), TargetRendersDefaultEntryHolder.defaultEntry, 22); if (abandoned_ != false) { output.writeBool(23, abandoned_); } if (condition_ != null) { output.writeMessage(24, getCondition()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetDeployParameters(), - DeployParametersDefaultEntryHolder.defaultEntry, - 25); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetDeployParameters(), DeployParametersDefaultEntryHolder.defaultEntry, 25); for (int i = 0; i < customTargetTypeSnapshots_.size(); i++) { output.writeMessage(27, customTargetTypeSnapshots_.get(i)); } @@ -6064,56 +7091,52 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, annotations__); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, labels__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, annotations__); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (renderStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getRenderStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRenderStartTime()); } if (renderEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getRenderEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getRenderEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, skaffoldConfigPath_); } for (int i = 0; i < buildArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, buildArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, buildArtifacts_.get(i)); } if (deliveryPipelineSnapshot_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getDeliveryPipelineSnapshot()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, getDeliveryPipelineSnapshot()); } for (int i = 0; i < targetSnapshots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, targetSnapshots_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, targetSnapshots_.get(i)); } - if (renderState_ != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(13, renderState_); + if (renderState_ + != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, renderState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, etag_); @@ -6124,47 +7147,49 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, skaffoldVersion_); } - for (java.util.Map.Entry entry - : internalGetTargetArtifacts().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetTargetArtifacts().getMap().entrySet()) { com.google.protobuf.MapEntry - targetArtifacts__ = TargetArtifactsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, targetArtifacts__); - } - for (java.util.Map.Entry entry - : internalGetTargetRenders().getMap().entrySet()) { - com.google.protobuf.MapEntry - targetRenders__ = TargetRendersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, targetRenders__); + targetArtifacts__ = + TargetArtifactsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, targetArtifacts__); + } + for (java.util.Map.Entry + entry : internalGetTargetRenders().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> + targetRenders__ = + TargetRendersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, targetRenders__); } if (abandoned_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(23, abandoned_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(23, abandoned_); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getCondition()); - } - for (java.util.Map.Entry entry - : internalGetDeployParameters().getMap().entrySet()) { - com.google.protobuf.MapEntry - deployParameters__ = DeployParametersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, deployParameters__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getCondition()); + } + for (java.util.Map.Entry entry : + internalGetDeployParameters().getMap().entrySet()) { + com.google.protobuf.MapEntry deployParameters__ = + DeployParametersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, deployParameters__); } for (int i = 0; i < customTargetTypeSnapshots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, customTargetTypeSnapshots_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 27, customTargetTypeSnapshots_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6174,71 +7199,51 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.Release)) { return super.equals(obj); } com.google.cloud.deploy.v1.Release other = (com.google.cloud.deploy.v1.Release) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (getAbandoned() - != other.getAbandoned()) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (getAbandoned() != other.getAbandoned()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasRenderStartTime() != other.hasRenderStartTime()) return false; if (hasRenderStartTime()) { - if (!getRenderStartTime() - .equals(other.getRenderStartTime())) return false; + if (!getRenderStartTime().equals(other.getRenderStartTime())) return false; } if (hasRenderEndTime() != other.hasRenderEndTime()) return false; if (hasRenderEndTime()) { - if (!getRenderEndTime() - .equals(other.getRenderEndTime())) return false; - } - if (!getSkaffoldConfigUri() - .equals(other.getSkaffoldConfigUri())) return false; - if (!getSkaffoldConfigPath() - .equals(other.getSkaffoldConfigPath())) return false; - if (!getBuildArtifactsList() - .equals(other.getBuildArtifactsList())) return false; + if (!getRenderEndTime().equals(other.getRenderEndTime())) return false; + } + if (!getSkaffoldConfigUri().equals(other.getSkaffoldConfigUri())) return false; + if (!getSkaffoldConfigPath().equals(other.getSkaffoldConfigPath())) return false; + if (!getBuildArtifactsList().equals(other.getBuildArtifactsList())) return false; if (hasDeliveryPipelineSnapshot() != other.hasDeliveryPipelineSnapshot()) return false; if (hasDeliveryPipelineSnapshot()) { - if (!getDeliveryPipelineSnapshot() - .equals(other.getDeliveryPipelineSnapshot())) return false; + if (!getDeliveryPipelineSnapshot().equals(other.getDeliveryPipelineSnapshot())) return false; } - if (!getTargetSnapshotsList() - .equals(other.getTargetSnapshotsList())) return false; - if (!getCustomTargetTypeSnapshotsList() - .equals(other.getCustomTargetTypeSnapshotsList())) return false; + if (!getTargetSnapshotsList().equals(other.getTargetSnapshotsList())) return false; + if (!getCustomTargetTypeSnapshotsList().equals(other.getCustomTargetTypeSnapshotsList())) + return false; if (renderState_ != other.renderState_) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!getSkaffoldVersion() - .equals(other.getSkaffoldVersion())) return false; - if (!internalGetTargetArtifacts().equals( - other.internalGetTargetArtifacts())) return false; - if (!internalGetTargetRenders().equals( - other.internalGetTargetRenders())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!getSkaffoldVersion().equals(other.getSkaffoldVersion())) return false; + if (!internalGetTargetArtifacts().equals(other.internalGetTargetArtifacts())) return false; + if (!internalGetTargetRenders().equals(other.internalGetTargetRenders())) return false; if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } - if (!internalGetDeployParameters().equals( - other.internalGetDeployParameters())) return false; + if (!internalGetDeployParameters().equals(other.internalGetDeployParameters())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6265,8 +7270,7 @@ public int hashCode() { hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (37 * hash) + ABANDONED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAbandoned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAbandoned()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -6326,99 +7330,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Release parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Release parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Release parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Release parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Release parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Release parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Release parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Release parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Release parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Release prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A `Release` resource in the Cloud Deploy API.
    *
@@ -6428,18 +7436,17 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.Release}
    */
-  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.cloud.deploy.v1.Release)
       com.google.cloud.deploy.v1.ReleaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Release_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetAnnotations();
@@ -6452,13 +7459,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 25:
           return internalGetDeployParameters();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableAnnotations();
@@ -6471,28 +7477,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 25:
           return internalGetMutableDeployParameters();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.Release.class, com.google.cloud.deploy.v1.Release.Builder.class);
+              com.google.cloud.deploy.v1.Release.class,
+              com.google.cloud.deploy.v1.Release.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.Release.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6561,9 +7566,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Release_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Release_descriptor;
     }
 
     @java.lang.Override
@@ -6584,7 +7589,9 @@ public com.google.cloud.deploy.v1.Release build() {
     public com.google.cloud.deploy.v1.Release buildPartial() {
       com.google.cloud.deploy.v1.Release result = new com.google.cloud.deploy.v1.Release(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -6610,7 +7617,8 @@ private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.Release resul
       }
       if (customTargetTypeSnapshotsBuilder_ == null) {
         if (((bitField0_ & 0x00004000) != 0)) {
-          customTargetTypeSnapshots_ = java.util.Collections.unmodifiableList(customTargetTypeSnapshots_);
+          customTargetTypeSnapshots_ =
+              java.util.Collections.unmodifiableList(customTargetTypeSnapshots_);
           bitField0_ = (bitField0_ & ~0x00004000);
         }
         result.customTargetTypeSnapshots_ = customTargetTypeSnapshots_;
@@ -6642,19 +7650,15 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release result) {
         result.abandoned_ = abandoned_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.renderStartTime_ = renderStartTimeBuilder_ == null
-            ? renderStartTime_
-            : renderStartTimeBuilder_.build();
+        result.renderStartTime_ =
+            renderStartTimeBuilder_ == null ? renderStartTime_ : renderStartTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.renderEndTime_ = renderEndTimeBuilder_ == null
-            ? renderEndTime_
-            : renderEndTimeBuilder_.build();
+        result.renderEndTime_ =
+            renderEndTimeBuilder_ == null ? renderEndTime_ : renderEndTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
         result.skaffoldConfigUri_ = skaffoldConfigUri_;
@@ -6663,9 +7667,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release result) {
         result.skaffoldConfigPath_ = skaffoldConfigPath_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.deliveryPipelineSnapshot_ = deliveryPipelineSnapshotBuilder_ == null
-            ? deliveryPipelineSnapshot_
-            : deliveryPipelineSnapshotBuilder_.build();
+        result.deliveryPipelineSnapshot_ =
+            deliveryPipelineSnapshotBuilder_ == null
+                ? deliveryPipelineSnapshot_
+                : deliveryPipelineSnapshotBuilder_.build();
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
         result.renderState_ = renderState_;
@@ -6685,9 +7690,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release result) {
         result.targetRenders_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.condition_ = conditionBuilder_ == null
-            ? condition_
-            : conditionBuilder_.build();
+        result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
         result.deployParameters_ = internalGetDeployParameters();
@@ -6699,38 +7702,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Release result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.Release) {
-        return mergeFrom((com.google.cloud.deploy.v1.Release)other);
+        return mergeFrom((com.google.cloud.deploy.v1.Release) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6754,11 +7758,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
         bitField0_ |= 0x00000004;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00000008;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.getAbandoned() != false) {
         setAbandoned(other.getAbandoned());
@@ -6800,9 +7802,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
             buildArtifactsBuilder_ = null;
             buildArtifacts_ = other.buildArtifacts_;
             bitField0_ = (bitField0_ & ~0x00000800);
-            buildArtifactsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getBuildArtifactsFieldBuilder() : null;
+            buildArtifactsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getBuildArtifactsFieldBuilder()
+                    : null;
           } else {
             buildArtifactsBuilder_.addAllMessages(other.buildArtifacts_);
           }
@@ -6829,9 +7832,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
             targetSnapshotsBuilder_ = null;
             targetSnapshots_ = other.targetSnapshots_;
             bitField0_ = (bitField0_ & ~0x00002000);
-            targetSnapshotsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTargetSnapshotsFieldBuilder() : null;
+            targetSnapshotsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTargetSnapshotsFieldBuilder()
+                    : null;
           } else {
             targetSnapshotsBuilder_.addAllMessages(other.targetSnapshots_);
           }
@@ -6855,9 +7859,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
             customTargetTypeSnapshotsBuilder_ = null;
             customTargetTypeSnapshots_ = other.customTargetTypeSnapshots_;
             bitField0_ = (bitField0_ & ~0x00004000);
-            customTargetTypeSnapshotsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCustomTargetTypeSnapshotsFieldBuilder() : null;
+            customTargetTypeSnapshotsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCustomTargetTypeSnapshotsFieldBuilder()
+                    : null;
           } else {
             customTargetTypeSnapshotsBuilder_.addAllMessages(other.customTargetTypeSnapshots_);
           }
@@ -6876,17 +7881,14 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
         bitField0_ |= 0x00020000;
         onChanged();
       }
-      internalGetMutableTargetArtifacts().mergeFrom(
-          other.internalGetTargetArtifacts());
+      internalGetMutableTargetArtifacts().mergeFrom(other.internalGetTargetArtifacts());
       bitField0_ |= 0x00040000;
-      internalGetMutableTargetRenders().mergeFrom(
-          other.internalGetTargetRenders());
+      internalGetMutableTargetRenders().mergeFrom(other.internalGetTargetRenders());
       bitField0_ |= 0x00080000;
       if (other.hasCondition()) {
         mergeCondition(other.getCondition());
       }
-      internalGetMutableDeployParameters().mergeFrom(
-          other.internalGetDeployParameters());
+      internalGetMutableDeployParameters().mergeFrom(other.internalGetDeployParameters());
       bitField0_ |= 0x00200000;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -6914,176 +7916,202 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getRenderStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getRenderEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 66
-            case 74: {
-              skaffoldConfigPath_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 74
-            case 82: {
-              com.google.cloud.deploy.v1.BuildArtifact m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.BuildArtifact.parser(),
-                      extensionRegistry);
-              if (buildArtifactsBuilder_ == null) {
-                ensureBuildArtifactsIsMutable();
-                buildArtifacts_.add(m);
-              } else {
-                buildArtifactsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getDeliveryPipelineSnapshotFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 90
-            case 98: {
-              com.google.cloud.deploy.v1.Target m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.Target.parser(),
-                      extensionRegistry);
-              if (targetSnapshotsBuilder_ == null) {
-                ensureTargetSnapshotsIsMutable();
-                targetSnapshots_.add(m);
-              } else {
-                targetSnapshotsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 98
-            case 104: {
-              renderState_ = input.readEnum();
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 104
-            case 130: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 130
-            case 138: {
-              skaffoldConfigUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 138
-            case 154: {
-              skaffoldVersion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 154
-            case 162: {
-              com.google.protobuf.MapEntry
-              targetArtifacts__ = input.readMessage(
-                  TargetArtifactsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableTargetArtifacts().getMutableMap().put(
-                  targetArtifacts__.getKey(), targetArtifacts__.getValue());
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 162
-            case 178: {
-              com.google.protobuf.MapEntry
-              targetRenders__ = input.readMessage(
-                  TargetRendersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableTargetRenders().getMutableMap().put(
-                  targetRenders__.getKey(), targetRenders__.getValue());
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 178
-            case 184: {
-              abandoned_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 184
-            case 194: {
-              input.readMessage(
-                  getConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 194
-            case 202: {
-              com.google.protobuf.MapEntry
-              deployParameters__ = input.readMessage(
-                  DeployParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableDeployParameters().getMutableMap().put(
-                  deployParameters__.getKey(), deployParameters__.getValue());
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 202
-            case 218: {
-              com.google.cloud.deploy.v1.CustomTargetType m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.CustomTargetType.parser(),
-                      extensionRegistry);
-              if (customTargetTypeSnapshotsBuilder_ == null) {
-                ensureCustomTargetTypeSnapshotsIsMutable();
-                customTargetTypeSnapshots_.add(m);
-              } else {
-                customTargetTypeSnapshotsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 218
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getRenderStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getRenderEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 66
+            case 74:
+              {
+                skaffoldConfigPath_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 74
+            case 82:
+              {
+                com.google.cloud.deploy.v1.BuildArtifact m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.BuildArtifact.parser(), extensionRegistry);
+                if (buildArtifactsBuilder_ == null) {
+                  ensureBuildArtifactsIsMutable();
+                  buildArtifacts_.add(m);
+                } else {
+                  buildArtifactsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(
+                    getDeliveryPipelineSnapshotFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 90
+            case 98:
+              {
+                com.google.cloud.deploy.v1.Target m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.Target.parser(), extensionRegistry);
+                if (targetSnapshotsBuilder_ == null) {
+                  ensureTargetSnapshotsIsMutable();
+                  targetSnapshots_.add(m);
+                } else {
+                  targetSnapshotsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 98
+            case 104:
+              {
+                renderState_ = input.readEnum();
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 104
+            case 130:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 130
+            case 138:
+              {
+                skaffoldConfigUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 138
+            case 154:
+              {
+                skaffoldVersion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 154
+            case 162:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.deploy.v1.TargetArtifact>
+                    targetArtifacts__ =
+                        input.readMessage(
+                            TargetArtifactsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableTargetArtifacts()
+                    .getMutableMap()
+                    .put(targetArtifacts__.getKey(), targetArtifacts__.getValue());
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 162
+            case 178:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender>
+                    targetRenders__ =
+                        input.readMessage(
+                            TargetRendersDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableTargetRenders()
+                    .getMutableMap()
+                    .put(targetRenders__.getKey(), targetRenders__.getValue());
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 178
+            case 184:
+              {
+                abandoned_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 184
+            case 194:
+              {
+                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 194
+            case 202:
+              {
+                com.google.protobuf.MapEntry
+                    deployParameters__ =
+                        input.readMessage(
+                            DeployParametersDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableDeployParameters()
+                    .getMutableMap()
+                    .put(deployParameters__.getKey(), deployParameters__.getValue());
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 202
+            case 218:
+              {
+                com.google.cloud.deploy.v1.CustomTargetType m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.CustomTargetType.parser(), extensionRegistry);
+                if (customTargetTypeSnapshotsBuilder_ == null) {
+                  ensureCustomTargetTypeSnapshotsIsMutable();
+                  customTargetTypeSnapshots_.add(m);
+                } else {
+                  customTargetTypeSnapshotsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 218
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7093,23 +8121,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optional. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -7118,21 +8149,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -7140,30 +8172,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -7173,18 +8212,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -7194,18 +8237,20 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Unique identifier of the `Release`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -7214,20 +8259,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Release`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -7235,28 +8281,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Release`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier of the `Release`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -7266,17 +8319,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. Unique identifier of the `Release`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -7286,18 +8343,20 @@ public Builder setUidBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the `Release`. Max length is 255 characters.
      * 
* * string description = 3; + * * @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; @@ -7306,20 +8365,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the `Release`. Max length is 255 characters.
      * 
* * string description = 3; + * * @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 { @@ -7327,28 +8387,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the `Release`. Max length is 255 characters.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of the `Release`. Max length is 255 characters.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -7358,17 +8425,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the `Release`. Max length is 255 characters.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -7376,8 +8447,8 @@ public Builder setDescriptionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -7386,11 +8457,12 @@ public Builder setDescriptionBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -7399,10 +8471,13 @@ public Builder setDescriptionBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -7412,20 +8487,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -7439,6 +8515,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -7448,17 +8526,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -7468,23 +8548,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -7493,23 +8575,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 4;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00000008;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -7518,17 +8599,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -7537,29 +8621,25 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-        internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableLabels() {
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -7568,10 +8648,13 @@ public Builder putAllAnnotations(
       onChanged();
       return labels_;
     }
+
     public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -7589,20 +8672,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -7624,6 +8708,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -7641,17 +8727,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -7669,23 +8757,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -7702,23 +8792,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000010;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -7735,17 +8824,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -7762,21 +8854,22 @@ public Builder putLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
-    private boolean abandoned_ ;
+    private boolean abandoned_;
     /**
+     *
+     *
      * 
      * Output only. Indicates whether this is an abandoned release.
      * 
* * bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The abandoned. */ @java.lang.Override @@ -7784,11 +8877,14 @@ public boolean getAbandoned() { return abandoned_; } /** + * + * *
      * Output only. Indicates whether this is an abandoned release.
      * 
* * bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The abandoned to set. * @return This builder for chaining. */ @@ -7800,11 +8896,14 @@ public Builder setAbandoned(boolean value) { return this; } /** + * + * *
      * Output only. Indicates whether this is an abandoned release.
      * 
* * bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAbandoned() { @@ -7816,39 +8915,58 @@ public Builder clearAbandoned() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -7864,14 +8982,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -7882,17 +9003,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7905,11 +9030,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -7922,11 +9051,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; @@ -7934,36 +9067,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the `Release` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -7971,39 +9116,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp renderStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> renderStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + renderStartTimeBuilder_; /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the renderStartTime field is set. */ public boolean hasRenderStartTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderStartTime. */ public com.google.protobuf.Timestamp getRenderStartTime() { if (renderStartTimeBuilder_ == null) { - return renderStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderStartTime_; + return renderStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderStartTime_; } else { return renderStartTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRenderStartTime(com.google.protobuf.Timestamp value) { if (renderStartTimeBuilder_ == null) { @@ -8019,14 +9183,17 @@ public Builder setRenderStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRenderStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRenderStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (renderStartTimeBuilder_ == null) { renderStartTime_ = builderForValue.build(); } else { @@ -8037,17 +9204,21 @@ public Builder setRenderStartTime( return this; } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRenderStartTime(com.google.protobuf.Timestamp value) { if (renderStartTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - renderStartTime_ != null && - renderStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && renderStartTime_ != null + && renderStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRenderStartTimeBuilder().mergeFrom(value); } else { renderStartTime_ = value; @@ -8060,11 +9231,15 @@ public Builder mergeRenderStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRenderStartTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -8077,11 +9252,15 @@ public Builder clearRenderStartTime() { return this; } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRenderStartTimeBuilder() { bitField0_ |= 0x00000080; @@ -8089,36 +9268,48 @@ public com.google.protobuf.Timestamp.Builder getRenderStartTimeBuilder() { return getRenderStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRenderStartTimeOrBuilder() { if (renderStartTimeBuilder_ != null) { return renderStartTimeBuilder_.getMessageOrBuilder(); } else { - return renderStartTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : renderStartTime_; + return renderStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderStartTime_; } } /** + * + * *
      * Output only. Time at which the render began.
      * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_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> getRenderStartTimeFieldBuilder() { if (renderStartTimeBuilder_ == null) { - renderStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRenderStartTime(), - getParentForChildren(), - isClean()); + renderStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRenderStartTime(), getParentForChildren(), isClean()); renderStartTime_ = null; } return renderStartTimeBuilder_; @@ -8126,39 +9317,58 @@ public com.google.protobuf.TimestampOrBuilder getRenderStartTimeOrBuilder() { private com.google.protobuf.Timestamp renderEndTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> renderEndTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + renderEndTimeBuilder_; /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the renderEndTime field is set. */ public boolean hasRenderEndTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderEndTime. */ public com.google.protobuf.Timestamp getRenderEndTime() { if (renderEndTimeBuilder_ == null) { - return renderEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderEndTime_; + return renderEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderEndTime_; } else { return renderEndTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRenderEndTime(com.google.protobuf.Timestamp value) { if (renderEndTimeBuilder_ == null) { @@ -8174,14 +9384,17 @@ public Builder setRenderEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRenderEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRenderEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (renderEndTimeBuilder_ == null) { renderEndTime_ = builderForValue.build(); } else { @@ -8192,17 +9405,21 @@ public Builder setRenderEndTime( return this; } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRenderEndTime(com.google.protobuf.Timestamp value) { if (renderEndTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - renderEndTime_ != null && - renderEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && renderEndTime_ != null + && renderEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRenderEndTimeBuilder().mergeFrom(value); } else { renderEndTime_ = value; @@ -8215,11 +9432,15 @@ public Builder mergeRenderEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRenderEndTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -8232,11 +9453,15 @@ public Builder clearRenderEndTime() { return this; } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRenderEndTimeBuilder() { bitField0_ |= 0x00000100; @@ -8244,36 +9469,48 @@ public com.google.protobuf.Timestamp.Builder getRenderEndTimeBuilder() { return getRenderEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder() { if (renderEndTimeBuilder_ != null) { return renderEndTimeBuilder_.getMessageOrBuilder(); } else { - return renderEndTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : renderEndTime_; + return renderEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : renderEndTime_; } } /** + * + * *
      * Output only. Time at which the render completed.
      * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_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> getRenderEndTimeFieldBuilder() { if (renderEndTimeBuilder_ == null) { - renderEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRenderEndTime(), - getParentForChildren(), - isClean()); + renderEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRenderEndTime(), getParentForChildren(), isClean()); renderEndTime_ = null; } return renderEndTimeBuilder_; @@ -8281,18 +9518,20 @@ public com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder() { private java.lang.Object skaffoldConfigUri_ = ""; /** + * + * *
      * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
      * 
* * string skaffold_config_uri = 17; + * * @return The skaffoldConfigUri. */ public java.lang.String getSkaffoldConfigUri() { java.lang.Object ref = skaffoldConfigUri_; 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(); skaffoldConfigUri_ = s; return s; @@ -8301,20 +9540,21 @@ public java.lang.String getSkaffoldConfigUri() { } } /** + * + * *
      * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
      * 
* * string skaffold_config_uri = 17; + * * @return The bytes for skaffoldConfigUri. */ - public com.google.protobuf.ByteString - getSkaffoldConfigUriBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigUriBytes() { java.lang.Object ref = skaffoldConfigUri_; 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); skaffoldConfigUri_ = b; return b; } else { @@ -8322,28 +9562,35 @@ public java.lang.String getSkaffoldConfigUri() { } } /** + * + * *
      * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
      * 
* * string skaffold_config_uri = 17; + * * @param value The skaffoldConfigUri to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skaffoldConfigUri_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
      * 
* * string skaffold_config_uri = 17; + * * @return This builder for chaining. */ public Builder clearSkaffoldConfigUri() { @@ -8353,17 +9600,21 @@ public Builder clearSkaffoldConfigUri() { return this; } /** + * + * *
      * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
      * 
* * string skaffold_config_uri = 17; + * * @param value The bytes for skaffoldConfigUri to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skaffoldConfigUri_ = value; bitField0_ |= 0x00000200; @@ -8373,18 +9624,20 @@ public Builder setSkaffoldConfigUriBytes( private java.lang.Object skaffoldConfigPath_ = ""; /** + * + * *
      * Filepath of the Skaffold config inside of the config URI.
      * 
* * string skaffold_config_path = 9; + * * @return The skaffoldConfigPath. */ public java.lang.String getSkaffoldConfigPath() { java.lang.Object ref = skaffoldConfigPath_; 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(); skaffoldConfigPath_ = s; return s; @@ -8393,20 +9646,21 @@ public java.lang.String getSkaffoldConfigPath() { } } /** + * + * *
      * Filepath of the Skaffold config inside of the config URI.
      * 
* * string skaffold_config_path = 9; + * * @return The bytes for skaffoldConfigPath. */ - public com.google.protobuf.ByteString - getSkaffoldConfigPathBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { java.lang.Object ref = skaffoldConfigPath_; 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); skaffoldConfigPath_ = b; return b; } else { @@ -8414,28 +9668,35 @@ public java.lang.String getSkaffoldConfigPath() { } } /** + * + * *
      * Filepath of the Skaffold config inside of the config URI.
      * 
* * string skaffold_config_path = 9; + * * @param value The skaffoldConfigPath to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skaffoldConfigPath_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Filepath of the Skaffold config inside of the config URI.
      * 
* * string skaffold_config_path = 9; + * * @return This builder for chaining. */ public Builder clearSkaffoldConfigPath() { @@ -8445,17 +9706,21 @@ public Builder clearSkaffoldConfigPath() { return this; } /** + * + * *
      * Filepath of the Skaffold config inside of the config URI.
      * 
* * string skaffold_config_path = 9; + * * @param value The bytes for skaffoldConfigPath to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skaffoldConfigPath_ = value; bitField0_ |= 0x00000400; @@ -8464,18 +9729,25 @@ public Builder setSkaffoldConfigPathBytes( } private java.util.List buildArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBuildArtifactsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - buildArtifacts_ = new java.util.ArrayList(buildArtifacts_); + buildArtifacts_ = + new java.util.ArrayList(buildArtifacts_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.BuildArtifact, com.google.cloud.deploy.v1.BuildArtifact.Builder, com.google.cloud.deploy.v1.BuildArtifactOrBuilder> buildArtifactsBuilder_; + com.google.cloud.deploy.v1.BuildArtifact, + com.google.cloud.deploy.v1.BuildArtifact.Builder, + com.google.cloud.deploy.v1.BuildArtifactOrBuilder> + buildArtifactsBuilder_; /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8490,6 +9762,8 @@ public java.util.List getBuildArtifact } } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8504,6 +9778,8 @@ public int getBuildArtifactsCount() { } } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8518,14 +9794,15 @@ public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { } } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - public Builder setBuildArtifacts( - int index, com.google.cloud.deploy.v1.BuildArtifact value) { + public Builder setBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArtifact value) { if (buildArtifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8539,6 +9816,8 @@ public Builder setBuildArtifacts( return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8557,6 +9836,8 @@ public Builder setBuildArtifacts( return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8577,14 +9858,15 @@ public Builder addBuildArtifacts(com.google.cloud.deploy.v1.BuildArtifact value) return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - public Builder addBuildArtifacts( - int index, com.google.cloud.deploy.v1.BuildArtifact value) { + public Builder addBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArtifact value) { if (buildArtifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8598,6 +9880,8 @@ public Builder addBuildArtifacts( return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8616,6 +9900,8 @@ public Builder addBuildArtifacts( return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8634,6 +9920,8 @@ public Builder addBuildArtifacts( return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8644,8 +9932,7 @@ public Builder addAllBuildArtifacts( java.lang.Iterable values) { if (buildArtifactsBuilder_ == null) { ensureBuildArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, buildArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, buildArtifacts_); onChanged(); } else { buildArtifactsBuilder_.addAllMessages(values); @@ -8653,6 +9940,8 @@ public Builder addAllBuildArtifacts( return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8670,6 +9959,8 @@ public Builder clearBuildArtifacts() { return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8687,39 +9978,44 @@ public Builder removeBuildArtifacts(int index) { return this; } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - public com.google.cloud.deploy.v1.BuildArtifact.Builder getBuildArtifactsBuilder( - int index) { + public com.google.cloud.deploy.v1.BuildArtifact.Builder getBuildArtifactsBuilder(int index) { return getBuildArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index) { if (buildArtifactsBuilder_ == null) { - return buildArtifacts_.get(index); } else { + return buildArtifacts_.get(index); + } else { return buildArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - public java.util.List - getBuildArtifactsOrBuilderList() { + public java.util.List + getBuildArtifactsOrBuilderList() { if (buildArtifactsBuilder_ != null) { return buildArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -8727,6 +10023,8 @@ public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuil } } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -8734,38 +10032,47 @@ public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuil * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder() { - return getBuildArtifactsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.BuildArtifact.getDefaultInstance()); + return getBuildArtifactsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.BuildArtifact.getDefaultInstance()); } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder( - int index) { - return getBuildArtifactsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.BuildArtifact.getDefaultInstance()); + public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder(int index) { + return getBuildArtifactsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.BuildArtifact.getDefaultInstance()); } /** + * + * *
      * List of artifacts to pass through to Skaffold command.
      * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - public java.util.List - getBuildArtifactsBuilderList() { + public java.util.List + getBuildArtifactsBuilderList() { return getBuildArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.BuildArtifact, com.google.cloud.deploy.v1.BuildArtifact.Builder, com.google.cloud.deploy.v1.BuildArtifactOrBuilder> + com.google.cloud.deploy.v1.BuildArtifact, + com.google.cloud.deploy.v1.BuildArtifact.Builder, + com.google.cloud.deploy.v1.BuildArtifactOrBuilder> getBuildArtifactsFieldBuilder() { if (buildArtifactsBuilder_ == null) { - buildArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.BuildArtifact, com.google.cloud.deploy.v1.BuildArtifact.Builder, com.google.cloud.deploy.v1.BuildArtifactOrBuilder>( + buildArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.BuildArtifact, + com.google.cloud.deploy.v1.BuildArtifact.Builder, + com.google.cloud.deploy.v1.BuildArtifactOrBuilder>( buildArtifacts_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), @@ -8777,42 +10084,61 @@ public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder private com.google.cloud.deploy.v1.DeliveryPipeline deliveryPipelineSnapshot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> deliveryPipelineSnapshotBuilder_; + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + deliveryPipelineSnapshotBuilder_; /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deliveryPipelineSnapshot field is set. */ public boolean hasDeliveryPipelineSnapshot() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deliveryPipelineSnapshot. */ public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelineSnapshot() { if (deliveryPipelineSnapshotBuilder_ == null) { - return deliveryPipelineSnapshot_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipelineSnapshot_; + return deliveryPipelineSnapshot_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipelineSnapshot_; } else { return deliveryPipelineSnapshotBuilder_.getMessage(); } } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeliveryPipelineSnapshot(com.google.cloud.deploy.v1.DeliveryPipeline value) { if (deliveryPipelineSnapshotBuilder_ == null) { @@ -8828,12 +10154,16 @@ public Builder setDeliveryPipelineSnapshot(com.google.cloud.deploy.v1.DeliveryPi return this; } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeliveryPipelineSnapshot( com.google.cloud.deploy.v1.DeliveryPipeline.Builder builderForValue) { @@ -8847,18 +10177,24 @@ public Builder setDeliveryPipelineSnapshot( return this; } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeDeliveryPipelineSnapshot(com.google.cloud.deploy.v1.DeliveryPipeline value) { + public Builder mergeDeliveryPipelineSnapshot( + com.google.cloud.deploy.v1.DeliveryPipeline value) { if (deliveryPipelineSnapshotBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - deliveryPipelineSnapshot_ != null && - deliveryPipelineSnapshot_ != com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && deliveryPipelineSnapshot_ != null + && deliveryPipelineSnapshot_ + != com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()) { getDeliveryPipelineSnapshotBuilder().mergeFrom(value); } else { deliveryPipelineSnapshot_ = value; @@ -8871,12 +10207,16 @@ public Builder mergeDeliveryPipelineSnapshot(com.google.cloud.deploy.v1.Delivery return this; } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeliveryPipelineSnapshot() { bitField0_ = (bitField0_ & ~0x00001000); @@ -8889,74 +10229,101 @@ public Builder clearDeliveryPipelineSnapshot() { return this; } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelineSnapshotBuilder() { + public com.google.cloud.deploy.v1.DeliveryPipeline.Builder + getDeliveryPipelineSnapshotBuilder() { bitField0_ |= 0x00001000; onChanged(); return getDeliveryPipelineSnapshotFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineSnapshotOrBuilder() { + public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder + getDeliveryPipelineSnapshotOrBuilder() { if (deliveryPipelineSnapshotBuilder_ != null) { return deliveryPipelineSnapshotBuilder_.getMessageOrBuilder(); } else { - return deliveryPipelineSnapshot_ == null ? - com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipelineSnapshot_; + return deliveryPipelineSnapshot_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipelineSnapshot_; } } /** + * + * *
      * Output only. Snapshot of the parent pipeline taken at release creation
      * time.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> getDeliveryPipelineSnapshotFieldBuilder() { if (deliveryPipelineSnapshotBuilder_ == null) { - deliveryPipelineSnapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( - getDeliveryPipelineSnapshot(), - getParentForChildren(), - isClean()); + deliveryPipelineSnapshotBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( + getDeliveryPipelineSnapshot(), getParentForChildren(), isClean()); deliveryPipelineSnapshot_ = null; } return deliveryPipelineSnapshotBuilder_; } private java.util.List targetSnapshots_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTargetSnapshotsIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { - targetSnapshots_ = new java.util.ArrayList(targetSnapshots_); + targetSnapshots_ = + new java.util.ArrayList(targetSnapshots_); bitField0_ |= 0x00002000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> targetSnapshotsBuilder_; + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> + targetSnapshotsBuilder_; /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getTargetSnapshotsList() { if (targetSnapshotsBuilder_ == null) { @@ -8966,11 +10333,15 @@ public java.util.List getTargetSnapshotsList( } } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTargetSnapshotsCount() { if (targetSnapshotsBuilder_ == null) { @@ -8980,11 +10351,15 @@ public int getTargetSnapshotsCount() { } } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Target getTargetSnapshots(int index) { if (targetSnapshotsBuilder_ == null) { @@ -8994,14 +10369,17 @@ public com.google.cloud.deploy.v1.Target getTargetSnapshots(int index) { } } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTargetSnapshots( - int index, com.google.cloud.deploy.v1.Target value) { + public Builder setTargetSnapshots(int index, com.google.cloud.deploy.v1.Target value) { if (targetSnapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9015,11 +10393,15 @@ public Builder setTargetSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTargetSnapshots( int index, com.google.cloud.deploy.v1.Target.Builder builderForValue) { @@ -9033,11 +10415,15 @@ public Builder setTargetSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTargetSnapshots(com.google.cloud.deploy.v1.Target value) { if (targetSnapshotsBuilder_ == null) { @@ -9053,14 +10439,17 @@ public Builder addTargetSnapshots(com.google.cloud.deploy.v1.Target value) { return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTargetSnapshots( - int index, com.google.cloud.deploy.v1.Target value) { + public Builder addTargetSnapshots(int index, com.google.cloud.deploy.v1.Target value) { if (targetSnapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9074,14 +10463,17 @@ public Builder addTargetSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTargetSnapshots( - com.google.cloud.deploy.v1.Target.Builder builderForValue) { + public Builder addTargetSnapshots(com.google.cloud.deploy.v1.Target.Builder builderForValue) { if (targetSnapshotsBuilder_ == null) { ensureTargetSnapshotsIsMutable(); targetSnapshots_.add(builderForValue.build()); @@ -9092,11 +10484,15 @@ public Builder addTargetSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTargetSnapshots( int index, com.google.cloud.deploy.v1.Target.Builder builderForValue) { @@ -9110,18 +10506,21 @@ public Builder addTargetSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTargetSnapshots( java.lang.Iterable values) { if (targetSnapshotsBuilder_ == null) { ensureTargetSnapshotsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetSnapshots_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetSnapshots_); onChanged(); } else { targetSnapshotsBuilder_.addAllMessages(values); @@ -9129,11 +10528,15 @@ public Builder addAllTargetSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTargetSnapshots() { if (targetSnapshotsBuilder_ == null) { @@ -9146,11 +10549,15 @@ public Builder clearTargetSnapshots() { return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTargetSnapshots(int index) { if (targetSnapshotsBuilder_ == null) { @@ -9163,39 +10570,50 @@ public Builder removeTargetSnapshots(int index) { return this; } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Target.Builder getTargetSnapshotsBuilder( - int index) { + public com.google.cloud.deploy.v1.Target.Builder getTargetSnapshotsBuilder(int index) { return getTargetSnapshotsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder(int index) { if (targetSnapshotsBuilder_ == null) { - return targetSnapshots_.get(index); } else { + return targetSnapshots_.get(index); + } else { return targetSnapshotsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTargetSnapshotsOrBuilderList() { + public java.util.List + getTargetSnapshotsOrBuilderList() { if (targetSnapshotsBuilder_ != null) { return targetSnapshotsBuilder_.getMessageOrBuilderList(); } else { @@ -9203,45 +10621,62 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder( } } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Target.Builder addTargetSnapshotsBuilder() { - return getTargetSnapshotsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Target.getDefaultInstance()); + return getTargetSnapshotsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Target.getDefaultInstance()); } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Target.Builder addTargetSnapshotsBuilder( - int index) { - return getTargetSnapshotsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Target.getDefaultInstance()); + public com.google.cloud.deploy.v1.Target.Builder addTargetSnapshotsBuilder(int index) { + return getTargetSnapshotsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Target.getDefaultInstance()); } /** + * + * *
      * Output only. Snapshot of the targets taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTargetSnapshotsBuilderList() { + public java.util.List + getTargetSnapshotsBuilderList() { return getTargetSnapshotsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> getTargetSnapshotsFieldBuilder() { if (targetSnapshotsBuilder_ == null) { - targetSnapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder>( + targetSnapshotsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder>( targetSnapshots_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), @@ -9252,26 +10687,37 @@ public com.google.cloud.deploy.v1.Target.Builder addTargetSnapshotsBuilder( } private java.util.List customTargetTypeSnapshots_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomTargetTypeSnapshotsIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { - customTargetTypeSnapshots_ = new java.util.ArrayList(customTargetTypeSnapshots_); + customTargetTypeSnapshots_ = + new java.util.ArrayList( + customTargetTypeSnapshots_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> customTargetTypeSnapshotsBuilder_; + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + customTargetTypeSnapshotsBuilder_; /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getCustomTargetTypeSnapshotsList() { + public java.util.List + getCustomTargetTypeSnapshotsList() { if (customTargetTypeSnapshotsBuilder_ == null) { return java.util.Collections.unmodifiableList(customTargetTypeSnapshots_); } else { @@ -9279,12 +10725,16 @@ public java.util.List getCustomTarg } } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getCustomTargetTypeSnapshotsCount() { if (customTargetTypeSnapshotsBuilder_ == null) { @@ -9294,12 +10744,16 @@ public int getCustomTargetTypeSnapshotsCount() { } } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetTypeSnapshots(int index) { if (customTargetTypeSnapshotsBuilder_ == null) { @@ -9309,12 +10763,16 @@ public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetTypeSnapshots( } } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCustomTargetTypeSnapshots( int index, com.google.cloud.deploy.v1.CustomTargetType value) { @@ -9331,12 +10789,16 @@ public Builder setCustomTargetTypeSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCustomTargetTypeSnapshots( int index, com.google.cloud.deploy.v1.CustomTargetType.Builder builderForValue) { @@ -9350,12 +10812,16 @@ public Builder setCustomTargetTypeSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCustomTargetTypeSnapshots(com.google.cloud.deploy.v1.CustomTargetType value) { if (customTargetTypeSnapshotsBuilder_ == null) { @@ -9371,12 +10837,16 @@ public Builder addCustomTargetTypeSnapshots(com.google.cloud.deploy.v1.CustomTar return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCustomTargetTypeSnapshots( int index, com.google.cloud.deploy.v1.CustomTargetType value) { @@ -9393,12 +10863,16 @@ public Builder addCustomTargetTypeSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCustomTargetTypeSnapshots( com.google.cloud.deploy.v1.CustomTargetType.Builder builderForValue) { @@ -9412,12 +10886,16 @@ public Builder addCustomTargetTypeSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCustomTargetTypeSnapshots( int index, com.google.cloud.deploy.v1.CustomTargetType.Builder builderForValue) { @@ -9431,19 +10909,22 @@ public Builder addCustomTargetTypeSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllCustomTargetTypeSnapshots( java.lang.Iterable values) { if (customTargetTypeSnapshotsBuilder_ == null) { ensureCustomTargetTypeSnapshotsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customTargetTypeSnapshots_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customTargetTypeSnapshots_); onChanged(); } else { customTargetTypeSnapshotsBuilder_.addAllMessages(values); @@ -9451,12 +10932,16 @@ public Builder addAllCustomTargetTypeSnapshots( return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCustomTargetTypeSnapshots() { if (customTargetTypeSnapshotsBuilder_ == null) { @@ -9469,12 +10954,16 @@ public Builder clearCustomTargetTypeSnapshots() { return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeCustomTargetTypeSnapshots(int index) { if (customTargetTypeSnapshotsBuilder_ == null) { @@ -9487,42 +10976,55 @@ public Builder removeCustomTargetTypeSnapshots(int index) { return this; } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomTargetType.Builder getCustomTargetTypeSnapshotsBuilder( int index) { return getCustomTargetTypeSnapshotsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeSnapshotsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder + getCustomTargetTypeSnapshotsOrBuilder(int index) { if (customTargetTypeSnapshotsBuilder_ == null) { - return customTargetTypeSnapshots_.get(index); } else { + return customTargetTypeSnapshots_.get(index); + } else { return customTargetTypeSnapshotsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCustomTargetTypeSnapshotsOrBuilderList() { + public java.util.List + getCustomTargetTypeSnapshotsOrBuilderList() { if (customTargetTypeSnapshotsBuilder_ != null) { return customTargetTypeSnapshotsBuilder_.getMessageOrBuilderList(); } else { @@ -9530,48 +11032,67 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeS } } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.CustomTargetType.Builder addCustomTargetTypeSnapshotsBuilder() { - return getCustomTargetTypeSnapshotsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); + public com.google.cloud.deploy.v1.CustomTargetType.Builder + addCustomTargetTypeSnapshotsBuilder() { + return getCustomTargetTypeSnapshotsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomTargetType.Builder addCustomTargetTypeSnapshotsBuilder( int index) { - return getCustomTargetTypeSnapshotsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); + return getCustomTargetTypeSnapshotsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()); } /** + * + * *
      * Output only. Snapshot of the custom target types referenced by the targets
      * taken at release creation time.
      * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCustomTargetTypeSnapshotsBuilderList() { + public java.util.List + getCustomTargetTypeSnapshotsBuilderList() { return getCustomTargetTypeSnapshotsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> getCustomTargetTypeSnapshotsFieldBuilder() { if (customTargetTypeSnapshotsBuilder_ == null) { - customTargetTypeSnapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( + customTargetTypeSnapshotsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( customTargetTypeSnapshots_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), @@ -9583,22 +11104,33 @@ public com.google.cloud.deploy.v1.CustomTargetType.Builder addCustomTargetTypeSn private int renderState_ = 0; /** + * + * *
      * Output only. Current state of the render operation.
      * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renderState. */ - @java.lang.Override public int getRenderStateValue() { + @java.lang.Override + public int getRenderStateValue() { return renderState_; } /** + * + * *
      * Output only. Current state of the render operation.
      * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for renderState to set. * @return This builder for chaining. */ @@ -9609,24 +11141,35 @@ public Builder setRenderStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the render operation.
      * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderState. */ @java.lang.Override public com.google.cloud.deploy.v1.Release.RenderState getRenderState() { - com.google.cloud.deploy.v1.Release.RenderState result = com.google.cloud.deploy.v1.Release.RenderState.forNumber(renderState_); + com.google.cloud.deploy.v1.Release.RenderState result = + com.google.cloud.deploy.v1.Release.RenderState.forNumber(renderState_); return result == null ? com.google.cloud.deploy.v1.Release.RenderState.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the render operation.
      * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The renderState to set. * @return This builder for chaining. */ @@ -9640,11 +11183,16 @@ public Builder setRenderState(com.google.cloud.deploy.v1.Release.RenderState val return this; } /** + * + * *
      * Output only. Current state of the render operation.
      * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRenderState() { @@ -9656,6 +11204,8 @@ public Builder clearRenderState() { private java.lang.Object etag_ = ""; /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -9663,13 +11213,13 @@ public Builder clearRenderState() {
      * 
* * string etag = 16; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -9678,6 +11228,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -9685,15 +11237,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 16; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -9701,6 +11252,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -9708,18 +11261,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 16; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -9727,6 +11284,7 @@ public Builder setEtag(
      * 
* * string etag = 16; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -9736,6 +11294,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -9743,12 +11303,14 @@ public Builder clearEtag() {
      * 
* * string etag = 16; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00010000; @@ -9758,6 +11320,8 @@ public Builder setEtagBytes( private java.lang.Object skaffoldVersion_ = ""; /** + * + * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -9767,13 +11331,13 @@ public Builder setEtagBytes(
      * 
* * string skaffold_version = 19; + * * @return The skaffoldVersion. */ public java.lang.String getSkaffoldVersion() { java.lang.Object ref = skaffoldVersion_; 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(); skaffoldVersion_ = s; return s; @@ -9782,6 +11346,8 @@ public java.lang.String getSkaffoldVersion() { } } /** + * + * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -9791,15 +11357,14 @@ public java.lang.String getSkaffoldVersion() {
      * 
* * string skaffold_version = 19; + * * @return The bytes for skaffoldVersion. */ - public com.google.protobuf.ByteString - getSkaffoldVersionBytes() { + public com.google.protobuf.ByteString getSkaffoldVersionBytes() { java.lang.Object ref = skaffoldVersion_; 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); skaffoldVersion_ = b; return b; } else { @@ -9807,6 +11372,8 @@ public java.lang.String getSkaffoldVersion() { } } /** + * + * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -9816,18 +11383,22 @@ public java.lang.String getSkaffoldVersion() {
      * 
* * string skaffold_version = 19; + * * @param value The skaffoldVersion to set. * @return This builder for chaining. */ - public Builder setSkaffoldVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skaffoldVersion_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** + * + * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -9837,6 +11408,7 @@ public Builder setSkaffoldVersion(
      * 
* * string skaffold_version = 19; + * * @return This builder for chaining. */ public Builder clearSkaffoldVersion() { @@ -9846,6 +11418,8 @@ public Builder clearSkaffoldVersion() { return this; } /** + * + * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -9855,12 +11429,14 @@ public Builder clearSkaffoldVersion() {
      * 
* * string skaffold_version = 19; + * * @param value The bytes for skaffoldVersion to set. * @return This builder for chaining. */ - public Builder setSkaffoldVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skaffoldVersion_ = value; bitField0_ |= 0x00020000; @@ -9869,8 +11445,11 @@ public Builder setSkaffoldVersionBytes( } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> targetArtifacts_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> + targetArtifacts_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> internalGetTargetArtifacts() { if (targetArtifacts_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -9878,11 +11457,14 @@ public Builder setSkaffoldVersionBytes( } return targetArtifacts_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> internalGetMutableTargetArtifacts() { if (targetArtifacts_ == null) { - targetArtifacts_ = com.google.protobuf.MapField.newMapField( - TargetArtifactsDefaultEntryHolder.defaultEntry); + targetArtifacts_ = + com.google.protobuf.MapField.newMapField( + TargetArtifactsDefaultEntryHolder.defaultEntry); } if (!targetArtifacts_.isMutable()) { targetArtifacts_ = targetArtifacts_.copy(); @@ -9891,74 +11473,95 @@ public Builder setSkaffoldVersionBytes( onChanged(); return targetArtifacts_; } + public int getTargetArtifactsCount() { return internalGetTargetArtifacts().getMap().size(); } /** + * + * *
      * Output only. Map from target ID to the target artifacts created
      * during the render operation.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsTargetArtifacts( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsTargetArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetTargetArtifacts().getMap().containsKey(key); } - /** - * Use {@link #getTargetArtifactsMap()} instead. - */ + /** Use {@link #getTargetArtifactsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getTargetArtifacts() { + public java.util.Map + getTargetArtifacts() { return getTargetArtifactsMap(); } /** + * + * *
      * Output only. Map from target ID to the target artifacts created
      * during the render operation.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getTargetArtifactsMap() { + public java.util.Map + getTargetArtifactsMap() { return internalGetTargetArtifacts().getMap(); } /** + * + * *
      * Output only. Map from target ID to the target artifacts created
      * during the render operation.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( + public /* nullable */ com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.deploy.v1.TargetArtifact defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetArtifacts().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Output only. Map from target ID to the target artifacts created
      * during the render operation.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetArtifacts().getMap(); if (!map.containsKey(key)) { @@ -9966,30 +11569,32 @@ public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow( } return map.get(key); } + public Builder clearTargetArtifacts() { bitField0_ = (bitField0_ & ~0x00040000); - internalGetMutableTargetArtifacts().getMutableMap() - .clear(); + internalGetMutableTargetArtifacts().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. Map from target ID to the target artifacts created
      * during the render operation.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeTargetArtifacts( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableTargetArtifacts().getMutableMap() - .remove(key); + public Builder removeTargetArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableTargetArtifacts().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableTargetArtifacts() { @@ -9997,42 +11602,54 @@ public Builder removeTargetArtifacts( return internalGetMutableTargetArtifacts().getMutableMap(); } /** + * + * *
      * Output only. Map from target ID to the target artifacts created
      * during the render operation.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putTargetArtifacts( - java.lang.String key, - com.google.cloud.deploy.v1.TargetArtifact value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableTargetArtifacts().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.deploy.v1.TargetArtifact value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableTargetArtifacts().getMutableMap().put(key, value); bitField0_ |= 0x00040000; return this; } /** + * + * *
      * Output only. Map from target ID to the target artifacts created
      * during the render operation.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putAllTargetArtifacts( java.util.Map values) { - internalGetMutableTargetArtifacts().getMutableMap() - .putAll(values); + internalGetMutableTargetArtifacts().getMutableMap().putAll(values); bitField0_ |= 0x00040000; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> targetRenders_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> + targetRenders_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> internalGetTargetRenders() { if (targetRenders_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -10040,11 +11657,13 @@ public Builder putAllTargetArtifacts( } return targetRenders_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> internalGetMutableTargetRenders() { if (targetRenders_ == null) { - targetRenders_ = com.google.protobuf.MapField.newMapField( - TargetRendersDefaultEntryHolder.defaultEntry); + targetRenders_ = + com.google.protobuf.MapField.newMapField(TargetRendersDefaultEntryHolder.defaultEntry); } if (!targetRenders_.isMutable()) { targetRenders_ = targetRenders_.copy(); @@ -10053,74 +11672,95 @@ public Builder putAllTargetArtifacts( onChanged(); return targetRenders_; } + public int getTargetRendersCount() { return internalGetTargetRenders().getMap().size(); } /** + * + * *
      * Output only. Map from target ID to details of the render operation for that
      * target.
      * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsTargetRenders( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsTargetRenders(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetTargetRenders().getMap().containsKey(key); } - /** - * Use {@link #getTargetRendersMap()} instead. - */ + /** Use {@link #getTargetRendersMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getTargetRenders() { + public java.util.Map + getTargetRenders() { return getTargetRendersMap(); } /** + * + * *
      * Output only. Map from target ID to details of the render operation for that
      * target.
      * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getTargetRendersMap() { + public java.util.Map + getTargetRendersMap() { return internalGetTargetRenders().getMap(); } /** + * + * *
      * Output only. Map from target ID to details of the render operation for that
      * target.
      * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( + public /* nullable */ com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetRenders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Output only. Map from target ID to details of the render operation for that
      * target.
      * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetTargetRenders().getMap(); if (!map.containsKey(key)) { @@ -10128,30 +11768,32 @@ public com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow( } return map.get(key); } + public Builder clearTargetRenders() { bitField0_ = (bitField0_ & ~0x00080000); - internalGetMutableTargetRenders().getMutableMap() - .clear(); + internalGetMutableTargetRenders().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. Map from target ID to details of the render operation for that
      * target.
      * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeTargetRenders( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableTargetRenders().getMutableMap() - .remove(key); + public Builder removeTargetRenders(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableTargetRenders().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableTargetRenders() { @@ -10159,74 +11801,102 @@ public Builder removeTargetRenders( return internalGetMutableTargetRenders().getMutableMap(); } /** + * + * *
      * Output only. Map from target ID to details of the render operation for that
      * target.
      * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putTargetRenders( - java.lang.String key, - com.google.cloud.deploy.v1.Release.TargetRender value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableTargetRenders().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.deploy.v1.Release.TargetRender value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableTargetRenders().getMutableMap().put(key, value); bitField0_ |= 0x00080000; return this; } /** + * + * *
      * Output only. Map from target ID to details of the render operation for that
      * target.
      * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putAllTargetRenders( java.util.Map values) { - internalGetMutableTargetRenders().getMutableMap() - .putAll(values); + internalGetMutableTargetRenders().getMutableMap().putAll(values); bitField0_ |= 0x00080000; return this; } private com.google.cloud.deploy.v1.Release.ReleaseCondition condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.ReleaseCondition, com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder, com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder> conditionBuilder_; + com.google.cloud.deploy.v1.Release.ReleaseCondition, + com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder, + com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder> + conditionBuilder_; /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ public boolean hasCondition() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ public com.google.cloud.deploy.v1.Release.ReleaseCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null ? com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() + : condition_; } else { return conditionBuilder_.getMessage(); } } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition(com.google.cloud.deploy.v1.Release.ReleaseCondition value) { if (conditionBuilder_ == null) { @@ -10242,11 +11912,15 @@ public Builder setCondition(com.google.cloud.deploy.v1.Release.ReleaseCondition return this; } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition( com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder builderForValue) { @@ -10260,17 +11934,22 @@ public Builder setCondition( return this; } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCondition(com.google.cloud.deploy.v1.Release.ReleaseCondition value) { if (conditionBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - condition_ != null && - condition_ != com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && condition_ != null + && condition_ + != com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance()) { getConditionBuilder().mergeFrom(value); } else { condition_ = value; @@ -10283,11 +11962,15 @@ public Builder mergeCondition(com.google.cloud.deploy.v1.Release.ReleaseConditio return this; } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCondition() { bitField0_ = (bitField0_ & ~0x00100000); @@ -10300,11 +11983,15 @@ public Builder clearCondition() { return this; } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder getConditionBuilder() { bitField0_ |= 0x00100000; @@ -10312,43 +11999,55 @@ public com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder getConditionB return getConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { - return condition_ == null ? - com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.Release.ReleaseCondition.getDefaultInstance() + : condition_; } } /** + * + * *
      * Output only. Information around the state of the Release.
      * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.ReleaseCondition, com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder, com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder> + com.google.cloud.deploy.v1.Release.ReleaseCondition, + com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder, + com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { - conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Release.ReleaseCondition, com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder, com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder>( - getCondition(), - getParentForChildren(), - isClean()); + conditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Release.ReleaseCondition, + com.google.cloud.deploy.v1.Release.ReleaseCondition.Builder, + com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder>( + getCondition(), getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> deployParameters_; + private com.google.protobuf.MapField deployParameters_; + private com.google.protobuf.MapField internalGetDeployParameters() { if (deployParameters_ == null) { @@ -10357,11 +12056,13 @@ public com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder getCondition } return deployParameters_; } + private com.google.protobuf.MapField internalGetMutableDeployParameters() { if (deployParameters_ == null) { - deployParameters_ = com.google.protobuf.MapField.newMapField( - DeployParametersDefaultEntryHolder.defaultEntry); + deployParameters_ = + com.google.protobuf.MapField.newMapField( + DeployParametersDefaultEntryHolder.defaultEntry); } if (!deployParameters_.isMutable()) { deployParameters_ = deployParameters_.copy(); @@ -10370,70 +12071,88 @@ public com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder getCondition onChanged(); return deployParameters_; } + public int getDeployParametersCount() { return internalGetDeployParameters().getMap().size(); } /** + * + * *
      * Optional. The deploy parameters to use for all targets in this release.
      * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsDeployParameters( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsDeployParameters(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetDeployParameters().getMap().containsKey(key); } - /** - * Use {@link #getDeployParametersMap()} instead. - */ + /** Use {@link #getDeployParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDeployParameters() { return getDeployParametersMap(); } /** + * + * *
      * Optional. The deploy parameters to use for all targets in this release.
      * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getDeployParametersMap() { return internalGetDeployParameters().getMap(); } /** + * + * *
      * Optional. The deploy parameters to use for all targets in this release.
      * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getDeployParametersOrDefault( + public /* nullable */ java.lang.String getDeployParametersOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetDeployParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. The deploy parameters to use for all targets in this release.
      * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getDeployParametersOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public java.lang.String getDeployParametersOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetDeployParameters().getMap(); if (!map.containsKey(key)) { @@ -10441,69 +12160,78 @@ public java.lang.String getDeployParametersOrThrow( } return map.get(key); } + public Builder clearDeployParameters() { bitField0_ = (bitField0_ & ~0x00200000); - internalGetMutableDeployParameters().getMutableMap() - .clear(); + internalGetMutableDeployParameters().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. The deploy parameters to use for all targets in this release.
      * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeDeployParameters( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableDeployParameters().getMutableMap() - .remove(key); + public Builder removeDeployParameters(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableDeployParameters().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableDeployParameters() { + public java.util.Map getMutableDeployParameters() { bitField0_ |= 0x00200000; return internalGetMutableDeployParameters().getMutableMap(); } /** + * + * *
      * Optional. The deploy parameters to use for all targets in this release.
      * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putDeployParameters( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableDeployParameters().getMutableMap() - .put(key, value); + public Builder putDeployParameters(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableDeployParameters().getMutableMap().put(key, value); bitField0_ |= 0x00200000; return this; } /** + * + * *
      * Optional. The deploy parameters to use for all targets in this release.
      * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllDeployParameters( java.util.Map values) { - internalGetMutableDeployParameters().getMutableMap() - .putAll(values); + internalGetMutableDeployParameters().getMutableMap().putAll(values); bitField0_ |= 0x00200000; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10513,12 +12241,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Release) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Release) private static final com.google.cloud.deploy.v1.Release DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Release(); } @@ -10527,27 +12255,27 @@ public static com.google.cloud.deploy.v1.Release getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Release parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Release parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10562,6 +12290,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Release getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEvent.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEvent.java index 5cf3f672a597..899dbac6a7f9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/release_notification_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/release_notification"
  * Platform Log event that describes the failure to send release status change
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.ReleaseNotificationEvent}
  */
-public final class ReleaseNotificationEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReleaseNotificationEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ReleaseNotificationEvent)
     ReleaseNotificationEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReleaseNotificationEvent.newBuilder() to construct.
   private ReleaseNotificationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReleaseNotificationEvent() {
     message_ = "";
     pipelineUid_ = "";
@@ -31,33 +49,38 @@ private ReleaseNotificationEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReleaseNotificationEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.ReleaseNotificationEvent.class, com.google.cloud.deploy.v1.ReleaseNotificationEvent.Builder.class);
+            com.google.cloud.deploy.v1.ReleaseNotificationEvent.class,
+            com.google.cloud.deploy.v1.ReleaseNotificationEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -66,29 +89,29 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -97,14 +120,18 @@ public java.lang.String getMessage() { } public static final int PIPELINE_UID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ @java.lang.Override @@ -113,29 +140,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -144,14 +171,18 @@ public java.lang.String getPipelineUid() { } public static final int RELEASE_UID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object releaseUid_ = ""; /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 5; + * * @return The releaseUid. */ @java.lang.Override @@ -160,29 +191,29 @@ public java.lang.String getReleaseUid() { 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(); releaseUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 5; + * * @return The bytes for releaseUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -191,14 +222,18 @@ public java.lang.String getReleaseUid() { } public static final int RELEASE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object release_ = ""; /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 2; + * * @return The release. */ @java.lang.Override @@ -207,29 +242,29 @@ public java.lang.String getRelease() { 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(); release_ = s; return s; } } /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 2; + * * @return The bytes for release. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -240,30 +275,39 @@ public java.lang.String getRelease() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +319,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -308,8 +351,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, release_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pipelineUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pipelineUid_); @@ -325,21 +367,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.cloud.deploy.v1.ReleaseNotificationEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ReleaseNotificationEvent other = (com.google.cloud.deploy.v1.ReleaseNotificationEvent) obj; + com.google.cloud.deploy.v1.ReleaseNotificationEvent other = + (com.google.cloud.deploy.v1.ReleaseNotificationEvent) obj; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; - if (!getReleaseUid() - .equals(other.getReleaseUid())) return false; - if (!getRelease() - .equals(other.getRelease())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; + if (!getReleaseUid().equals(other.getReleaseUid())) return false; + if (!getRelease().equals(other.getRelease())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -368,98 +407,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.ReleaseNotificationEvent 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.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ReleaseNotificationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ReleaseNotificationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/release_notification"
    * Platform Log event that describes the failure to send release status change
@@ -468,33 +512,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.ReleaseNotificationEvent}
    */
-  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.cloud.deploy.v1.ReleaseNotificationEvent)
       com.google.cloud.deploy.v1.ReleaseNotificationEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.ReleaseNotificationEvent.class, com.google.cloud.deploy.v1.ReleaseNotificationEvent.Builder.class);
+              com.google.cloud.deploy.v1.ReleaseNotificationEvent.class,
+              com.google.cloud.deploy.v1.ReleaseNotificationEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.ReleaseNotificationEvent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -508,9 +551,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.ReleaseNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor;
     }
 
     @java.lang.Override
@@ -529,8 +572,11 @@ public com.google.cloud.deploy.v1.ReleaseNotificationEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.ReleaseNotificationEvent buildPartial() {
-      com.google.cloud.deploy.v1.ReleaseNotificationEvent result = new com.google.cloud.deploy.v1.ReleaseNotificationEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.ReleaseNotificationEvent result =
+          new com.google.cloud.deploy.v1.ReleaseNotificationEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -558,38 +604,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ReleaseNotificationEvent r
     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) {
+        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) {
+        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.cloud.deploy.v1.ReleaseNotificationEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.ReleaseNotificationEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.ReleaseNotificationEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -597,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.ReleaseNotificationEvent other) {
-      if (other == com.google.cloud.deploy.v1.ReleaseNotificationEvent.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.ReleaseNotificationEvent.getDefaultInstance())
+        return this;
       if (!other.getMessage().isEmpty()) {
         message_ = other.message_;
         bitField0_ |= 0x00000001;
@@ -647,37 +695,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              release_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 24: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 24
-            case 34: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            case 42: {
-              releaseUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                release_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 24:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 24
+            case 34:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            case 42:
+              {
+                releaseUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -687,22 +741,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -711,20 +768,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -732,28 +790,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -763,17 +828,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -783,18 +852,20 @@ public Builder setMessageBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -803,20 +874,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -824,28 +896,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -855,17 +934,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000002; @@ -875,18 +958,20 @@ public Builder setPipelineUidBytes( private java.lang.Object releaseUid_ = ""; /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 5; + * * @return The releaseUid. */ public java.lang.String getReleaseUid() { java.lang.Object ref = releaseUid_; 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(); releaseUid_ = s; return s; @@ -895,20 +980,21 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 5; + * * @return The bytes for releaseUid. */ - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -916,28 +1002,35 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 5; + * * @param value The releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } releaseUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 5; + * * @return This builder for chaining. */ public Builder clearReleaseUid() { @@ -947,17 +1040,21 @@ public Builder clearReleaseUid() { return this; } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 5; + * * @param value The bytes for releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); releaseUid_ = value; bitField0_ |= 0x00000004; @@ -967,18 +1064,20 @@ public Builder setReleaseUidBytes( private java.lang.Object release_ = ""; /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 2; + * * @return The release. */ public java.lang.String getRelease() { java.lang.Object ref = release_; 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(); release_ = s; return s; @@ -987,20 +1086,21 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 2; + * * @return The bytes for release. */ - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -1008,28 +1108,35 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 2; + * * @param value The release to set. * @return This builder for chaining. */ - public Builder setRelease( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelease(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } release_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 2; + * * @return This builder for chaining. */ public Builder clearRelease() { @@ -1039,17 +1146,21 @@ public Builder clearRelease() { return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 2; + * * @param value The bytes for release to set. * @return This builder for chaining. */ - public Builder setReleaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); release_ = value; bitField0_ |= 0x00000008; @@ -1059,22 +1170,29 @@ public Builder setReleaseBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1085,11 +1203,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ @java.lang.Override @@ -1098,11 +1219,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1116,11 +1240,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1129,9 +1256,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1141,12 +1268,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ReleaseNotificationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ReleaseNotificationEvent) private static final com.google.cloud.deploy.v1.ReleaseNotificationEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ReleaseNotificationEvent(); } @@ -1155,27 +1282,27 @@ public static com.google.cloud.deploy.v1.ReleaseNotificationEvent getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseNotificationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseNotificationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1190,6 +1317,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ReleaseNotificationEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEventOrBuilder.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEventOrBuilder.java index 0c5db04ec708..118f1aaa2be8 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationEventOrBuilder.java @@ -1,107 +1,149 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/release_notification_payload.proto package com.google.cloud.deploy.v1; -public interface ReleaseNotificationEventOrBuilder extends +public interface ReleaseNotificationEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ReleaseNotificationEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 5; + * * @return The releaseUid. */ java.lang.String getReleaseUid(); /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 5; + * * @return The bytes for releaseUid. */ - com.google.protobuf.ByteString - getReleaseUidBytes(); + com.google.protobuf.ByteString getReleaseUidBytes(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 2; + * * @return The release. */ java.lang.String getRelease(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 2; + * * @return The bytes for release. */ - com.google.protobuf.ByteString - getReleaseBytes(); + com.google.protobuf.ByteString getReleaseBytes(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationPayloadProto.java new file mode 100644 index 000000000000..584c3f3f4bec --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationPayloadProto.java @@ -0,0 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/release_notification_payload.proto + +package com.google.cloud.deploy.v1; + +public final class ReleaseNotificationPayloadProto { + private ReleaseNotificationPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/cloud/deploy/v1/release_notific" + + "ation_payload.proto\022\026google.cloud.deploy" + + ".v1\032&google/cloud/deploy/v1/log_enums.pr" + + "oto\"\223\001\n\030ReleaseNotificationEvent\022\017\n\007mess" + + "age\030\001 \001(\t\022\024\n\014pipeline_uid\030\004 \001(\t\022\023\n\013relea" + + "se_uid\030\005 \001(\t\022\017\n\007release\030\002 \001(\t\022*\n\004type\030\003 " + + "\001(\0162\034.google.cloud.deploy.v1.TypeBs\n\032com" + + ".google.cloud.deploy.v1B\037ReleaseNotifica" + + "tionPayloadProtoP\001Z2cloud.google.com/go/" + + "deploy/apiv1/deploypb;deploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor, + new java.lang.String[] { + "Message", "PipelineUid", "ReleaseUid", "Release", "Type", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java index 674b9711263a..3b8af1765bad 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java @@ -1,75 +1,108 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface ReleaseOrBuilder extends +public interface ReleaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Release) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Unique identifier of the `Release`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Unique identifier of the `Release`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Description of the `Release`. Max length is 255 characters.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the `Release`. Max length is 255 characters.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -80,6 +113,8 @@ public interface ReleaseOrBuilder extends
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -88,15 +123,13 @@ public interface ReleaseOrBuilder extends
    *
    * map<string, string> annotations = 4;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -105,9 +138,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 4;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -117,11 +151,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 4;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -130,10 +166,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 4;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -152,6 +189,8 @@ java.lang.String getAnnotationsOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -168,15 +207,13 @@ java.lang.String getAnnotationsOrThrow(
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -193,9 +230,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -213,11 +251,13 @@ boolean containsLabels(
    * map<string, string> labels = 5;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -234,150 +274,204 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Indicates whether this is an abandoned release.
    * 
* * bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The abandoned. */ boolean getAbandoned(); /** + * + * *
    * Output only. Time at which the `Release` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the `Release` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the `Release` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the render began.
    * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the renderStartTime field is set. */ boolean hasRenderStartTime(); /** + * + * *
    * Output only. Time at which the render began.
    * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderStartTime. */ com.google.protobuf.Timestamp getRenderStartTime(); /** + * + * *
    * Output only. Time at which the render began.
    * 
* - * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRenderStartTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the render completed.
    * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the renderEndTime field is set. */ boolean hasRenderEndTime(); /** + * + * *
    * Output only. Time at which the render completed.
    * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderEndTime. */ com.google.protobuf.Timestamp getRenderEndTime(); /** + * + * *
    * Output only. Time at which the render completed.
    * 
* - * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder(); /** + * + * *
    * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
    * 
* * string skaffold_config_uri = 17; + * * @return The skaffoldConfigUri. */ java.lang.String getSkaffoldConfigUri(); /** + * + * *
    * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
    * 
* * string skaffold_config_uri = 17; + * * @return The bytes for skaffoldConfigUri. */ - com.google.protobuf.ByteString - getSkaffoldConfigUriBytes(); + com.google.protobuf.ByteString getSkaffoldConfigUriBytes(); /** + * + * *
    * Filepath of the Skaffold config inside of the config URI.
    * 
* * string skaffold_config_path = 9; + * * @return The skaffoldConfigPath. */ java.lang.String getSkaffoldConfigPath(); /** + * + * *
    * Filepath of the Skaffold config inside of the config URI.
    * 
* * string skaffold_config_path = 9; + * * @return The bytes for skaffoldConfigPath. */ - com.google.protobuf.ByteString - getSkaffoldConfigPathBytes(); + com.google.protobuf.ByteString getSkaffoldConfigPathBytes(); /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - java.util.List - getBuildArtifactsList(); + java.util.List getBuildArtifactsList(); /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -386,6 +480,8 @@ java.lang.String getLabelsOrThrow( */ com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index); /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -394,167 +490,233 @@ java.lang.String getLabelsOrThrow( */ int getBuildArtifactsCount(); /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - java.util.List + java.util.List getBuildArtifactsOrBuilderList(); /** + * + * *
    * List of artifacts to pass through to Skaffold command.
    * 
* * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; */ - com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder( - int index); + com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index); /** + * + * *
    * Output only. Snapshot of the parent pipeline taken at release creation
    * time.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deliveryPipelineSnapshot field is set. */ boolean hasDeliveryPipelineSnapshot(); /** + * + * *
    * Output only. Snapshot of the parent pipeline taken at release creation
    * time.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deliveryPipelineSnapshot. */ com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelineSnapshot(); /** + * + * *
    * Output only. Snapshot of the parent pipeline taken at release creation
    * time.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineSnapshotOrBuilder(); /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTargetSnapshotsList(); + java.util.List getTargetSnapshotsList(); /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.Target getTargetSnapshots(int index); /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTargetSnapshotsCount(); /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTargetSnapshotsOrBuilderList(); /** + * + * *
    * Output only. Snapshot of the targets taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder( - int index); + com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder(int index); /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getCustomTargetTypeSnapshotsList(); + java.util.List getCustomTargetTypeSnapshotsList(); /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CustomTargetType getCustomTargetTypeSnapshots(int index); /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getCustomTargetTypeSnapshotsCount(); /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getCustomTargetTypeSnapshotsOrBuilderList(); /** + * + * *
    * Output only. Snapshot of the custom target types referenced by the targets
    * taken at release creation time.
    * 
* - * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeSnapshotsOrBuilder( int index); /** + * + * *
    * Output only. Current state of the render operation.
    * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renderState. */ int getRenderStateValue(); /** + * + * *
    * Output only. Current state of the render operation.
    * 
* - * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renderState. */ com.google.cloud.deploy.v1.Release.RenderState getRenderState(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -562,10 +724,13 @@ com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeSnapshot
    * 
* * string etag = 16; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -573,12 +738,14 @@ com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeSnapshot
    * 
* * string etag = 16; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * The Skaffold version to use when operating on this release, such as
    * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -588,10 +755,13 @@ com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeSnapshot
    * 
* * string skaffold_version = 19; + * * @return The skaffoldVersion. */ java.lang.String getSkaffoldVersion(); /** + * + * *
    * The Skaffold version to use when operating on this release, such as
    * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
@@ -601,207 +771,266 @@ com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeSnapshot
    * 
* * string skaffold_version = 19; + * * @return The bytes for skaffoldVersion. */ - com.google.protobuf.ByteString - getSkaffoldVersionBytes(); + com.google.protobuf.ByteString getSkaffoldVersionBytes(); /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTargetArtifactsCount(); /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsTargetArtifacts( - java.lang.String key); - /** - * Use {@link #getTargetArtifactsMap()} instead. + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsTargetArtifacts(java.lang.String key); + /** Use {@link #getTargetArtifactsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getTargetArtifacts(); + java.util.Map getTargetArtifacts(); /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ java.util.Map - getTargetArtifactsMap(); + getTargetArtifactsMap(); /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( + com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact defaultValue); + com.google.cloud.deploy.v1.TargetArtifact defaultValue); /** + * + * *
    * Output only. Map from target ID to the target artifacts created
    * during the render operation.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow( - java.lang.String key); + com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTargetRendersCount(); /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsTargetRenders( - java.lang.String key); - /** - * Use {@link #getTargetRendersMap()} instead. + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsTargetRenders(java.lang.String key); + /** Use {@link #getTargetRendersMap()} instead. */ @java.lang.Deprecated java.util.Map - getTargetRenders(); + getTargetRenders(); /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ java.util.Map - getTargetRendersMap(); + getTargetRendersMap(); /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( + com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.deploy.v1.Release.TargetRender defaultValue); + com.google.cloud.deploy.v1.Release.TargetRender defaultValue); /** + * + * *
    * Output only. Map from target ID to details of the render operation for that
    * target.
    * 
* - * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow( - java.lang.String key); + com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow(java.lang.String key); /** + * + * *
    * Output only. Information around the state of the Release.
    * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * Output only. Information around the state of the Release.
    * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ com.google.cloud.deploy.v1.Release.ReleaseCondition getCondition(); /** + * + * *
    * Output only. Information around the state of the Release.
    * 
* - * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.Release.ReleaseConditionOrBuilder getConditionOrBuilder(); /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getDeployParametersCount(); /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsDeployParameters( - java.lang.String key); - /** - * Use {@link #getDeployParametersMap()} instead. + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsDeployParameters(java.lang.String key); + /** Use {@link #getDeployParametersMap()} instead. */ @java.lang.Deprecated - java.util.Map - getDeployParameters(); + java.util.Map getDeployParameters(); /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getDeployParametersMap(); + java.util.Map getDeployParametersMap(); /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getDeployParametersOrDefault( + java.lang.String getDeployParametersOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. The deploy parameters to use for all targets in this release.
    * 
* - * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getDeployParametersOrThrow( - java.lang.String key); + java.lang.String getDeployParametersOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEvent.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEvent.java index fef7dcc0674c..6d14001071a3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/release_render_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/release_render"
  * Platform Log event that describes the render status change.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.ReleaseRenderEvent}
  */
-public final class ReleaseRenderEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReleaseRenderEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.ReleaseRenderEvent)
     ReleaseRenderEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReleaseRenderEvent.newBuilder() to construct.
   private ReleaseRenderEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReleaseRenderEvent() {
     message_ = "";
     pipelineUid_ = "";
@@ -30,34 +48,39 @@ private ReleaseRenderEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReleaseRenderEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto
+        .internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto
+        .internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.ReleaseRenderEvent.class, com.google.cloud.deploy.v1.ReleaseRenderEvent.Builder.class);
+            com.google.cloud.deploy.v1.ReleaseRenderEvent.class,
+            com.google.cloud.deploy.v1.ReleaseRenderEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when a render transition occurs. Provides further
    * details as rendering progresses through render states.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when a render transition occurs. Provides further
    * details as rendering progresses through render states.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getMessage() { } public static final int PIPELINE_UID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -145,9 +172,12 @@ public java.lang.String getPipelineUid() { } public static final int RELEASE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object release_ = ""; /** + * + * *
    * The name of the release.
    * release_uid is not in this log message because we write some of these log
@@ -155,6 +185,7 @@ public java.lang.String getPipelineUid() {
    * 
* * string release = 2; + * * @return The release. */ @java.lang.Override @@ -163,14 +194,15 @@ public java.lang.String getRelease() { 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(); release_ = s; return s; } } /** + * + * *
    * The name of the release.
    * release_uid is not in this log message because we write some of these log
@@ -178,16 +210,15 @@ public java.lang.String getRelease() {
    * 
* * string release = 2; + * * @return The bytes for release. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -198,25 +229,33 @@ public java.lang.String getRelease() { public static final int TYPE_FIELD_NUMBER = 5; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a release render state change event.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a release render state change event.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } @@ -224,30 +263,40 @@ public java.lang.String getRelease() { public static final int RELEASE_RENDER_STATE_FIELD_NUMBER = 3; private int releaseRenderState_ = 0; /** + * + * *
    * The state of the release render.
    * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @return The enum numeric value on the wire for releaseRenderState. */ - @java.lang.Override public int getReleaseRenderStateValue() { + @java.lang.Override + public int getReleaseRenderStateValue() { return releaseRenderState_; } /** + * + * *
    * The state of the release render.
    * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @return The releaseRenderState. */ - @java.lang.Override public com.google.cloud.deploy.v1.Release.RenderState getReleaseRenderState() { - com.google.cloud.deploy.v1.Release.RenderState result = com.google.cloud.deploy.v1.Release.RenderState.forNumber(releaseRenderState_); + @java.lang.Override + public com.google.cloud.deploy.v1.Release.RenderState getReleaseRenderState() { + com.google.cloud.deploy.v1.Release.RenderState result = + com.google.cloud.deploy.v1.Release.RenderState.forNumber(releaseRenderState_); return result == null ? com.google.cloud.deploy.v1.Release.RenderState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,15 +308,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(release_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, release_); } - if (releaseRenderState_ != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { + if (releaseRenderState_ + != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, releaseRenderState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pipelineUid_)) { @@ -291,16 +340,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(release_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, release_); } - if (releaseRenderState_ != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, releaseRenderState_); + if (releaseRenderState_ + != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, releaseRenderState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pipelineUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pipelineUid_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,19 +358,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.cloud.deploy.v1.ReleaseRenderEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.ReleaseRenderEvent other = (com.google.cloud.deploy.v1.ReleaseRenderEvent) obj; + com.google.cloud.deploy.v1.ReleaseRenderEvent other = + (com.google.cloud.deploy.v1.ReleaseRenderEvent) obj; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; - if (!getRelease() - .equals(other.getRelease())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; + if (!getRelease().equals(other.getRelease())) return false; if (type_ != other.type_) return false; if (releaseRenderState_ != other.releaseRenderState_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -351,99 +397,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.ReleaseRenderEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.ReleaseRenderEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/release_render"
    * Platform Log event that describes the render status change.
@@ -451,33 +502,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.ReleaseRenderEvent}
    */
-  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.cloud.deploy.v1.ReleaseRenderEvent)
       com.google.cloud.deploy.v1.ReleaseRenderEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto
+          .internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto
+          .internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.ReleaseRenderEvent.class, com.google.cloud.deploy.v1.ReleaseRenderEvent.Builder.class);
+              com.google.cloud.deploy.v1.ReleaseRenderEvent.class,
+              com.google.cloud.deploy.v1.ReleaseRenderEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.ReleaseRenderEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -491,9 +541,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto.internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.ReleaseRenderPayloadProto
+          .internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor;
     }
 
     @java.lang.Override
@@ -512,8 +562,11 @@ public com.google.cloud.deploy.v1.ReleaseRenderEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.ReleaseRenderEvent buildPartial() {
-      com.google.cloud.deploy.v1.ReleaseRenderEvent result = new com.google.cloud.deploy.v1.ReleaseRenderEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.ReleaseRenderEvent result =
+          new com.google.cloud.deploy.v1.ReleaseRenderEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -541,38 +594,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.ReleaseRenderEvent result)
     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) {
+        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) {
+        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.cloud.deploy.v1.ReleaseRenderEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.ReleaseRenderEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.ReleaseRenderEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -628,37 +682,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              release_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 24: {
-              releaseRenderState_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 24
-            case 34: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            case 40: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                release_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 24:
+              {
+                releaseRenderState_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 24
+            case 34:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            case 40:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 40
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -668,23 +728,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when a render transition occurs. Provides further
      * details as rendering progresses through render states.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -693,21 +756,22 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a render transition occurs. Provides further
      * details as rendering progresses through render states.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -715,30 +779,37 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a render transition occurs. Provides further
      * details as rendering progresses through render states.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when a render transition occurs. Provides further
      * details as rendering progresses through render states.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -748,18 +819,22 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when a render transition occurs. Provides further
      * details as rendering progresses through render states.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -769,18 +844,20 @@ public Builder setMessageBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -789,20 +866,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -810,28 +888,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -841,17 +926,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 4; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000002; @@ -861,6 +950,8 @@ public Builder setPipelineUidBytes( private java.lang.Object release_ = ""; /** + * + * *
      * The name of the release.
      * release_uid is not in this log message because we write some of these log
@@ -868,13 +959,13 @@ public Builder setPipelineUidBytes(
      * 
* * string release = 2; + * * @return The release. */ public java.lang.String getRelease() { java.lang.Object ref = release_; 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(); release_ = s; return s; @@ -883,6 +974,8 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the release.
      * release_uid is not in this log message because we write some of these log
@@ -890,15 +983,14 @@ public java.lang.String getRelease() {
      * 
* * string release = 2; + * * @return The bytes for release. */ - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -906,6 +998,8 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the release.
      * release_uid is not in this log message because we write some of these log
@@ -913,18 +1007,22 @@ public java.lang.String getRelease() {
      * 
* * string release = 2; + * * @param value The release to set. * @return This builder for chaining. */ - public Builder setRelease( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelease(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } release_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The name of the release.
      * release_uid is not in this log message because we write some of these log
@@ -932,6 +1030,7 @@ public Builder setRelease(
      * 
* * string release = 2; + * * @return This builder for chaining. */ public Builder clearRelease() { @@ -941,6 +1040,8 @@ public Builder clearRelease() { return this; } /** + * + * *
      * The name of the release.
      * release_uid is not in this log message because we write some of these log
@@ -948,12 +1049,14 @@ public Builder clearRelease() {
      * 
* * string release = 2; + * * @param value The bytes for release to set. * @return This builder for chaining. */ - public Builder setReleaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); release_ = value; bitField0_ |= 0x00000004; @@ -963,22 +1066,29 @@ public Builder setReleaseBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a release render state change event.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a release render state change event.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -989,11 +1099,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a release render state change event.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The type. */ @java.lang.Override @@ -1002,11 +1115,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a release render state change event.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1020,11 +1136,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a release render state change event.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1036,22 +1155,29 @@ public Builder clearType() { private int releaseRenderState_ = 0; /** + * + * *
      * The state of the release render.
      * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @return The enum numeric value on the wire for releaseRenderState. */ - @java.lang.Override public int getReleaseRenderStateValue() { + @java.lang.Override + public int getReleaseRenderStateValue() { return releaseRenderState_; } /** + * + * *
      * The state of the release render.
      * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @param value The enum numeric value on the wire for releaseRenderState to set. * @return This builder for chaining. */ @@ -1062,24 +1188,31 @@ public Builder setReleaseRenderStateValue(int value) { return this; } /** + * + * *
      * The state of the release render.
      * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @return The releaseRenderState. */ @java.lang.Override public com.google.cloud.deploy.v1.Release.RenderState getReleaseRenderState() { - com.google.cloud.deploy.v1.Release.RenderState result = com.google.cloud.deploy.v1.Release.RenderState.forNumber(releaseRenderState_); + com.google.cloud.deploy.v1.Release.RenderState result = + com.google.cloud.deploy.v1.Release.RenderState.forNumber(releaseRenderState_); return result == null ? com.google.cloud.deploy.v1.Release.RenderState.UNRECOGNIZED : result; } /** + * + * *
      * The state of the release render.
      * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @param value The releaseRenderState to set. * @return This builder for chaining. */ @@ -1093,11 +1226,14 @@ public Builder setReleaseRenderState(com.google.cloud.deploy.v1.Release.RenderSt return this; } /** + * + * *
      * The state of the release render.
      * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @return This builder for chaining. */ public Builder clearReleaseRenderState() { @@ -1106,9 +1242,9 @@ public Builder clearReleaseRenderState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1118,12 +1254,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.ReleaseRenderEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.ReleaseRenderEvent) private static final com.google.cloud.deploy.v1.ReleaseRenderEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.ReleaseRenderEvent(); } @@ -1132,27 +1268,27 @@ public static com.google.cloud.deploy.v1.ReleaseRenderEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseRenderEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseRenderEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1167,6 +1303,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ReleaseRenderEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEventOrBuilder.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEventOrBuilder.java index 0d8104c28bf5..f5f85cd4c581 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderEventOrBuilder.java @@ -1,55 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/release_render_payload.proto package com.google.cloud.deploy.v1; -public interface ReleaseRenderEventOrBuilder extends +public interface ReleaseRenderEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ReleaseRenderEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when a render transition occurs. Provides further
    * details as rendering progresses through render states.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when a render transition occurs. Provides further
    * details as rendering progresses through render states.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 4; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * The name of the release.
    * release_uid is not in this log message because we write some of these log
@@ -57,10 +85,13 @@ public interface ReleaseRenderEventOrBuilder extends
    * 
* * string release = 2; + * * @return The release. */ java.lang.String getRelease(); /** + * + * *
    * The name of the release.
    * release_uid is not in this log message because we write some of these log
@@ -68,45 +99,57 @@ public interface ReleaseRenderEventOrBuilder extends
    * 
* * string release = 2; + * * @return The bytes for release. */ - com.google.protobuf.ByteString - getReleaseBytes(); + com.google.protobuf.ByteString getReleaseBytes(); /** + * + * *
    * Type of this notification, e.g. for a release render state change event.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a release render state change event.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); /** + * + * *
    * The state of the release render.
    * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @return The enum numeric value on the wire for releaseRenderState. */ int getReleaseRenderStateValue(); /** + * + * *
    * The state of the release render.
    * 
* * .google.cloud.deploy.v1.Release.RenderState release_render_state = 3; + * * @return The releaseRenderState. */ com.google.cloud.deploy.v1.Release.RenderState getReleaseRenderState(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderPayloadProto.java new file mode 100644 index 000000000000..524f509cb38d --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderPayloadProto.java @@ -0,0 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/release_render_payload.proto + +package com.google.cloud.deploy.v1; + +public final class ReleaseRenderPayloadProto { + private ReleaseRenderPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/deploy/v1/release_render_" + + "payload.proto\022\026google.cloud.deploy.v1\032)g" + + "oogle/cloud/deploy/v1/cloud_deploy.proto" + + "\032&google/cloud/deploy/v1/log_enums.proto" + + "\"\303\001\n\022ReleaseRenderEvent\022\017\n\007message\030\001 \001(\t" + + "\022\024\n\014pipeline_uid\030\004 \001(\t\022\017\n\007release\030\002 \001(\t\022" + + "*\n\004type\030\005 \001(\0162\034.google.cloud.deploy.v1.T" + + "ype\022I\n\024release_render_state\030\003 \001(\0162+.goog" + + "le.cloud.deploy.v1.Release.RenderStateBm" + + "\n\032com.google.cloud.deploy.v1B\031ReleaseRen" + + "derPayloadProtoP\001Z2cloud.google.com/go/d" + + "eploy/apiv1/deploypb;deploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor(), + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor, + new java.lang.String[] { + "Message", "PipelineUid", "Release", "Type", "ReleaseRenderState", + }); + com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor(); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadata.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadata.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadata.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadata.java index 19222878e2f6..ea2125a7ac60 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadata.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadata.java @@ -1,55 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * RenderMetadata includes information associated with a `Release` render.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RenderMetadata} */ -public final class RenderMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RenderMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RenderMetadata) RenderMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RenderMetadata.newBuilder() to construct. private RenderMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RenderMetadata() { - } + + private RenderMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RenderMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RenderMetadata.class, com.google.cloud.deploy.v1.RenderMetadata.Builder.class); + com.google.cloud.deploy.v1.RenderMetadata.class, + com.google.cloud.deploy.v1.RenderMetadata.Builder.class); } public static final int CLOUD_RUN_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.CloudRunRenderMetadata cloudRun_; /** + * + * *
    * Output only. Metadata associated with rendering for Cloud Run.
    * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ @java.lang.Override @@ -57,37 +80,55 @@ public boolean hasCloudRun() { return cloudRun_ != null; } /** + * + * *
    * Output only. Metadata associated with rendering for Cloud Run.
    * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunRenderMetadata getCloudRun() { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() + : cloudRun_; } /** + * + * *
    * Output only. Metadata associated with rendering for Cloud Run.
    * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder getCloudRunOrBuilder() { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() + : cloudRun_; } public static final int CUSTOM_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.CustomMetadata custom_; /** + * + * *
    * Output only. Custom metadata provided by user-defined render operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ @java.lang.Override @@ -95,30 +136,44 @@ public boolean hasCustom() { return custom_ != null; } /** + * + * *
    * Output only. Custom metadata provided by user-defined render operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomMetadata getCustom() { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } /** + * + * *
    * Output only. Custom metadata provided by user-defined render operation.
    * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder() { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,8 +185,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 (cloudRun_ != null) { output.writeMessage(1, getCloudRun()); } @@ -148,12 +202,10 @@ public int getSerializedSize() { size = 0; if (cloudRun_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCloudRun()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCloudRun()); } if (custom_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustom()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustom()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,22 +215,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.cloud.deploy.v1.RenderMetadata)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RenderMetadata other = (com.google.cloud.deploy.v1.RenderMetadata) obj; + com.google.cloud.deploy.v1.RenderMetadata other = + (com.google.cloud.deploy.v1.RenderMetadata) obj; if (hasCloudRun() != other.hasCloudRun()) return false; if (hasCloudRun()) { - if (!getCloudRun() - .equals(other.getCloudRun())) return false; + if (!getCloudRun().equals(other.getCloudRun())) return false; } if (hasCustom() != other.hasCustom()) return false; if (hasCustom()) { - if (!getCustom() - .equals(other.getCustom())) return false; + if (!getCustom().equals(other.getCustom())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -204,132 +255,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RenderMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RenderMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RenderMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RenderMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RenderMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RenderMetadata includes information associated with a `Release` render.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RenderMetadata} */ - 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.cloud.deploy.v1.RenderMetadata) com.google.cloud.deploy.v1.RenderMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RenderMetadata.class, com.google.cloud.deploy.v1.RenderMetadata.Builder.class); + com.google.cloud.deploy.v1.RenderMetadata.class, + com.google.cloud.deploy.v1.RenderMetadata.Builder.class); } // Construct using com.google.cloud.deploy.v1.RenderMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -348,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; } @java.lang.Override @@ -369,8 +424,11 @@ public com.google.cloud.deploy.v1.RenderMetadata build() { @java.lang.Override public com.google.cloud.deploy.v1.RenderMetadata buildPartial() { - com.google.cloud.deploy.v1.RenderMetadata result = new com.google.cloud.deploy.v1.RenderMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RenderMetadata result = + new com.google.cloud.deploy.v1.RenderMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -378,14 +436,10 @@ public com.google.cloud.deploy.v1.RenderMetadata buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.RenderMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.cloudRun_ = cloudRunBuilder_ == null - ? cloudRun_ - : cloudRunBuilder_.build(); + result.cloudRun_ = cloudRunBuilder_ == null ? cloudRun_ : cloudRunBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.custom_ = customBuilder_ == null - ? custom_ - : customBuilder_.build(); + result.custom_ = customBuilder_ == null ? custom_ : customBuilder_.build(); } } @@ -393,38 +447,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RenderMetadata result) { 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) { + 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) { + 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.cloud.deploy.v1.RenderMetadata) { - return mergeFrom((com.google.cloud.deploy.v1.RenderMetadata)other); + return mergeFrom((com.google.cloud.deploy.v1.RenderMetadata) other); } else { super.mergeFrom(other); return this; @@ -465,26 +520,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCloudRunFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCustomFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCloudRunFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCustomFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,43 +548,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.deploy.v1.CloudRunRenderMetadata cloudRun_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunRenderMetadata, com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder, com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder> cloudRunBuilder_; + com.google.cloud.deploy.v1.CloudRunRenderMetadata, + com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder> + cloudRunBuilder_; /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudRun field is set. */ public boolean hasCloudRun() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudRun. */ public com.google.cloud.deploy.v1.CloudRunRenderMetadata getCloudRun() { if (cloudRunBuilder_ == null) { - return cloudRun_ == null ? com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() + : cloudRun_; } else { return cloudRunBuilder_.getMessage(); } } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunRenderMetadata value) { if (cloudRunBuilder_ == null) { @@ -546,11 +620,15 @@ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunRenderMetadata val return this; } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudRun( com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder builderForValue) { @@ -564,17 +642,22 @@ public Builder setCloudRun( return this; } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunRenderMetadata value) { if (cloudRunBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - cloudRun_ != null && - cloudRun_ != com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && cloudRun_ != null + && cloudRun_ + != com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance()) { getCloudRunBuilder().mergeFrom(value); } else { cloudRun_ = value; @@ -587,11 +670,15 @@ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunRenderMetadata v return this; } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCloudRun() { bitField0_ = (bitField0_ & ~0x00000001); @@ -604,11 +691,15 @@ public Builder clearCloudRun() { return this; } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder getCloudRunBuilder() { bitField0_ |= 0x00000001; @@ -616,36 +707,48 @@ public com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder getCloudRunBuil return getCloudRunFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder getCloudRunOrBuilder() { if (cloudRunBuilder_ != null) { return cloudRunBuilder_.getMessageOrBuilder(); } else { - return cloudRun_ == null ? - com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() : cloudRun_; + return cloudRun_ == null + ? com.google.cloud.deploy.v1.CloudRunRenderMetadata.getDefaultInstance() + : cloudRun_; } } /** + * + * *
      * Output only. Metadata associated with rendering for Cloud Run.
      * 
* - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunRenderMetadata, com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder, com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder> + com.google.cloud.deploy.v1.CloudRunRenderMetadata, + com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder> getCloudRunFieldBuilder() { if (cloudRunBuilder_ == null) { - cloudRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunRenderMetadata, com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder, com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder>( - getCloudRun(), - getParentForChildren(), - isClean()); + cloudRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CloudRunRenderMetadata, + com.google.cloud.deploy.v1.CloudRunRenderMetadata.Builder, + com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder>( + getCloudRun(), getParentForChildren(), isClean()); cloudRun_ = null; } return cloudRunBuilder_; @@ -653,39 +756,58 @@ public com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder getCloudRunOrB private com.google.cloud.deploy.v1.CustomMetadata custom_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder> customBuilder_; + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder> + customBuilder_; /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the custom field is set. */ public boolean hasCustom() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The custom. */ public com.google.cloud.deploy.v1.CustomMetadata getCustom() { if (customBuilder_ == null) { - return custom_ == null ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } else { return customBuilder_.getMessage(); } } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata value) { if (customBuilder_ == null) { @@ -701,14 +823,17 @@ public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata value) { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCustom( - com.google.cloud.deploy.v1.CustomMetadata.Builder builderForValue) { + public Builder setCustom(com.google.cloud.deploy.v1.CustomMetadata.Builder builderForValue) { if (customBuilder_ == null) { custom_ = builderForValue.build(); } else { @@ -719,17 +844,21 @@ public Builder setCustom( return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCustom(com.google.cloud.deploy.v1.CustomMetadata value) { if (customBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - custom_ != null && - custom_ != com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && custom_ != null + && custom_ != com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance()) { getCustomBuilder().mergeFrom(value); } else { custom_ = value; @@ -742,11 +871,15 @@ public Builder mergeCustom(com.google.cloud.deploy.v1.CustomMetadata value) { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCustom() { bitField0_ = (bitField0_ & ~0x00000002); @@ -759,11 +892,15 @@ public Builder clearCustom() { return this; } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomMetadata.Builder getCustomBuilder() { bitField0_ |= 0x00000002; @@ -771,43 +908,55 @@ public com.google.cloud.deploy.v1.CustomMetadata.Builder getCustomBuilder() { return getCustomFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder() { if (customBuilder_ != null) { return customBuilder_.getMessageOrBuilder(); } else { - return custom_ == null ? - com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() : custom_; + return custom_ == null + ? com.google.cloud.deploy.v1.CustomMetadata.getDefaultInstance() + : custom_; } } /** + * + * *
      * Output only. Custom metadata provided by user-defined render operation.
      * 
* - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder> + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder> getCustomFieldBuilder() { if (customBuilder_ == null) { - customBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomMetadata, com.google.cloud.deploy.v1.CustomMetadata.Builder, com.google.cloud.deploy.v1.CustomMetadataOrBuilder>( - getCustom(), - getParentForChildren(), - isClean()); + customBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CustomMetadata, + com.google.cloud.deploy.v1.CustomMetadata.Builder, + com.google.cloud.deploy.v1.CustomMetadataOrBuilder>( + getCustom(), getParentForChildren(), isClean()); custom_ = null; } return customBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -817,12 +966,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RenderMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RenderMetadata) private static final com.google.cloud.deploy.v1.RenderMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RenderMetadata(); } @@ -831,27 +980,27 @@ public static com.google.cloud.deploy.v1.RenderMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenderMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenderMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +1015,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RenderMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadataOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadataOrBuilder.java new file mode 100644 index 000000000000..624a2e27a884 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadataOrBuilder.java @@ -0,0 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface RenderMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RenderMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Metadata associated with rendering for Cloud Run.
+   * 
+ * + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the cloudRun field is set. + */ + boolean hasCloudRun(); + /** + * + * + *
+   * Output only. Metadata associated with rendering for Cloud Run.
+   * 
+ * + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The cloudRun. + */ + com.google.cloud.deploy.v1.CloudRunRenderMetadata getCloudRun(); + /** + * + * + *
+   * Output only. Metadata associated with rendering for Cloud Run.
+   * 
+ * + * + * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder getCloudRunOrBuilder(); + + /** + * + * + *
+   * Output only. Custom metadata provided by user-defined render operation.
+   * 
+ * + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the custom field is set. + */ + boolean hasCustom(); + /** + * + * + *
+   * Output only. Custom metadata provided by user-defined render operation.
+   * 
+ * + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The custom. + */ + com.google.cloud.deploy.v1.CustomMetadata getCustom(); + /** + * + * + *
+   * Output only. Custom metadata provided by user-defined render operation.
+   * 
+ * + * + * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairMode.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairMode.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairMode.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairMode.java index 91fcdc81e9dd..7686c06cd9ee 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairMode.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairMode.java @@ -1,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Configuration of the repair action.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RepairMode} */ -public final class RepairMode extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RepairMode extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RepairMode) RepairModeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepairMode.newBuilder() to construct. private RepairMode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RepairMode() { - } + + private RepairMode() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RepairMode(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairMode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RepairMode.class, com.google.cloud.deploy.v1.RepairMode.Builder.class); + com.google.cloud.deploy.v1.RepairMode.class, + com.google.cloud.deploy.v1.RepairMode.Builder.class); } private int modeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object mode_; + public enum ModeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RETRY(1), ROLLBACK(2), MODE_NOT_SET(0); private final int value; + private ModeCase(int value) { this.value = value; } @@ -67,30 +89,36 @@ public static ModeCase valueOf(int value) { public static ModeCase forNumber(int value) { switch (value) { - case 1: return RETRY; - case 2: return ROLLBACK; - case 0: return MODE_NOT_SET; - default: return null; + case 1: + return RETRY; + case 2: + return ROLLBACK; + case 0: + return MODE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ModeCase - getModeCase() { - return ModeCase.forNumber( - modeCase_); + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); } public static final int RETRY_FIELD_NUMBER = 1; /** + * + * *
    * Optional. Retries a failed job.
    * 
* * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the retry field is set. */ @java.lang.Override @@ -98,21 +126,26 @@ public boolean hasRetry() { return modeCase_ == 1; } /** + * + * *
    * Optional. Retries a failed job.
    * 
* * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The retry. */ @java.lang.Override public com.google.cloud.deploy.v1.Retry getRetry() { if (modeCase_ == 1) { - return (com.google.cloud.deploy.v1.Retry) mode_; + return (com.google.cloud.deploy.v1.Retry) mode_; } return com.google.cloud.deploy.v1.Retry.getDefaultInstance(); } /** + * + * *
    * Optional. Retries a failed job.
    * 
@@ -122,18 +155,22 @@ public com.google.cloud.deploy.v1.Retry getRetry() { @java.lang.Override public com.google.cloud.deploy.v1.RetryOrBuilder getRetryOrBuilder() { if (modeCase_ == 1) { - return (com.google.cloud.deploy.v1.Retry) mode_; + return (com.google.cloud.deploy.v1.Retry) mode_; } return com.google.cloud.deploy.v1.Retry.getDefaultInstance(); } public static final int ROLLBACK_FIELD_NUMBER = 2; /** + * + * *
    * Optional. Rolls back a `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollback field is set. */ @java.lang.Override @@ -141,36 +178,44 @@ public boolean hasRollback() { return modeCase_ == 2; } /** + * + * *
    * Optional. Rolls back a `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollback. */ @java.lang.Override public com.google.cloud.deploy.v1.Rollback getRollback() { if (modeCase_ == 2) { - return (com.google.cloud.deploy.v1.Rollback) mode_; + return (com.google.cloud.deploy.v1.Rollback) mode_; } return com.google.cloud.deploy.v1.Rollback.getDefaultInstance(); } /** + * + * *
    * Optional. Rolls back a `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackOrBuilder getRollbackOrBuilder() { if (modeCase_ == 2) { - return (com.google.cloud.deploy.v1.Rollback) mode_; + return (com.google.cloud.deploy.v1.Rollback) mode_; } return com.google.cloud.deploy.v1.Rollback.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +227,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 (modeCase_ == 1) { output.writeMessage(1, (com.google.cloud.deploy.v1.Retry) mode_); } @@ -200,12 +244,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.deploy.v1.Retry) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.deploy.v1.Retry) mode_); } if (modeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.deploy.v1.Rollback) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.deploy.v1.Rollback) mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -215,7 +261,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.RepairMode)) { return super.equals(obj); @@ -225,12 +271,10 @@ public boolean equals(final java.lang.Object obj) { if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (!getRetry() - .equals(other.getRetry())) return false; + if (!getRetry().equals(other.getRetry())) return false; break; case 2: - if (!getRollback() - .equals(other.getRollback())) return false; + if (!getRollback().equals(other.getRollback())) return false; break; case 0: default: @@ -263,132 +307,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RepairMode parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RepairMode parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.RepairMode parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.RepairMode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.RepairMode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RepairMode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairMode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RepairMode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of the repair action.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RepairMode} */ - 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.cloud.deploy.v1.RepairMode) com.google.cloud.deploy.v1.RepairModeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairMode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RepairMode.class, com.google.cloud.deploy.v1.RepairMode.Builder.class); + com.google.cloud.deploy.v1.RepairMode.class, + com.google.cloud.deploy.v1.RepairMode.Builder.class); } // Construct using com.google.cloud.deploy.v1.RepairMode.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -405,9 +452,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairMode_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairMode_descriptor; } @java.lang.Override @@ -426,8 +473,11 @@ public com.google.cloud.deploy.v1.RepairMode build() { @java.lang.Override public com.google.cloud.deploy.v1.RepairMode buildPartial() { - com.google.cloud.deploy.v1.RepairMode result = new com.google.cloud.deploy.v1.RepairMode(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RepairMode result = + new com.google.cloud.deploy.v1.RepairMode(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -440,12 +490,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.RepairMode result) { private void buildPartialOneofs(com.google.cloud.deploy.v1.RepairMode result) { result.modeCase_ = modeCase_; result.mode_ = this.mode_; - if (modeCase_ == 1 && - retryBuilder_ != null) { + if (modeCase_ == 1 && retryBuilder_ != null) { result.mode_ = retryBuilder_.build(); } - if (modeCase_ == 2 && - rollbackBuilder_ != null) { + if (modeCase_ == 2 && rollbackBuilder_ != null) { result.mode_ = rollbackBuilder_.build(); } } @@ -454,38 +502,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.RepairMode result) { 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) { + 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) { + 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.cloud.deploy.v1.RepairMode) { - return mergeFrom((com.google.cloud.deploy.v1.RepairMode)other); + return mergeFrom((com.google.cloud.deploy.v1.RepairMode) other); } else { super.mergeFrom(other); return this; @@ -495,17 +544,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.deploy.v1.RepairMode other) { if (other == com.google.cloud.deploy.v1.RepairMode.getDefaultInstance()) return this; switch (other.getModeCase()) { - case RETRY: { - mergeRetry(other.getRetry()); - break; - } - case ROLLBACK: { - mergeRollback(other.getRollback()); - break; - } - case MODE_NOT_SET: { - break; - } + case RETRY: + { + mergeRetry(other.getRetry()); + break; + } + case ROLLBACK: + { + mergeRollback(other.getRollback()); + break; + } + case MODE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -533,26 +585,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRetryFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getRollbackFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRetryFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getRollbackFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -562,12 +613,12 @@ public Builder mergeFrom( } // finally return this; } + private int modeCase_ = 0; private java.lang.Object mode_; - public ModeCase - getModeCase() { - return ModeCase.forNumber( - modeCase_); + + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); } public Builder clearMode() { @@ -580,13 +631,20 @@ public Builder clearMode() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Retry, com.google.cloud.deploy.v1.Retry.Builder, com.google.cloud.deploy.v1.RetryOrBuilder> retryBuilder_; + com.google.cloud.deploy.v1.Retry, + com.google.cloud.deploy.v1.Retry.Builder, + com.google.cloud.deploy.v1.RetryOrBuilder> + retryBuilder_; /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the retry field is set. */ @java.lang.Override @@ -594,11 +652,15 @@ public boolean hasRetry() { return modeCase_ == 1; } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The retry. */ @java.lang.Override @@ -616,11 +678,14 @@ public com.google.cloud.deploy.v1.Retry getRetry() { } } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRetry(com.google.cloud.deploy.v1.Retry value) { if (retryBuilder_ == null) { @@ -636,14 +701,16 @@ public Builder setRetry(com.google.cloud.deploy.v1.Retry value) { return this; } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setRetry( - com.google.cloud.deploy.v1.Retry.Builder builderForValue) { + public Builder setRetry(com.google.cloud.deploy.v1.Retry.Builder builderForValue) { if (retryBuilder_ == null) { mode_ = builderForValue.build(); onChanged(); @@ -654,18 +721,22 @@ public Builder setRetry( return this; } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRetry(com.google.cloud.deploy.v1.Retry value) { if (retryBuilder_ == null) { - if (modeCase_ == 1 && - mode_ != com.google.cloud.deploy.v1.Retry.getDefaultInstance()) { - mode_ = com.google.cloud.deploy.v1.Retry.newBuilder((com.google.cloud.deploy.v1.Retry) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 1 && mode_ != com.google.cloud.deploy.v1.Retry.getDefaultInstance()) { + mode_ = + com.google.cloud.deploy.v1.Retry.newBuilder((com.google.cloud.deploy.v1.Retry) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -681,11 +752,14 @@ public Builder mergeRetry(com.google.cloud.deploy.v1.Retry value) { return this; } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRetry() { if (retryBuilder_ == null) { @@ -704,21 +778,27 @@ public Builder clearRetry() { return this; } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Retry.Builder getRetryBuilder() { return getRetryFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RetryOrBuilder getRetryOrBuilder() { @@ -732,24 +812,30 @@ public com.google.cloud.deploy.v1.RetryOrBuilder getRetryOrBuilder() { } } /** + * + * *
      * Optional. Retries a failed job.
      * 
* - * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Retry, com.google.cloud.deploy.v1.Retry.Builder, com.google.cloud.deploy.v1.RetryOrBuilder> + com.google.cloud.deploy.v1.Retry, + com.google.cloud.deploy.v1.Retry.Builder, + com.google.cloud.deploy.v1.RetryOrBuilder> getRetryFieldBuilder() { if (retryBuilder_ == null) { if (!(modeCase_ == 1)) { mode_ = com.google.cloud.deploy.v1.Retry.getDefaultInstance(); } - retryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Retry, com.google.cloud.deploy.v1.Retry.Builder, com.google.cloud.deploy.v1.RetryOrBuilder>( - (com.google.cloud.deploy.v1.Retry) mode_, - getParentForChildren(), - isClean()); + retryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Retry, + com.google.cloud.deploy.v1.Retry.Builder, + com.google.cloud.deploy.v1.RetryOrBuilder>( + (com.google.cloud.deploy.v1.Retry) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 1; @@ -758,13 +844,21 @@ public com.google.cloud.deploy.v1.RetryOrBuilder getRetryOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollback, com.google.cloud.deploy.v1.Rollback.Builder, com.google.cloud.deploy.v1.RollbackOrBuilder> rollbackBuilder_; + com.google.cloud.deploy.v1.Rollback, + com.google.cloud.deploy.v1.Rollback.Builder, + com.google.cloud.deploy.v1.RollbackOrBuilder> + rollbackBuilder_; /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollback field is set. */ @java.lang.Override @@ -772,11 +866,16 @@ public boolean hasRollback() { return modeCase_ == 2; } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollback. */ @java.lang.Override @@ -794,11 +893,15 @@ public com.google.cloud.deploy.v1.Rollback getRollback() { } } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollback(com.google.cloud.deploy.v1.Rollback value) { if (rollbackBuilder_ == null) { @@ -814,14 +917,17 @@ public Builder setRollback(com.google.cloud.deploy.v1.Rollback value) { return this; } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setRollback( - com.google.cloud.deploy.v1.Rollback.Builder builderForValue) { + public Builder setRollback(com.google.cloud.deploy.v1.Rollback.Builder builderForValue) { if (rollbackBuilder_ == null) { mode_ = builderForValue.build(); onChanged(); @@ -832,18 +938,24 @@ public Builder setRollback( return this; } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRollback(com.google.cloud.deploy.v1.Rollback value) { if (rollbackBuilder_ == null) { - if (modeCase_ == 2 && - mode_ != com.google.cloud.deploy.v1.Rollback.getDefaultInstance()) { - mode_ = com.google.cloud.deploy.v1.Rollback.newBuilder((com.google.cloud.deploy.v1.Rollback) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 2 && mode_ != com.google.cloud.deploy.v1.Rollback.getDefaultInstance()) { + mode_ = + com.google.cloud.deploy.v1.Rollback.newBuilder( + (com.google.cloud.deploy.v1.Rollback) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -859,11 +971,15 @@ public Builder mergeRollback(com.google.cloud.deploy.v1.Rollback value) { return this; } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRollback() { if (rollbackBuilder_ == null) { @@ -882,21 +998,29 @@ public Builder clearRollback() { return this; } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Rollback.Builder getRollbackBuilder() { return getRollbackFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackOrBuilder getRollbackOrBuilder() { @@ -910,33 +1034,40 @@ public com.google.cloud.deploy.v1.RollbackOrBuilder getRollbackOrBuilder() { } } /** + * + * *
      * Optional. Rolls back a `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollback, com.google.cloud.deploy.v1.Rollback.Builder, com.google.cloud.deploy.v1.RollbackOrBuilder> + com.google.cloud.deploy.v1.Rollback, + com.google.cloud.deploy.v1.Rollback.Builder, + com.google.cloud.deploy.v1.RollbackOrBuilder> getRollbackFieldBuilder() { if (rollbackBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = com.google.cloud.deploy.v1.Rollback.getDefaultInstance(); } - rollbackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollback, com.google.cloud.deploy.v1.Rollback.Builder, com.google.cloud.deploy.v1.RollbackOrBuilder>( - (com.google.cloud.deploy.v1.Rollback) mode_, - getParentForChildren(), - isClean()); + rollbackBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Rollback, + com.google.cloud.deploy.v1.Rollback.Builder, + com.google.cloud.deploy.v1.RollbackOrBuilder>( + (com.google.cloud.deploy.v1.Rollback) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 2; onChanged(); return rollbackBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -946,12 +1077,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RepairMode) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RepairMode) private static final com.google.cloud.deploy.v1.RepairMode DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RepairMode(); } @@ -960,27 +1091,27 @@ public static com.google.cloud.deploy.v1.RepairMode getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepairMode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepairMode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -995,6 +1126,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RepairMode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairModeOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairModeOrBuilder.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairModeOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairModeOrBuilder.java index 59ab45721d07..f58c81d5859f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairModeOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairModeOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RepairModeOrBuilder extends +public interface RepairModeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RepairMode) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Retries a failed job.
    * 
* * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the retry field is set. */ boolean hasRetry(); /** + * + * *
    * Optional. Retries a failed job.
    * 
* * .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The retry. */ com.google.cloud.deploy.v1.Retry getRetry(); /** + * + * *
    * Optional. Retries a failed job.
    * 
@@ -35,29 +59,40 @@ public interface RepairModeOrBuilder extends com.google.cloud.deploy.v1.RetryOrBuilder getRetryOrBuilder(); /** + * + * *
    * Optional. Rolls back a `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollback field is set. */ boolean hasRollback(); /** + * + * *
    * Optional. Rolls back a `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollback. */ com.google.cloud.deploy.v1.Rollback getRollback(); /** + * + * *
    * Optional. Rolls back a `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.RollbackOrBuilder getRollbackOrBuilder(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhase.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhase.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhase.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhase.java index 0810f8b1b228..9501e7f888b3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhase.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhase.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * RepairPhase tracks the repair attempts that have been made for
  * each `RepairMode` specified in the `Automation` resource.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.RepairPhase}
  */
-public final class RepairPhase extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RepairPhase extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RepairPhase)
     RepairPhaseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RepairPhase.newBuilder() to construct.
   private RepairPhase(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RepairPhase() {
-  }
+
+  private RepairPhase() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RepairPhase();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairPhase_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RepairPhase_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.RepairPhase.class, com.google.cloud.deploy.v1.RepairPhase.Builder.class);
+            com.google.cloud.deploy.v1.RepairPhase.class,
+            com.google.cloud.deploy.v1.RepairPhase.Builder.class);
   }
 
   private int repairPhaseCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object repairPhase_;
+
   public enum RepairPhaseCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RETRY(1),
     ROLLBACK(2),
     REPAIRPHASE_NOT_SET(0);
     private final int value;
+
     private RepairPhaseCase(int value) {
       this.value = value;
     }
@@ -68,30 +90,38 @@ public static RepairPhaseCase valueOf(int value) {
 
     public static RepairPhaseCase forNumber(int value) {
       switch (value) {
-        case 1: return RETRY;
-        case 2: return ROLLBACK;
-        case 0: return REPAIRPHASE_NOT_SET;
-        default: return null;
+        case 1:
+          return RETRY;
+        case 2:
+          return ROLLBACK;
+        case 0:
+          return REPAIRPHASE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RepairPhaseCase
-  getRepairPhaseCase() {
-    return RepairPhaseCase.forNumber(
-        repairPhaseCase_);
+  public RepairPhaseCase getRepairPhaseCase() {
+    return RepairPhaseCase.forNumber(repairPhaseCase_);
   }
 
   public static final int RETRY_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Output only. Records of the retry attempts for retry repair mode.
    * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the retry field is set. */ @java.lang.Override @@ -99,42 +129,56 @@ public boolean hasRetry() { return repairPhaseCase_ == 1; } /** + * + * *
    * Output only. Records of the retry attempts for retry repair mode.
    * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The retry. */ @java.lang.Override public com.google.cloud.deploy.v1.RetryPhase getRetry() { if (repairPhaseCase_ == 1) { - return (com.google.cloud.deploy.v1.RetryPhase) repairPhase_; + return (com.google.cloud.deploy.v1.RetryPhase) repairPhase_; } return com.google.cloud.deploy.v1.RetryPhase.getDefaultInstance(); } /** + * + * *
    * Output only. Records of the retry attempts for retry repair mode.
    * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RetryPhaseOrBuilder getRetryOrBuilder() { if (repairPhaseCase_ == 1) { - return (com.google.cloud.deploy.v1.RetryPhase) repairPhase_; + return (com.google.cloud.deploy.v1.RetryPhase) repairPhase_; } return com.google.cloud.deploy.v1.RetryPhase.getDefaultInstance(); } public static final int ROLLBACK_FIELD_NUMBER = 2; /** + * + * *
    * Output only. Rollback attempt for rollback repair mode .
    * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the rollback field is set. */ @java.lang.Override @@ -142,36 +186,46 @@ public boolean hasRollback() { return repairPhaseCase_ == 2; } /** + * + * *
    * Output only. Rollback attempt for rollback repair mode .
    * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rollback. */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackAttempt getRollback() { if (repairPhaseCase_ == 2) { - return (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_; + return (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_; } return com.google.cloud.deploy.v1.RollbackAttempt.getDefaultInstance(); } /** + * + * *
    * Output only. Rollback attempt for rollback repair mode .
    * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackAttemptOrBuilder getRollbackOrBuilder() { if (repairPhaseCase_ == 2) { - return (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_; + return (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_; } return com.google.cloud.deploy.v1.RollbackAttempt.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +237,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 (repairPhaseCase_ == 1) { output.writeMessage(1, (com.google.cloud.deploy.v1.RetryPhase) repairPhase_); } @@ -201,12 +254,14 @@ public int getSerializedSize() { size = 0; if (repairPhaseCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.deploy.v1.RetryPhase) repairPhase_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.deploy.v1.RetryPhase) repairPhase_); } if (repairPhaseCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,7 +271,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.RepairPhase)) { return super.equals(obj); @@ -226,12 +281,10 @@ public boolean equals(final java.lang.Object obj) { if (!getRepairPhaseCase().equals(other.getRepairPhaseCase())) return false; switch (repairPhaseCase_) { case 1: - if (!getRetry() - .equals(other.getRetry())) return false; + if (!getRetry().equals(other.getRetry())) return false; break; case 2: - if (!getRollback() - .equals(other.getRollback())) return false; + if (!getRollback().equals(other.getRollback())) return false; break; case 0: default: @@ -264,99 +317,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RepairPhase parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RepairPhase parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.RepairPhase parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RepairPhase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairPhase parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RepairPhase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RepairPhase tracks the repair attempts that have been made for
    * each `RepairMode` specified in the `Automation` resource.
@@ -364,33 +422,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.RepairPhase}
    */
-  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.cloud.deploy.v1.RepairPhase)
       com.google.cloud.deploy.v1.RepairPhaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairPhase_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RepairPhase_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.RepairPhase.class, com.google.cloud.deploy.v1.RepairPhase.Builder.class);
+              com.google.cloud.deploy.v1.RepairPhase.class,
+              com.google.cloud.deploy.v1.RepairPhase.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.RepairPhase.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -407,9 +464,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairPhase_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RepairPhase_descriptor;
     }
 
     @java.lang.Override
@@ -428,8 +485,11 @@ public com.google.cloud.deploy.v1.RepairPhase build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.RepairPhase buildPartial() {
-      com.google.cloud.deploy.v1.RepairPhase result = new com.google.cloud.deploy.v1.RepairPhase(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.RepairPhase result =
+          new com.google.cloud.deploy.v1.RepairPhase(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -442,12 +502,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.RepairPhase result) {
     private void buildPartialOneofs(com.google.cloud.deploy.v1.RepairPhase result) {
       result.repairPhaseCase_ = repairPhaseCase_;
       result.repairPhase_ = this.repairPhase_;
-      if (repairPhaseCase_ == 1 &&
-          retryBuilder_ != null) {
+      if (repairPhaseCase_ == 1 && retryBuilder_ != null) {
         result.repairPhase_ = retryBuilder_.build();
       }
-      if (repairPhaseCase_ == 2 &&
-          rollbackBuilder_ != null) {
+      if (repairPhaseCase_ == 2 && rollbackBuilder_ != null) {
         result.repairPhase_ = rollbackBuilder_.build();
       }
     }
@@ -456,38 +514,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.RepairPhase result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.RepairPhase) {
-        return mergeFrom((com.google.cloud.deploy.v1.RepairPhase)other);
+        return mergeFrom((com.google.cloud.deploy.v1.RepairPhase) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,17 +556,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.deploy.v1.RepairPhase other) {
       if (other == com.google.cloud.deploy.v1.RepairPhase.getDefaultInstance()) return this;
       switch (other.getRepairPhaseCase()) {
-        case RETRY: {
-          mergeRetry(other.getRetry());
-          break;
-        }
-        case ROLLBACK: {
-          mergeRollback(other.getRollback());
-          break;
-        }
-        case REPAIRPHASE_NOT_SET: {
-          break;
-        }
+        case RETRY:
+          {
+            mergeRetry(other.getRetry());
+            break;
+          }
+        case ROLLBACK:
+          {
+            mergeRollback(other.getRollback());
+            break;
+          }
+        case REPAIRPHASE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -535,26 +597,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getRetryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              repairPhaseCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRollbackFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              repairPhaseCase_ = 2;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getRetryFieldBuilder().getBuilder(), extensionRegistry);
+                repairPhaseCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRollbackFieldBuilder().getBuilder(), extensionRegistry);
+                repairPhaseCase_ = 2;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -564,12 +625,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int repairPhaseCase_ = 0;
     private java.lang.Object repairPhase_;
-    public RepairPhaseCase
-        getRepairPhaseCase() {
-      return RepairPhaseCase.forNumber(
-          repairPhaseCase_);
+
+    public RepairPhaseCase getRepairPhaseCase() {
+      return RepairPhaseCase.forNumber(repairPhaseCase_);
     }
 
     public Builder clearRepairPhase() {
@@ -582,13 +643,21 @@ public Builder clearRepairPhase() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.RetryPhase, com.google.cloud.deploy.v1.RetryPhase.Builder, com.google.cloud.deploy.v1.RetryPhaseOrBuilder> retryBuilder_;
+            com.google.cloud.deploy.v1.RetryPhase,
+            com.google.cloud.deploy.v1.RetryPhase.Builder,
+            com.google.cloud.deploy.v1.RetryPhaseOrBuilder>
+        retryBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the retry field is set. */ @java.lang.Override @@ -596,11 +665,16 @@ public boolean hasRetry() { return repairPhaseCase_ == 1; } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The retry. */ @java.lang.Override @@ -618,11 +692,15 @@ public com.google.cloud.deploy.v1.RetryPhase getRetry() { } } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRetry(com.google.cloud.deploy.v1.RetryPhase value) { if (retryBuilder_ == null) { @@ -638,14 +716,17 @@ public Builder setRetry(com.google.cloud.deploy.v1.RetryPhase value) { return this; } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRetry( - com.google.cloud.deploy.v1.RetryPhase.Builder builderForValue) { + public Builder setRetry(com.google.cloud.deploy.v1.RetryPhase.Builder builderForValue) { if (retryBuilder_ == null) { repairPhase_ = builderForValue.build(); onChanged(); @@ -656,18 +737,25 @@ public Builder setRetry( return this; } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRetry(com.google.cloud.deploy.v1.RetryPhase value) { if (retryBuilder_ == null) { - if (repairPhaseCase_ == 1 && - repairPhase_ != com.google.cloud.deploy.v1.RetryPhase.getDefaultInstance()) { - repairPhase_ = com.google.cloud.deploy.v1.RetryPhase.newBuilder((com.google.cloud.deploy.v1.RetryPhase) repairPhase_) - .mergeFrom(value).buildPartial(); + if (repairPhaseCase_ == 1 + && repairPhase_ != com.google.cloud.deploy.v1.RetryPhase.getDefaultInstance()) { + repairPhase_ = + com.google.cloud.deploy.v1.RetryPhase.newBuilder( + (com.google.cloud.deploy.v1.RetryPhase) repairPhase_) + .mergeFrom(value) + .buildPartial(); } else { repairPhase_ = value; } @@ -683,11 +771,15 @@ public Builder mergeRetry(com.google.cloud.deploy.v1.RetryPhase value) { return this; } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRetry() { if (retryBuilder_ == null) { @@ -706,21 +798,29 @@ public Builder clearRetry() { return this; } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RetryPhase.Builder getRetryBuilder() { return getRetryFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RetryPhaseOrBuilder getRetryOrBuilder() { @@ -734,21 +834,30 @@ public com.google.cloud.deploy.v1.RetryPhaseOrBuilder getRetryOrBuilder() { } } /** + * + * *
      * Output only. Records of the retry attempts for retry repair mode.
      * 
* - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RetryPhase, com.google.cloud.deploy.v1.RetryPhase.Builder, com.google.cloud.deploy.v1.RetryPhaseOrBuilder> + com.google.cloud.deploy.v1.RetryPhase, + com.google.cloud.deploy.v1.RetryPhase.Builder, + com.google.cloud.deploy.v1.RetryPhaseOrBuilder> getRetryFieldBuilder() { if (retryBuilder_ == null) { if (!(repairPhaseCase_ == 1)) { repairPhase_ = com.google.cloud.deploy.v1.RetryPhase.getDefaultInstance(); } - retryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RetryPhase, com.google.cloud.deploy.v1.RetryPhase.Builder, com.google.cloud.deploy.v1.RetryPhaseOrBuilder>( + retryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RetryPhase, + com.google.cloud.deploy.v1.RetryPhase.Builder, + com.google.cloud.deploy.v1.RetryPhaseOrBuilder>( (com.google.cloud.deploy.v1.RetryPhase) repairPhase_, getParentForChildren(), isClean()); @@ -760,13 +869,21 @@ public com.google.cloud.deploy.v1.RetryPhaseOrBuilder getRetryOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackAttempt, com.google.cloud.deploy.v1.RollbackAttempt.Builder, com.google.cloud.deploy.v1.RollbackAttemptOrBuilder> rollbackBuilder_; + com.google.cloud.deploy.v1.RollbackAttempt, + com.google.cloud.deploy.v1.RollbackAttempt.Builder, + com.google.cloud.deploy.v1.RollbackAttemptOrBuilder> + rollbackBuilder_; /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the rollback field is set. */ @java.lang.Override @@ -774,11 +891,16 @@ public boolean hasRollback() { return repairPhaseCase_ == 2; } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rollback. */ @java.lang.Override @@ -796,11 +918,15 @@ public com.google.cloud.deploy.v1.RollbackAttempt getRollback() { } } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRollback(com.google.cloud.deploy.v1.RollbackAttempt value) { if (rollbackBuilder_ == null) { @@ -816,14 +942,17 @@ public Builder setRollback(com.google.cloud.deploy.v1.RollbackAttempt value) { return this; } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRollback( - com.google.cloud.deploy.v1.RollbackAttempt.Builder builderForValue) { + public Builder setRollback(com.google.cloud.deploy.v1.RollbackAttempt.Builder builderForValue) { if (rollbackBuilder_ == null) { repairPhase_ = builderForValue.build(); onChanged(); @@ -834,18 +963,25 @@ public Builder setRollback( return this; } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRollback(com.google.cloud.deploy.v1.RollbackAttempt value) { if (rollbackBuilder_ == null) { - if (repairPhaseCase_ == 2 && - repairPhase_ != com.google.cloud.deploy.v1.RollbackAttempt.getDefaultInstance()) { - repairPhase_ = com.google.cloud.deploy.v1.RollbackAttempt.newBuilder((com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_) - .mergeFrom(value).buildPartial(); + if (repairPhaseCase_ == 2 + && repairPhase_ != com.google.cloud.deploy.v1.RollbackAttempt.getDefaultInstance()) { + repairPhase_ = + com.google.cloud.deploy.v1.RollbackAttempt.newBuilder( + (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_) + .mergeFrom(value) + .buildPartial(); } else { repairPhase_ = value; } @@ -861,11 +997,15 @@ public Builder mergeRollback(com.google.cloud.deploy.v1.RollbackAttempt value) { return this; } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRollback() { if (rollbackBuilder_ == null) { @@ -884,21 +1024,29 @@ public Builder clearRollback() { return this; } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RollbackAttempt.Builder getRollbackBuilder() { return getRollbackFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackAttemptOrBuilder getRollbackOrBuilder() { @@ -912,21 +1060,30 @@ public com.google.cloud.deploy.v1.RollbackAttemptOrBuilder getRollbackOrBuilder( } } /** + * + * *
      * Output only. Rollback attempt for rollback repair mode .
      * 
* - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackAttempt, com.google.cloud.deploy.v1.RollbackAttempt.Builder, com.google.cloud.deploy.v1.RollbackAttemptOrBuilder> + com.google.cloud.deploy.v1.RollbackAttempt, + com.google.cloud.deploy.v1.RollbackAttempt.Builder, + com.google.cloud.deploy.v1.RollbackAttemptOrBuilder> getRollbackFieldBuilder() { if (rollbackBuilder_ == null) { if (!(repairPhaseCase_ == 2)) { repairPhase_ = com.google.cloud.deploy.v1.RollbackAttempt.getDefaultInstance(); } - rollbackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackAttempt, com.google.cloud.deploy.v1.RollbackAttempt.Builder, com.google.cloud.deploy.v1.RollbackAttemptOrBuilder>( + rollbackBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RollbackAttempt, + com.google.cloud.deploy.v1.RollbackAttempt.Builder, + com.google.cloud.deploy.v1.RollbackAttemptOrBuilder>( (com.google.cloud.deploy.v1.RollbackAttempt) repairPhase_, getParentForChildren(), isClean()); @@ -936,9 +1093,9 @@ public com.google.cloud.deploy.v1.RollbackAttemptOrBuilder getRollbackOrBuilder( onChanged(); return rollbackBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -948,12 +1105,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RepairPhase) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RepairPhase) private static final com.google.cloud.deploy.v1.RepairPhase DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RepairPhase(); } @@ -962,27 +1119,27 @@ public static com.google.cloud.deploy.v1.RepairPhase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepairPhase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepairPhase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -997,6 +1154,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RepairPhase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhaseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhaseOrBuilder.java new file mode 100644 index 000000000000..9c53bb8ddac7 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhaseOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface RepairPhaseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RepairPhase) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Records of the retry attempts for retry repair mode.
+   * 
+ * + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the retry field is set. + */ + boolean hasRetry(); + /** + * + * + *
+   * Output only. Records of the retry attempts for retry repair mode.
+   * 
+ * + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The retry. + */ + com.google.cloud.deploy.v1.RetryPhase getRetry(); + /** + * + * + *
+   * Output only. Records of the retry attempts for retry repair mode.
+   * 
+ * + * + * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.RetryPhaseOrBuilder getRetryOrBuilder(); + + /** + * + * + *
+   * Output only. Rollback attempt for rollback repair mode .
+   * 
+ * + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the rollback field is set. + */ + boolean hasRollback(); + /** + * + * + *
+   * Output only. Rollback attempt for rollback repair mode .
+   * 
+ * + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The rollback. + */ + com.google.cloud.deploy.v1.RollbackAttempt getRollback(); + /** + * + * + *
+   * Output only. Rollback attempt for rollback repair mode .
+   * 
+ * + * + * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.deploy.v1.RollbackAttemptOrBuilder getRollbackOrBuilder(); + + com.google.cloud.deploy.v1.RepairPhase.RepairPhaseCase getRepairPhaseCase(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperation.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperation.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperation.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperation.java index 1bd24610f618..c6b41de5f5f4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperation.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperation.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Contains the information for an automated `repair rollout` operation.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RepairRolloutOperation} */ -public final class RepairRolloutOperation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RepairRolloutOperation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RepairRolloutOperation) RepairRolloutOperationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepairRolloutOperation.newBuilder() to construct. private RepairRolloutOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RepairRolloutOperation() { rollout_ = ""; repairPhases_ = java.util.Collections.emptyList(); @@ -26,33 +44,38 @@ private RepairRolloutOperation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RepairRolloutOperation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RepairRolloutOperation.class, com.google.cloud.deploy.v1.RepairRolloutOperation.Builder.class); + com.google.cloud.deploy.v1.RepairRolloutOperation.class, + com.google.cloud.deploy.v1.RepairRolloutOperation.Builder.class); } public static final int ROLLOUT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ @java.lang.Override @@ -61,29 +84,29 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -94,11 +117,14 @@ public java.lang.String getRollout() { public static final int CURRENT_REPAIR_MODE_INDEX_FIELD_NUMBER = 2; private long currentRepairModeIndex_ = 0L; /** + * + * *
    * Output only. The index of the current repair action in the repair sequence.
    * 
* * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The currentRepairModeIndex. */ @java.lang.Override @@ -107,72 +133,93 @@ public long getCurrentRepairModeIndex() { } public static final int REPAIR_PHASES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List repairPhases_; /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getRepairPhasesList() { return repairPhases_; } /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRepairPhasesOrBuilderList() { return repairPhases_; } /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getRepairPhasesCount() { return repairPhases_.size(); } /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RepairPhase getRepairPhases(int index) { return repairPhases_.get(index); } /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.RepairPhaseOrBuilder getRepairPhasesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RepairPhaseOrBuilder getRepairPhasesOrBuilder(int index) { return repairPhases_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,8 +231,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(rollout_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rollout_); } @@ -208,12 +254,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rollout_); } if (currentRepairModeIndex_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, currentRepairModeIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, currentRepairModeIndex_); } for (int i = 0; i < repairPhases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, repairPhases_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, repairPhases_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,19 +267,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.cloud.deploy.v1.RepairRolloutOperation)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RepairRolloutOperation other = (com.google.cloud.deploy.v1.RepairRolloutOperation) obj; - - if (!getRollout() - .equals(other.getRollout())) return false; - if (getCurrentRepairModeIndex() - != other.getCurrentRepairModeIndex()) return false; - if (!getRepairPhasesList() - .equals(other.getRepairPhasesList())) return false; + com.google.cloud.deploy.v1.RepairRolloutOperation other = + (com.google.cloud.deploy.v1.RepairRolloutOperation) obj; + + if (!getRollout().equals(other.getRollout())) return false; + if (getCurrentRepairModeIndex() != other.getCurrentRepairModeIndex()) return false; + if (!getRepairPhasesList().equals(other.getRepairPhasesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -250,8 +292,7 @@ public int hashCode() { hash = (37 * hash) + ROLLOUT_FIELD_NUMBER; hash = (53 * hash) + getRollout().hashCode(); hash = (37 * hash) + CURRENT_REPAIR_MODE_INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCurrentRepairModeIndex()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCurrentRepairModeIndex()); if (getRepairPhasesCount() > 0) { hash = (37 * hash) + REPAIR_PHASES_FIELD_NUMBER; hash = (53 * hash) + getRepairPhasesList().hashCode(); @@ -262,131 +303,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.RepairRolloutOperation 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.cloud.deploy.v1.RepairRolloutOperation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RepairRolloutOperation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RepairRolloutOperation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairRolloutOperation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RepairRolloutOperation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains the information for an automated `repair rollout` operation.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RepairRolloutOperation} */ - 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.cloud.deploy.v1.RepairRolloutOperation) com.google.cloud.deploy.v1.RepairRolloutOperationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RepairRolloutOperation.class, com.google.cloud.deploy.v1.RepairRolloutOperation.Builder.class); + com.google.cloud.deploy.v1.RepairRolloutOperation.class, + com.google.cloud.deploy.v1.RepairRolloutOperation.Builder.class); } // Construct using com.google.cloud.deploy.v1.RepairRolloutOperation.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +449,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; } @java.lang.Override @@ -425,14 +470,18 @@ public com.google.cloud.deploy.v1.RepairRolloutOperation build() { @java.lang.Override public com.google.cloud.deploy.v1.RepairRolloutOperation buildPartial() { - com.google.cloud.deploy.v1.RepairRolloutOperation result = new com.google.cloud.deploy.v1.RepairRolloutOperation(this); + com.google.cloud.deploy.v1.RepairRolloutOperation result = + new com.google.cloud.deploy.v1.RepairRolloutOperation(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.deploy.v1.RepairRolloutOperation result) { + private void buildPartialRepeatedFields( + com.google.cloud.deploy.v1.RepairRolloutOperation result) { if (repairPhasesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { repairPhases_ = java.util.Collections.unmodifiableList(repairPhases_); @@ -458,38 +507,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RepairRolloutOperation res 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) { + 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) { + 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.cloud.deploy.v1.RepairRolloutOperation) { - return mergeFrom((com.google.cloud.deploy.v1.RepairRolloutOperation)other); + return mergeFrom((com.google.cloud.deploy.v1.RepairRolloutOperation) other); } else { super.mergeFrom(other); return this; @@ -497,7 +547,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.RepairRolloutOperation other) { - if (other == com.google.cloud.deploy.v1.RepairRolloutOperation.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.RepairRolloutOperation.getDefaultInstance()) + return this; if (!other.getRollout().isEmpty()) { rollout_ = other.rollout_; bitField0_ |= 0x00000001; @@ -524,9 +575,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.RepairRolloutOperation other repairPhasesBuilder_ = null; repairPhases_ = other.repairPhases_; bitField0_ = (bitField0_ & ~0x00000004); - repairPhasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepairPhasesFieldBuilder() : null; + repairPhasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepairPhasesFieldBuilder() + : null; } else { repairPhasesBuilder_.addAllMessages(other.repairPhases_); } @@ -558,35 +610,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rollout_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - currentRepairModeIndex_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - com.google.cloud.deploy.v1.RepairPhase m = - input.readMessage( - com.google.cloud.deploy.v1.RepairPhase.parser(), - extensionRegistry); - if (repairPhasesBuilder_ == null) { - ensureRepairPhasesIsMutable(); - repairPhases_.add(m); - } else { - repairPhasesBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rollout_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + currentRepairModeIndex_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + com.google.cloud.deploy.v1.RepairPhase m = + input.readMessage( + com.google.cloud.deploy.v1.RepairPhase.parser(), extensionRegistry); + if (repairPhasesBuilder_ == null) { + ensureRepairPhasesIsMutable(); + repairPhases_.add(m); + } else { + repairPhasesBuilder_.addMessage(m); + } + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -596,22 +651,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object rollout_ = ""; /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -620,20 +678,21 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -641,28 +700,35 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -672,17 +738,21 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Output only. The name of the rollout that initiates the `AutomationRun`.
      * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000001; @@ -690,13 +760,17 @@ public Builder setRolloutBytes( return this; } - private long currentRepairModeIndex_ ; + private long currentRepairModeIndex_; /** + * + * *
      * Output only. The index of the current repair action in the repair sequence.
      * 
* - * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The currentRepairModeIndex. */ @java.lang.Override @@ -704,11 +778,15 @@ public long getCurrentRepairModeIndex() { return currentRepairModeIndex_; } /** + * + * *
      * Output only. The index of the current repair action in the repair sequence.
      * 
* - * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The currentRepairModeIndex to set. * @return This builder for chaining. */ @@ -720,11 +798,15 @@ public Builder setCurrentRepairModeIndex(long value) { return this; } /** + * + * *
      * Output only. The index of the current repair action in the repair sequence.
      * 
* - * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearCurrentRepairModeIndex() { @@ -735,24 +817,33 @@ public Builder clearCurrentRepairModeIndex() { } private java.util.List repairPhases_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepairPhasesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - repairPhases_ = new java.util.ArrayList(repairPhases_); + repairPhases_ = + new java.util.ArrayList(repairPhases_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RepairPhase, com.google.cloud.deploy.v1.RepairPhase.Builder, com.google.cloud.deploy.v1.RepairPhaseOrBuilder> repairPhasesBuilder_; + com.google.cloud.deploy.v1.RepairPhase, + com.google.cloud.deploy.v1.RepairPhase.Builder, + com.google.cloud.deploy.v1.RepairPhaseOrBuilder> + repairPhasesBuilder_; /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getRepairPhasesList() { if (repairPhasesBuilder_ == null) { @@ -762,12 +853,16 @@ public java.util.List getRepairPhasesLis } } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getRepairPhasesCount() { if (repairPhasesBuilder_ == null) { @@ -777,12 +872,16 @@ public int getRepairPhasesCount() { } } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RepairPhase getRepairPhases(int index) { if (repairPhasesBuilder_ == null) { @@ -792,15 +891,18 @@ public com.google.cloud.deploy.v1.RepairPhase getRepairPhases(int index) { } } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRepairPhases( - int index, com.google.cloud.deploy.v1.RepairPhase value) { + public Builder setRepairPhases(int index, com.google.cloud.deploy.v1.RepairPhase value) { if (repairPhasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -814,12 +916,16 @@ public Builder setRepairPhases( return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRepairPhases( int index, com.google.cloud.deploy.v1.RepairPhase.Builder builderForValue) { @@ -833,12 +939,16 @@ public Builder setRepairPhases( return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRepairPhases(com.google.cloud.deploy.v1.RepairPhase value) { if (repairPhasesBuilder_ == null) { @@ -854,15 +964,18 @@ public Builder addRepairPhases(com.google.cloud.deploy.v1.RepairPhase value) { return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addRepairPhases( - int index, com.google.cloud.deploy.v1.RepairPhase value) { + public Builder addRepairPhases(int index, com.google.cloud.deploy.v1.RepairPhase value) { if (repairPhasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -876,15 +989,18 @@ public Builder addRepairPhases( return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addRepairPhases( - com.google.cloud.deploy.v1.RepairPhase.Builder builderForValue) { + public Builder addRepairPhases(com.google.cloud.deploy.v1.RepairPhase.Builder builderForValue) { if (repairPhasesBuilder_ == null) { ensureRepairPhasesIsMutable(); repairPhases_.add(builderForValue.build()); @@ -895,12 +1011,16 @@ public Builder addRepairPhases( return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRepairPhases( int index, com.google.cloud.deploy.v1.RepairPhase.Builder builderForValue) { @@ -914,19 +1034,22 @@ public Builder addRepairPhases( return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllRepairPhases( java.lang.Iterable values) { if (repairPhasesBuilder_ == null) { ensureRepairPhasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repairPhases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repairPhases_); onChanged(); } else { repairPhasesBuilder_.addAllMessages(values); @@ -934,12 +1057,16 @@ public Builder addAllRepairPhases( return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRepairPhases() { if (repairPhasesBuilder_ == null) { @@ -952,12 +1079,16 @@ public Builder clearRepairPhases() { return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeRepairPhases(int index) { if (repairPhasesBuilder_ == null) { @@ -970,42 +1101,53 @@ public Builder removeRepairPhases(int index) { return this; } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.RepairPhase.Builder getRepairPhasesBuilder( - int index) { + public com.google.cloud.deploy.v1.RepairPhase.Builder getRepairPhasesBuilder(int index) { return getRepairPhasesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.RepairPhaseOrBuilder getRepairPhasesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RepairPhaseOrBuilder getRepairPhasesOrBuilder(int index) { if (repairPhasesBuilder_ == null) { - return repairPhases_.get(index); } else { + return repairPhases_.get(index); + } else { return repairPhasesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRepairPhasesOrBuilderList() { + public java.util.List + getRepairPhasesOrBuilderList() { if (repairPhasesBuilder_ != null) { return repairPhasesBuilder_.getMessageOrBuilderList(); } else { @@ -1013,59 +1155,73 @@ public com.google.cloud.deploy.v1.RepairPhaseOrBuilder getRepairPhasesOrBuilder( } } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RepairPhase.Builder addRepairPhasesBuilder() { - return getRepairPhasesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.RepairPhase.getDefaultInstance()); + return getRepairPhasesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.RepairPhase.getDefaultInstance()); } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.RepairPhase.Builder addRepairPhasesBuilder( - int index) { - return getRepairPhasesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.RepairPhase.getDefaultInstance()); + public com.google.cloud.deploy.v1.RepairPhase.Builder addRepairPhasesBuilder(int index) { + return getRepairPhasesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.RepairPhase.getDefaultInstance()); } /** + * + * *
      * Output only. Records of the repair attempts. Each repair phase may have
      * multiple retry attempts or single rollback attempt.
      * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRepairPhasesBuilderList() { + public java.util.List + getRepairPhasesBuilderList() { return getRepairPhasesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RepairPhase, com.google.cloud.deploy.v1.RepairPhase.Builder, com.google.cloud.deploy.v1.RepairPhaseOrBuilder> + com.google.cloud.deploy.v1.RepairPhase, + com.google.cloud.deploy.v1.RepairPhase.Builder, + com.google.cloud.deploy.v1.RepairPhaseOrBuilder> getRepairPhasesFieldBuilder() { if (repairPhasesBuilder_ == null) { - repairPhasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RepairPhase, com.google.cloud.deploy.v1.RepairPhase.Builder, com.google.cloud.deploy.v1.RepairPhaseOrBuilder>( - repairPhases_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + repairPhasesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.RepairPhase, + com.google.cloud.deploy.v1.RepairPhase.Builder, + com.google.cloud.deploy.v1.RepairPhaseOrBuilder>( + repairPhases_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); repairPhases_ = null; } return repairPhasesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +1231,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RepairRolloutOperation) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RepairRolloutOperation) private static final com.google.cloud.deploy.v1.RepairRolloutOperation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RepairRolloutOperation(); } @@ -1089,27 +1245,27 @@ public static com.google.cloud.deploy.v1.RepairRolloutOperation getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepairRolloutOperation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepairRolloutOperation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,6 +1280,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RepairRolloutOperation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperationOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperationOrBuilder.java similarity index 57% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperationOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperationOrBuilder.java index d8437132d593..d1f405efcb69 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperationOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutOperationOrBuilder.java @@ -1,88 +1,130 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RepairRolloutOperationOrBuilder extends +public interface RepairRolloutOperationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RepairRolloutOperation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * Output only. The name of the rollout that initiates the `AutomationRun`.
    * 
* * string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * Output only. The index of the current repair action in the repair sequence.
    * 
* * int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The currentRepairModeIndex. */ long getCurrentRepairModeIndex(); /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getRepairPhasesList(); + java.util.List getRepairPhasesList(); /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.RepairPhase getRepairPhases(int index); /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getRepairPhasesCount(); /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getRepairPhasesOrBuilderList(); /** + * + * *
    * Output only. Records of the repair attempts. Each repair phase may have
    * multiple retry attempts or single rollback attempt.
    * 
* - * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.RepairPhaseOrBuilder getRepairPhasesOrBuilder( - int index); + com.google.cloud.deploy.v1.RepairPhaseOrBuilder getRepairPhasesOrBuilder(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRule.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRule.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRule.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRule.java index 76d7b617646e..d565ff25fcf9 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRule.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRule.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The `RepairRolloutRule` automation rule will automatically repair a failed
  * `Rollout`.
@@ -11,54 +28,58 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.RepairRolloutRule}
  */
-public final class RepairRolloutRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RepairRolloutRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RepairRolloutRule)
     RepairRolloutRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RepairRolloutRule.newBuilder() to construct.
   private RepairRolloutRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RepairRolloutRule() {
     id_ = "";
-    sourcePhases_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    jobs_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    jobs_ = com.google.protobuf.LazyStringArrayList.emptyList();
     repairModes_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RepairRolloutRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.RepairRolloutRule.class, com.google.cloud.deploy.v1.RepairRolloutRule.Builder.class);
+            com.google.cloud.deploy.v1.RepairRolloutRule.class,
+            com.google.cloud.deploy.v1.RepairRolloutRule.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
+   *
+   *
    * 
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -67,30 +88,30 @@ public java.lang.String getId() { 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(); id_ = s; return s; } } /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -99,10 +120,13 @@ public java.lang.String getId() { } public static final int SOURCE_PHASES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -113,13 +137,15 @@ public java.lang.String getId() {
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourcePhases. */ - public com.google.protobuf.ProtocolStringList - getSourcePhasesList() { + public com.google.protobuf.ProtocolStringList getSourcePhasesList() { return sourcePhases_; } /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -130,12 +156,15 @@ public java.lang.String getId() {
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourcePhases. */ public int getSourcePhasesCount() { return sourcePhases_.size(); } /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -146,6 +175,7 @@ public int getSourcePhasesCount() {
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourcePhases at the given index. */ @@ -153,6 +183,8 @@ public java.lang.String getSourcePhases(int index) { return sourcePhases_.get(index); } /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -163,19 +195,22 @@ public java.lang.String getSourcePhases(int index) {
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourcePhases at the given index. */ - public com.google.protobuf.ByteString - getSourcePhasesBytes(int index) { + public com.google.protobuf.ByteString getSourcePhasesBytes(int index) { return sourcePhases_.getByteString(index); } public static final int JOBS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList jobs_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -187,13 +222,15 @@ public java.lang.String getSourcePhases(int index) {
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_; } /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -205,12 +242,15 @@ public java.lang.String getSourcePhases(int index) {
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -222,6 +262,7 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -229,6 +270,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -240,83 +283,108 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } public static final int REPAIR_MODES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List repairModes_; /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getRepairModesList() { return repairModes_; } /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRepairModesOrBuilderList() { return repairModes_; } /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRepairModesCount() { return repairModes_.size(); } /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RepairMode getRepairModes(int index) { return repairModes_.get(index); } /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.RepairModeOrBuilder getRepairModesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RepairModeOrBuilder getRepairModesOrBuilder(int index) { return repairModes_.get(index); } public static final int CONDITION_FIELD_NUMBER = 6; private com.google.cloud.deploy.v1.AutomationRuleCondition condition_; /** + * + * *
    * Output only. Information around the state of the 'Automation' rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ @java.lang.Override @@ -324,30 +392,44 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * Output only. Information around the state of the 'Automation' rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRuleCondition getCondition() { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } /** + * + * *
    * Output only. Information around the state of the 'Automation' rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder() { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -359,8 +441,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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -405,12 +486,10 @@ public int getSerializedSize() { size += 1 * getJobsList().size(); } for (int i = 0; i < repairModes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, repairModes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, repairModes_.get(i)); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCondition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -420,25 +499,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.cloud.deploy.v1.RepairRolloutRule)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RepairRolloutRule other = (com.google.cloud.deploy.v1.RepairRolloutRule) obj; + com.google.cloud.deploy.v1.RepairRolloutRule other = + (com.google.cloud.deploy.v1.RepairRolloutRule) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getSourcePhasesList() - .equals(other.getSourcePhasesList())) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; - if (!getRepairModesList() - .equals(other.getRepairModesList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getSourcePhasesList().equals(other.getSourcePhasesList())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!getRepairModesList().equals(other.getRepairModesList())) return false; if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -474,99 +549,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RepairRolloutRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RepairRolloutRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RepairRolloutRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RepairRolloutRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RepairRolloutRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The `RepairRolloutRule` automation rule will automatically repair a failed
    * `Rollout`.
@@ -574,42 +654,39 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.RepairRolloutRule}
    */
-  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.cloud.deploy.v1.RepairRolloutRule)
       com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.RepairRolloutRule.class, com.google.cloud.deploy.v1.RepairRolloutRule.Builder.class);
+              com.google.cloud.deploy.v1.RepairRolloutRule.class,
+              com.google.cloud.deploy.v1.RepairRolloutRule.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.RepairRolloutRule.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       id_ = "";
-      sourcePhases_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      jobs_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      jobs_ = com.google.protobuf.LazyStringArrayList.emptyList();
       if (repairModesBuilder_ == null) {
         repairModes_ = java.util.Collections.emptyList();
       } else {
@@ -626,9 +703,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor;
     }
 
     @java.lang.Override
@@ -647,9 +724,12 @@ public com.google.cloud.deploy.v1.RepairRolloutRule build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.RepairRolloutRule buildPartial() {
-      com.google.cloud.deploy.v1.RepairRolloutRule result = new com.google.cloud.deploy.v1.RepairRolloutRule(this);
+      com.google.cloud.deploy.v1.RepairRolloutRule result =
+          new com.google.cloud.deploy.v1.RepairRolloutRule(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -680,9 +760,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.RepairRolloutRule result)
         result.jobs_ = jobs_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.condition_ = conditionBuilder_ == null
-            ? condition_
-            : conditionBuilder_.build();
+        result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
       }
     }
 
@@ -690,38 +768,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RepairRolloutRule result)
     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) {
+        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) {
+        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.cloud.deploy.v1.RepairRolloutRule) {
-        return mergeFrom((com.google.cloud.deploy.v1.RepairRolloutRule)other);
+        return mergeFrom((com.google.cloud.deploy.v1.RepairRolloutRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -773,9 +852,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.RepairRolloutRule other) {
             repairModesBuilder_ = null;
             repairModes_ = other.repairModes_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            repairModesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRepairModesFieldBuilder() : null;
+            repairModesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRepairModesFieldBuilder()
+                    : null;
           } else {
             repairModesBuilder_.addAllMessages(other.repairModes_);
           }
@@ -810,49 +890,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureSourcePhasesIsMutable();
-              sourcePhases_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureJobsIsMutable();
-              jobs_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              com.google.cloud.deploy.v1.RepairMode m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.RepairMode.parser(),
-                      extensionRegistry);
-              if (repairModesBuilder_ == null) {
-                ensureRepairModesIsMutable();
-                repairModes_.add(m);
-              } else {
-                repairModesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            case 50: {
-              input.readMessage(
-                  getConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureSourcePhasesIsMutable();
+                sourcePhases_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureJobsIsMutable();
+                jobs_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.cloud.deploy.v1.RepairMode m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.RepairMode.parser(), extensionRegistry);
+                if (repairModesBuilder_ == null) {
+                  ensureRepairModesIsMutable();
+                  repairModes_.add(m);
+                } else {
+                  repairModesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            case 50:
+              {
+                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -862,23 +945,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
+     *
+     *
      * 
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; @@ -887,21 +973,22 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -909,30 +996,37 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { @@ -942,18 +1036,22 @@ public Builder clearId() { return this; } /** + * + * *
      * Required. ID of the rule. This id must be unique in the `Automation`
      * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -963,6 +1061,7 @@ public Builder setIdBytes( private com.google.protobuf.LazyStringArrayList sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSourcePhasesIsMutable() { if (!sourcePhases_.isModifiable()) { sourcePhases_ = new com.google.protobuf.LazyStringArrayList(sourcePhases_); @@ -970,6 +1069,8 @@ private void ensureSourcePhasesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -980,14 +1081,16 @@ private void ensureSourcePhasesIsMutable() {
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourcePhases. */ - public com.google.protobuf.ProtocolStringList - getSourcePhasesList() { + public com.google.protobuf.ProtocolStringList getSourcePhasesList() { sourcePhases_.makeImmutable(); return sourcePhases_; } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -998,12 +1101,15 @@ private void ensureSourcePhasesIsMutable() {
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourcePhases. */ public int getSourcePhasesCount() { return sourcePhases_.size(); } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -1014,6 +1120,7 @@ public int getSourcePhasesCount() {
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourcePhases at the given index. */ @@ -1021,6 +1128,8 @@ public java.lang.String getSourcePhases(int index) { return sourcePhases_.get(index); } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -1031,14 +1140,16 @@ public java.lang.String getSourcePhases(int index) {
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourcePhases at the given index. */ - public com.google.protobuf.ByteString - getSourcePhasesBytes(int index) { + public com.google.protobuf.ByteString getSourcePhasesBytes(int index) { return sourcePhases_.getByteString(index); } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -1049,13 +1160,15 @@ public java.lang.String getSourcePhases(int index) {
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The sourcePhases to set. * @return This builder for chaining. */ - public Builder setSourcePhases( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourcePhases(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSourcePhasesIsMutable(); sourcePhases_.set(index, value); bitField0_ |= 0x00000002; @@ -1063,6 +1176,8 @@ public Builder setSourcePhases( return this; } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -1073,12 +1188,14 @@ public Builder setSourcePhases(
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sourcePhases to add. * @return This builder for chaining. */ - public Builder addSourcePhases( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSourcePhases(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSourcePhasesIsMutable(); sourcePhases_.add(value); bitField0_ |= 0x00000002; @@ -1086,6 +1203,8 @@ public Builder addSourcePhases( return this; } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -1096,19 +1215,20 @@ public Builder addSourcePhases(
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The sourcePhases to add. * @return This builder for chaining. */ - public Builder addAllSourcePhases( - java.lang.Iterable values) { + public Builder addAllSourcePhases(java.lang.Iterable values) { ensureSourcePhasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sourcePhases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sourcePhases_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -1119,16 +1239,19 @@ public Builder addAllSourcePhases(
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSourcePhases() { - sourcePhases_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + sourcePhases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Optional. Phases within which jobs are subject to automatic repair actions
      * on failure. Proceeds only after phase name matched any one in the list, or
@@ -1139,12 +1262,14 @@ public Builder clearSourcePhases() {
      * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the sourcePhases to add. * @return This builder for chaining. */ - public Builder addSourcePhasesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSourcePhasesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSourcePhasesIsMutable(); sourcePhases_.add(value); @@ -1155,6 +1280,7 @@ public Builder addSourcePhasesBytes( private com.google.protobuf.LazyStringArrayList jobs_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureJobsIsMutable() { if (!jobs_.isModifiable()) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); @@ -1162,6 +1288,8 @@ private void ensureJobsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1173,14 +1301,16 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { jobs_.makeImmutable(); return jobs_; } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1192,12 +1322,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1209,6 +1342,7 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1216,6 +1350,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1227,14 +1363,16 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1246,13 +1384,15 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobs(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureJobsIsMutable(); jobs_.set(index, value); bitField0_ |= 0x00000004; @@ -1260,6 +1400,8 @@ public Builder setJobs( return this; } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1271,12 +1413,14 @@ public Builder setJobs(
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addJobs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureJobsIsMutable(); jobs_.add(value); bitField0_ |= 0x00000004; @@ -1284,6 +1428,8 @@ public Builder addJobs( return this; } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1295,19 +1441,20 @@ public Builder addJobs(
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1319,16 +1466,19 @@ public Builder addAllJobs(
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearJobs() { - jobs_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + jobs_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Optional. Jobs to repair. Proceeds only after job name matched any one in
      * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -1340,12 +1490,14 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addJobsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); @@ -1355,23 +1507,31 @@ public Builder addJobsBytes( } private java.util.List repairModes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepairModesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { repairModes_ = new java.util.ArrayList(repairModes_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RepairMode, com.google.cloud.deploy.v1.RepairMode.Builder, com.google.cloud.deploy.v1.RepairModeOrBuilder> repairModesBuilder_; + com.google.cloud.deploy.v1.RepairMode, + com.google.cloud.deploy.v1.RepairMode.Builder, + com.google.cloud.deploy.v1.RepairModeOrBuilder> + repairModesBuilder_; /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getRepairModesList() { if (repairModesBuilder_ == null) { @@ -1381,11 +1541,15 @@ public java.util.List getRepairModesList( } } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRepairModesCount() { if (repairModesBuilder_ == null) { @@ -1395,11 +1559,15 @@ public int getRepairModesCount() { } } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.RepairMode getRepairModes(int index) { if (repairModesBuilder_ == null) { @@ -1409,14 +1577,17 @@ public com.google.cloud.deploy.v1.RepairMode getRepairModes(int index) { } } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRepairModes( - int index, com.google.cloud.deploy.v1.RepairMode value) { + public Builder setRepairModes(int index, com.google.cloud.deploy.v1.RepairMode value) { if (repairModesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1430,11 +1601,15 @@ public Builder setRepairModes( return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepairModes( int index, com.google.cloud.deploy.v1.RepairMode.Builder builderForValue) { @@ -1448,11 +1623,15 @@ public Builder setRepairModes( return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRepairModes(com.google.cloud.deploy.v1.RepairMode value) { if (repairModesBuilder_ == null) { @@ -1468,14 +1647,17 @@ public Builder addRepairModes(com.google.cloud.deploy.v1.RepairMode value) { return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRepairModes( - int index, com.google.cloud.deploy.v1.RepairMode value) { + public Builder addRepairModes(int index, com.google.cloud.deploy.v1.RepairMode value) { if (repairModesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1489,14 +1671,17 @@ public Builder addRepairModes( return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRepairModes( - com.google.cloud.deploy.v1.RepairMode.Builder builderForValue) { + public Builder addRepairModes(com.google.cloud.deploy.v1.RepairMode.Builder builderForValue) { if (repairModesBuilder_ == null) { ensureRepairModesIsMutable(); repairModes_.add(builderForValue.build()); @@ -1507,11 +1692,15 @@ public Builder addRepairModes( return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRepairModes( int index, com.google.cloud.deploy.v1.RepairMode.Builder builderForValue) { @@ -1525,18 +1714,21 @@ public Builder addRepairModes( return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRepairModes( java.lang.Iterable values) { if (repairModesBuilder_ == null) { ensureRepairModesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repairModes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repairModes_); onChanged(); } else { repairModesBuilder_.addAllMessages(values); @@ -1544,11 +1736,15 @@ public Builder addAllRepairModes( return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepairModes() { if (repairModesBuilder_ == null) { @@ -1561,11 +1757,15 @@ public Builder clearRepairModes() { return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRepairModes(int index) { if (repairModesBuilder_ == null) { @@ -1578,39 +1778,50 @@ public Builder removeRepairModes(int index) { return this; } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.RepairMode.Builder getRepairModesBuilder( - int index) { + public com.google.cloud.deploy.v1.RepairMode.Builder getRepairModesBuilder(int index) { return getRepairModesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.RepairModeOrBuilder getRepairModesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RepairModeOrBuilder getRepairModesOrBuilder(int index) { if (repairModesBuilder_ == null) { - return repairModes_.get(index); } else { + return repairModes_.get(index); + } else { return repairModesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRepairModesOrBuilderList() { + public java.util.List + getRepairModesOrBuilderList() { if (repairModesBuilder_ != null) { return repairModesBuilder_.getMessageOrBuilderList(); } else { @@ -1618,49 +1829,63 @@ public com.google.cloud.deploy.v1.RepairModeOrBuilder getRepairModesOrBuilder( } } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.RepairMode.Builder addRepairModesBuilder() { - return getRepairModesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.RepairMode.getDefaultInstance()); + return getRepairModesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.RepairMode.getDefaultInstance()); } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.deploy.v1.RepairMode.Builder addRepairModesBuilder( - int index) { - return getRepairModesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.RepairMode.getDefaultInstance()); + public com.google.cloud.deploy.v1.RepairMode.Builder addRepairModesBuilder(int index) { + return getRepairModesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.RepairMode.getDefaultInstance()); } /** + * + * *
      * Required. Defines the types of automatic repair actions for failed jobs.
      * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRepairModesBuilderList() { + public java.util.List + getRepairModesBuilderList() { return getRepairModesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RepairMode, com.google.cloud.deploy.v1.RepairMode.Builder, com.google.cloud.deploy.v1.RepairModeOrBuilder> + com.google.cloud.deploy.v1.RepairMode, + com.google.cloud.deploy.v1.RepairMode.Builder, + com.google.cloud.deploy.v1.RepairModeOrBuilder> getRepairModesFieldBuilder() { if (repairModesBuilder_ == null) { - repairModesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RepairMode, com.google.cloud.deploy.v1.RepairMode.Builder, com.google.cloud.deploy.v1.RepairModeOrBuilder>( - repairModes_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + repairModesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.RepairMode, + com.google.cloud.deploy.v1.RepairMode.Builder, + com.google.cloud.deploy.v1.RepairModeOrBuilder>( + repairModes_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); repairModes_ = null; } return repairModesBuilder_; @@ -1668,39 +1893,58 @@ public com.google.cloud.deploy.v1.RepairMode.Builder addRepairModesBuilder( private com.google.cloud.deploy.v1.AutomationRuleCondition condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> conditionBuilder_; + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> + conditionBuilder_; /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ public boolean hasCondition() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ public com.google.cloud.deploy.v1.AutomationRuleCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } else { return conditionBuilder_.getMessage(); } } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition(com.google.cloud.deploy.v1.AutomationRuleCondition value) { if (conditionBuilder_ == null) { @@ -1716,11 +1960,15 @@ public Builder setCondition(com.google.cloud.deploy.v1.AutomationRuleCondition v return this; } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCondition( com.google.cloud.deploy.v1.AutomationRuleCondition.Builder builderForValue) { @@ -1734,17 +1982,22 @@ public Builder setCondition( return this; } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCondition(com.google.cloud.deploy.v1.AutomationRuleCondition value) { if (conditionBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - condition_ != null && - condition_ != com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && condition_ != null + && condition_ + != com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance()) { getConditionBuilder().mergeFrom(value); } else { condition_ = value; @@ -1757,11 +2010,15 @@ public Builder mergeCondition(com.google.cloud.deploy.v1.AutomationRuleCondition return this; } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCondition() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1774,11 +2031,15 @@ public Builder clearCondition() { return this; } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRuleCondition.Builder getConditionBuilder() { bitField0_ |= 0x00000010; @@ -1786,43 +2047,55 @@ public com.google.cloud.deploy.v1.AutomationRuleCondition.Builder getConditionBu return getConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { - return condition_ == null ? - com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.cloud.deploy.v1.AutomationRuleCondition.getDefaultInstance() + : condition_; } } /** + * + * *
      * Output only. Information around the state of the 'Automation' rule.
      * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { - conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AutomationRuleCondition, com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder>( - getCondition(), - getParentForChildren(), - isClean()); + conditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AutomationRuleCondition, + com.google.cloud.deploy.v1.AutomationRuleCondition.Builder, + com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder>( + getCondition(), getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1832,12 +2105,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RepairRolloutRule) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RepairRolloutRule) private static final com.google.cloud.deploy.v1.RepairRolloutRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RepairRolloutRule(); } @@ -1846,27 +2119,27 @@ public static com.google.cloud.deploy.v1.RepairRolloutRule getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepairRolloutRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepairRolloutRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1881,6 +2154,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RepairRolloutRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRuleOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRuleOrBuilder.java similarity index 77% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRuleOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRuleOrBuilder.java index 8524115f6a93..2cabe273af91 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRuleOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairRolloutRuleOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RepairRolloutRuleOrBuilder extends +public interface RepairRolloutRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RepairRolloutRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Required. ID of the rule. This id must be unique in the `Automation`
    * resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -40,11 +63,13 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourcePhases. */ - java.util.List - getSourcePhasesList(); + java.util.List getSourcePhasesList(); /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -55,10 +80,13 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourcePhases. */ int getSourcePhasesCount(); /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -69,11 +97,14 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourcePhases at the given index. */ java.lang.String getSourcePhases(int index); /** + * + * *
    * Optional. Phases within which jobs are subject to automatic repair actions
    * on failure. Proceeds only after phase name matched any one in the list, or
@@ -84,13 +115,15 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourcePhases at the given index. */ - com.google.protobuf.ByteString - getSourcePhasesBytes(int index); + com.google.protobuf.ByteString getSourcePhasesBytes(int index); /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -102,11 +135,13 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the jobs. */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -118,10 +153,13 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of jobs. */ int getJobsCount(); /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -133,11 +171,14 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** + * + * *
    * Optional. Jobs to repair. Proceeds only after job name matched any one in
    * the list, or for all jobs if unspecified or empty. The phase that includes
@@ -149,80 +190,112 @@ public interface RepairRolloutRuleOrBuilder extends
    * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString - getJobsBytes(int index); + com.google.protobuf.ByteString getJobsBytes(int index); /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRepairModesList(); + java.util.List getRepairModesList(); /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.RepairMode getRepairModes(int index); /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRepairModesCount(); /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRepairModesOrBuilderList(); /** + * + * *
    * Required. Defines the types of automatic repair actions for failed jobs.
    * 
* - * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.deploy.v1.RepairModeOrBuilder getRepairModesOrBuilder( - int index); + com.google.cloud.deploy.v1.RepairModeOrBuilder getRepairModesOrBuilder(int index); /** + * + * *
    * Output only. Information around the state of the 'Automation' rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * Output only. Information around the state of the 'Automation' rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The condition. */ com.google.cloud.deploy.v1.AutomationRuleCondition getCondition(); /** + * + * *
    * Output only. Information around the state of the 'Automation' rule.
    * 
* - * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairState.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairState.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairState.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairState.java index b5b101fc1389..981031c9839f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairState.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairState.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Valid state of a repair attempt.
  * 
* * Protobuf enum {@code google.cloud.deploy.v1.RepairState} */ -public enum RepairState - implements com.google.protobuf.ProtocolMessageEnum { +public enum RepairState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The `repair` has an unspecified state.
    * 
@@ -21,6 +39,8 @@ public enum RepairState */ REPAIR_STATE_UNSPECIFIED(0), /** + * + * *
    * The `repair` action has succeeded.
    * 
@@ -29,6 +49,8 @@ public enum RepairState */ REPAIR_STATE_SUCCEEDED(1), /** + * + * *
    * The `repair` action was cancelled.
    * 
@@ -37,6 +59,8 @@ public enum RepairState */ REPAIR_STATE_CANCELLED(2), /** + * + * *
    * The `repair` action has failed.
    * 
@@ -45,6 +69,8 @@ public enum RepairState */ REPAIR_STATE_FAILED(3), /** + * + * *
    * The `repair` action is in progress.
    * 
@@ -53,6 +79,8 @@ public enum RepairState */ REPAIR_STATE_IN_PROGRESS(4), /** + * + * *
    * The `repair` action is pending.
    * 
@@ -61,6 +89,8 @@ public enum RepairState */ REPAIR_STATE_PENDING(5), /** + * + * *
    * The `repair` action was skipped.
    * 
@@ -72,6 +102,8 @@ public enum RepairState ; /** + * + * *
    * The `repair` has an unspecified state.
    * 
@@ -80,6 +112,8 @@ public enum RepairState */ public static final int REPAIR_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The `repair` action has succeeded.
    * 
@@ -88,6 +122,8 @@ public enum RepairState */ public static final int REPAIR_STATE_SUCCEEDED_VALUE = 1; /** + * + * *
    * The `repair` action was cancelled.
    * 
@@ -96,6 +132,8 @@ public enum RepairState */ public static final int REPAIR_STATE_CANCELLED_VALUE = 2; /** + * + * *
    * The `repair` action has failed.
    * 
@@ -104,6 +142,8 @@ public enum RepairState */ public static final int REPAIR_STATE_FAILED_VALUE = 3; /** + * + * *
    * The `repair` action is in progress.
    * 
@@ -112,6 +152,8 @@ public enum RepairState */ public static final int REPAIR_STATE_IN_PROGRESS_VALUE = 4; /** + * + * *
    * The `repair` action is pending.
    * 
@@ -120,6 +162,8 @@ public enum RepairState */ public static final int REPAIR_STATE_PENDING_VALUE = 5; /** + * + * *
    * The `repair` action was skipped.
    * 
@@ -128,7 +172,6 @@ public enum RepairState */ public static final int REPAIR_STATE_SKIPPED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -153,53 +196,57 @@ public static RepairState valueOf(int value) { */ public static RepairState forNumber(int value) { switch (value) { - case 0: return REPAIR_STATE_UNSPECIFIED; - case 1: return REPAIR_STATE_SUCCEEDED; - case 2: return REPAIR_STATE_CANCELLED; - case 3: return REPAIR_STATE_FAILED; - case 4: return REPAIR_STATE_IN_PROGRESS; - case 5: return REPAIR_STATE_PENDING; - case 6: return REPAIR_STATE_SKIPPED; - default: return null; + case 0: + return REPAIR_STATE_UNSPECIFIED; + case 1: + return REPAIR_STATE_SUCCEEDED; + case 2: + return REPAIR_STATE_CANCELLED; + case 3: + return REPAIR_STATE_FAILED; + case 4: + return REPAIR_STATE_IN_PROGRESS; + case 5: + return REPAIR_STATE_PENDING; + case 6: + return REPAIR_STATE_SKIPPED; + 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< - RepairState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RepairState findValueByNumber(int number) { - return RepairState.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 RepairState findValueByNumber(int number) { + return RepairState.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor().getEnumTypes().get(2); } private static final RepairState[] VALUES = values(); - public static RepairState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RepairState 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; @@ -215,4 +262,3 @@ private RepairState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.deploy.v1.RepairState) } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Retry.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Retry.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Retry.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Retry.java index e7e06361737a..3ddb6769a619 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Retry.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Retry.java @@ -1,44 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Retries the failed job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Retry} */ -public final class Retry extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Retry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Retry) RetryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Retry.newBuilder() to construct. private Retry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Retry() { backoffMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Retry(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Retry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Retry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.deploy.v1.Retry.class, com.google.cloud.deploy.v1.Retry.Builder.class); } @@ -46,12 +64,15 @@ protected java.lang.Object newInstance( public static final int ATTEMPTS_FIELD_NUMBER = 1; private long attempts_ = 0L; /** + * + * *
    * Required. Total number of retries. Retry is skipped if set to 0; The
    * minimum value is 1, and the maximum value is 10.
    * 
* * int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attempts. */ @java.lang.Override @@ -62,12 +83,15 @@ public long getAttempts() { public static final int WAIT_FIELD_NUMBER = 2; private com.google.protobuf.Duration wait_; /** + * + * *
    * Optional. How long to wait for the first retry. Default is 0, and the
    * maximum value is 14d.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ @java.lang.Override @@ -75,12 +99,15 @@ public boolean hasWait() { return wait_ != null; } /** + * + * *
    * Optional. How long to wait for the first retry. Default is 0, and the
    * maximum value is 14d.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ @java.lang.Override @@ -88,6 +115,8 @@ public com.google.protobuf.Duration getWait() { return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } /** + * + * *
    * Optional. How long to wait for the first retry. Default is 0, and the
    * maximum value is 14d.
@@ -103,32 +132,46 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
   public static final int BACKOFF_MODE_FIELD_NUMBER = 3;
   private int backoffMode_ = 0;
   /**
+   *
+   *
    * 
    * Optional. The pattern of how wait time will be increased. Default is
    * linear. Backoff mode will be ignored if `wait` is 0.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for backoffMode. */ - @java.lang.Override public int getBackoffModeValue() { + @java.lang.Override + public int getBackoffModeValue() { return backoffMode_; } /** + * + * *
    * Optional. The pattern of how wait time will be increased. Default is
    * linear. Backoff mode will be ignored if `wait` is 0.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The backoffMode. */ - @java.lang.Override public com.google.cloud.deploy.v1.BackoffMode getBackoffMode() { - com.google.cloud.deploy.v1.BackoffMode result = com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); + @java.lang.Override + public com.google.cloud.deploy.v1.BackoffMode getBackoffMode() { + com.google.cloud.deploy.v1.BackoffMode result = + com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); return result == null ? com.google.cloud.deploy.v1.BackoffMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,15 +183,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 (attempts_ != 0L) { output.writeInt64(1, attempts_); } if (wait_ != null) { output.writeMessage(2, getWait()); } - if (backoffMode_ != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { + if (backoffMode_ + != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, backoffMode_); } getUnknownFields().writeTo(output); @@ -161,16 +204,14 @@ public int getSerializedSize() { size = 0; if (attempts_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, attempts_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, attempts_); } if (wait_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWait()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWait()); } - if (backoffMode_ != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, backoffMode_); + if (backoffMode_ + != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, backoffMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +221,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.cloud.deploy.v1.Retry)) { return super.equals(obj); } com.google.cloud.deploy.v1.Retry other = (com.google.cloud.deploy.v1.Retry) obj; - if (getAttempts() - != other.getAttempts()) return false; + if (getAttempts() != other.getAttempts()) return false; if (hasWait() != other.hasWait()) return false; if (hasWait()) { - if (!getWait() - .equals(other.getWait())) return false; + if (!getWait().equals(other.getWait())) return false; } if (backoffMode_ != other.backoffMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -207,8 +246,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAttempts()); if (hasWait()) { hash = (37 * hash) + WAIT_FIELD_NUMBER; hash = (53 * hash) + getWait().hashCode(); @@ -220,132 +258,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Retry parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Retry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Retry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Retry parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Retry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Retry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Retry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Retry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Retry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Retry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Retry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Retry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Retry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Retry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Retry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retries the failed job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Retry} */ - 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.cloud.deploy.v1.Retry) com.google.cloud.deploy.v1.RetryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Retry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Retry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Retry.class, com.google.cloud.deploy.v1.Retry.Builder.class); + com.google.cloud.deploy.v1.Retry.class, + com.google.cloud.deploy.v1.Retry.Builder.class); } // Construct using com.google.cloud.deploy.v1.Retry.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -361,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Retry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Retry_descriptor; } @java.lang.Override @@ -383,7 +424,9 @@ public com.google.cloud.deploy.v1.Retry build() { @java.lang.Override public com.google.cloud.deploy.v1.Retry buildPartial() { com.google.cloud.deploy.v1.Retry result = new com.google.cloud.deploy.v1.Retry(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -394,9 +437,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.Retry result) { result.attempts_ = attempts_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.wait_ = waitBuilder_ == null - ? wait_ - : waitBuilder_.build(); + result.wait_ = waitBuilder_ == null ? wait_ : waitBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.backoffMode_ = backoffMode_; @@ -407,38 +448,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Retry result) { 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) { + 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) { + 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.cloud.deploy.v1.Retry) { - return mergeFrom((com.google.cloud.deploy.v1.Retry)other); + return mergeFrom((com.google.cloud.deploy.v1.Retry) other); } else { super.mergeFrom(other); return this; @@ -482,29 +524,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - attempts_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getWaitFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - backoffMode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + attempts_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getWaitFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + backoffMode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,16 +558,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long attempts_ ; + private long attempts_; /** + * + * *
      * Required. Total number of retries. Retry is skipped if set to 0; The
      * minimum value is 1, and the maximum value is 10.
      * 
* * int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attempts. */ @java.lang.Override @@ -531,12 +579,15 @@ public long getAttempts() { return attempts_; } /** + * + * *
      * Required. Total number of retries. Retry is skipped if set to 0; The
      * minimum value is 1, and the maximum value is 10.
      * 
* * int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The attempts to set. * @return This builder for chaining. */ @@ -548,12 +599,15 @@ public Builder setAttempts(long value) { return this; } /** + * + * *
      * Required. Total number of retries. Retry is skipped if set to 0; The
      * minimum value is 1, and the maximum value is 10.
      * 
* * int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAttempts() { @@ -565,26 +619,35 @@ public Builder clearAttempts() { private com.google.protobuf.Duration wait_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> waitBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + waitBuilder_; /** + * + * *
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ public boolean hasWait() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ public com.google.protobuf.Duration getWait() { @@ -595,6 +658,8 @@ public com.google.protobuf.Duration getWait() { } } /** + * + * *
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
@@ -616,6 +681,8 @@ public Builder setWait(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
@@ -623,8 +690,7 @@ public Builder setWait(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder setWait(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setWait(com.google.protobuf.Duration.Builder builderForValue) {
       if (waitBuilder_ == null) {
         wait_ = builderForValue.build();
       } else {
@@ -635,6 +701,8 @@ public Builder setWait(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
@@ -644,9 +712,9 @@ public Builder setWait(
      */
     public Builder mergeWait(com.google.protobuf.Duration value) {
       if (waitBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          wait_ != null &&
-          wait_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && wait_ != null
+            && wait_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getWaitBuilder().mergeFrom(value);
         } else {
           wait_ = value;
@@ -659,6 +727,8 @@ public Builder mergeWait(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
@@ -677,6 +747,8 @@ public Builder clearWait() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
@@ -690,6 +762,8 @@ public com.google.protobuf.Duration.Builder getWaitBuilder() {
       return getWaitFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
@@ -701,11 +775,12 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
       if (waitBuilder_ != null) {
         return waitBuilder_.getMessageOrBuilder();
       } else {
-        return wait_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : wait_;
+        return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional. How long to wait for the first retry. Default is 0, and the
      * maximum value is 14d.
@@ -714,14 +789,17 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
      * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
      */
     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>
         getWaitFieldBuilder() {
       if (waitBuilder_ == null) {
-        waitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getWait(),
-                getParentForChildren(),
-                isClean());
+        waitBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getWait(), getParentForChildren(), isClean());
         wait_ = null;
       }
       return waitBuilder_;
@@ -729,24 +807,35 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() {
 
     private int backoffMode_ = 0;
     /**
+     *
+     *
      * 
      * Optional. The pattern of how wait time will be increased. Default is
      * linear. Backoff mode will be ignored if `wait` is 0.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for backoffMode. */ - @java.lang.Override public int getBackoffModeValue() { + @java.lang.Override + public int getBackoffModeValue() { return backoffMode_; } /** + * + * *
      * Optional. The pattern of how wait time will be increased. Default is
      * linear. Backoff mode will be ignored if `wait` is 0.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for backoffMode to set. * @return This builder for chaining. */ @@ -757,26 +846,37 @@ public Builder setBackoffModeValue(int value) { return this; } /** + * + * *
      * Optional. The pattern of how wait time will be increased. Default is
      * linear. Backoff mode will be ignored if `wait` is 0.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The backoffMode. */ @java.lang.Override public com.google.cloud.deploy.v1.BackoffMode getBackoffMode() { - com.google.cloud.deploy.v1.BackoffMode result = com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); + com.google.cloud.deploy.v1.BackoffMode result = + com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); return result == null ? com.google.cloud.deploy.v1.BackoffMode.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The pattern of how wait time will be increased. Default is
      * linear. Backoff mode will be ignored if `wait` is 0.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The backoffMode to set. * @return This builder for chaining. */ @@ -790,12 +890,17 @@ public Builder setBackoffMode(com.google.cloud.deploy.v1.BackoffMode value) { return this; } /** + * + * *
      * Optional. The pattern of how wait time will be increased. Default is
      * linear. Backoff mode will be ignored if `wait` is 0.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearBackoffMode() { @@ -804,9 +909,9 @@ public Builder clearBackoffMode() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,12 +921,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Retry) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Retry) private static final com.google.cloud.deploy.v1.Retry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Retry(); } @@ -830,27 +935,27 @@ public static com.google.cloud.deploy.v1.Retry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Retry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Retry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Retry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttempt.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttempt.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttempt.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttempt.java index 95f65d21695d..847aed074dc1 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttempt.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttempt.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * RetryAttempt represents an action of retrying the failed Cloud Deploy job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RetryAttempt} */ -public final class RetryAttempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetryAttempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RetryAttempt) RetryAttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetryAttempt.newBuilder() to construct. private RetryAttempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetryAttempt() { state_ = 0; stateDesc_ = ""; @@ -26,32 +44,36 @@ private RetryAttempt() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetryAttempt(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RetryAttempt.class, com.google.cloud.deploy.v1.RetryAttempt.Builder.class); + com.google.cloud.deploy.v1.RetryAttempt.class, + com.google.cloud.deploy.v1.RetryAttempt.Builder.class); } public static final int ATTEMPT_FIELD_NUMBER = 1; private long attempt_ = 0L; /** + * + * *
    * Output only. The index of this retry attempt.
    * 
* * int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attempt. */ @java.lang.Override @@ -62,11 +84,14 @@ public long getAttempt() { public static final int WAIT_FIELD_NUMBER = 2; private com.google.protobuf.Duration wait_; /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ @java.lang.Override @@ -74,11 +99,14 @@ public boolean hasWait() { return wait_ != null; } /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ @java.lang.Override @@ -86,6 +114,8 @@ public com.google.protobuf.Duration getWait() { return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } /** + * + * *
    * Output only. How long the operation will be paused.
    * 
@@ -100,38 +130,55 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * Output only. Valid state of this retry action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.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. Valid state of this retry action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.deploy.v1.RepairState getState() { - com.google.cloud.deploy.v1.RepairState result = com.google.cloud.deploy.v1.RepairState.forNumber(state_); + @java.lang.Override + public com.google.cloud.deploy.v1.RepairState getState() { + com.google.cloud.deploy.v1.RepairState result = + com.google.cloud.deploy.v1.RepairState.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.RepairState.UNRECOGNIZED : result; } public static final int STATE_DESC_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object stateDesc_ = ""; /** + * + * *
    * Output only. Description of the state of the Retry.
    * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDesc. */ @java.lang.Override @@ -140,29 +187,29 @@ public java.lang.String getStateDesc() { 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(); stateDesc_ = s; return s; } } /** + * + * *
    * Output only. Description of the state of the Retry.
    * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDesc. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDescBytes() { + public com.google.protobuf.ByteString getStateDescBytes() { java.lang.Object ref = stateDesc_; 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); stateDesc_ = b; return b; } else { @@ -171,6 +218,7 @@ public java.lang.String getStateDesc() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +230,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 (attempt_ != 0L) { output.writeInt64(1, attempt_); } @@ -206,16 +253,13 @@ public int getSerializedSize() { size = 0; if (attempt_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, attempt_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, attempt_); } if (wait_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWait()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWait()); } if (state_ != com.google.cloud.deploy.v1.RepairState.REPAIR_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDesc_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, stateDesc_); @@ -228,23 +272,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.cloud.deploy.v1.RetryAttempt)) { return super.equals(obj); } com.google.cloud.deploy.v1.RetryAttempt other = (com.google.cloud.deploy.v1.RetryAttempt) obj; - if (getAttempt() - != other.getAttempt()) return false; + if (getAttempt() != other.getAttempt()) return false; if (hasWait() != other.hasWait()) return false; if (hasWait()) { - if (!getWait() - .equals(other.getWait())) return false; + if (!getWait().equals(other.getWait())) return false; } if (state_ != other.state_) return false; - if (!getStateDesc() - .equals(other.getStateDesc())) return false; + if (!getStateDesc().equals(other.getStateDesc())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -257,8 +298,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ATTEMPT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAttempt()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAttempt()); if (hasWait()) { hash = (37 * hash) + WAIT_FIELD_NUMBER; hash = (53 * hash) + getWait().hashCode(); @@ -272,132 +312,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RetryAttempt parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RetryAttempt parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RetryAttempt parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryAttempt parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RetryAttempt prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RetryAttempt represents an action of retrying the failed Cloud Deploy job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RetryAttempt} */ - 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.cloud.deploy.v1.RetryAttempt) com.google.cloud.deploy.v1.RetryAttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RetryAttempt.class, com.google.cloud.deploy.v1.RetryAttempt.Builder.class); + com.google.cloud.deploy.v1.RetryAttempt.class, + com.google.cloud.deploy.v1.RetryAttempt.Builder.class); } // Construct using com.google.cloud.deploy.v1.RetryAttempt.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +458,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; } @java.lang.Override @@ -435,8 +479,11 @@ public com.google.cloud.deploy.v1.RetryAttempt build() { @java.lang.Override public com.google.cloud.deploy.v1.RetryAttempt buildPartial() { - com.google.cloud.deploy.v1.RetryAttempt result = new com.google.cloud.deploy.v1.RetryAttempt(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RetryAttempt result = + new com.google.cloud.deploy.v1.RetryAttempt(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,9 +494,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.RetryAttempt result) { result.attempt_ = attempt_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.wait_ = waitBuilder_ == null - ? wait_ - : waitBuilder_.build(); + result.wait_ = waitBuilder_ == null ? wait_ : waitBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.state_ = state_; @@ -463,38 +508,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RetryAttempt result) { 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) { + 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) { + 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.cloud.deploy.v1.RetryAttempt) { - return mergeFrom((com.google.cloud.deploy.v1.RetryAttempt)other); + return mergeFrom((com.google.cloud.deploy.v1.RetryAttempt) other); } else { super.mergeFrom(other); return this; @@ -543,34 +589,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - attempt_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getWaitFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 40: { - state_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 40 - case 50: { - stateDesc_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + attempt_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getWaitFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 40: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 50: + { + stateDesc_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -580,15 +629,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long attempt_ ; + private long attempt_; /** + * + * *
      * Output only. The index of this retry attempt.
      * 
* * int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attempt. */ @java.lang.Override @@ -596,11 +649,14 @@ public long getAttempt() { return attempt_; } /** + * + * *
      * Output only. The index of this retry attempt.
      * 
* * int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The attempt to set. * @return This builder for chaining. */ @@ -612,11 +668,14 @@ public Builder setAttempt(long value) { return this; } /** + * + * *
      * Output only. The index of this retry attempt.
      * 
* * int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAttempt() { @@ -628,24 +687,33 @@ public Builder clearAttempt() { private com.google.protobuf.Duration wait_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> waitBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + waitBuilder_; /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ public boolean hasWait() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ public com.google.protobuf.Duration getWait() { @@ -656,6 +724,8 @@ public com.google.protobuf.Duration getWait() { } } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -676,14 +746,15 @@ public Builder setWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setWait( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setWait(com.google.protobuf.Duration.Builder builderForValue) { if (waitBuilder_ == null) { wait_ = builderForValue.build(); } else { @@ -694,6 +765,8 @@ public Builder setWait( return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -702,9 +775,9 @@ public Builder setWait( */ public Builder mergeWait(com.google.protobuf.Duration value) { if (waitBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - wait_ != null && - wait_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && wait_ != null + && wait_ != com.google.protobuf.Duration.getDefaultInstance()) { getWaitBuilder().mergeFrom(value); } else { wait_ = value; @@ -717,6 +790,8 @@ public Builder mergeWait(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -734,6 +809,8 @@ public Builder clearWait() { return this; } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -746,6 +823,8 @@ public com.google.protobuf.Duration.Builder getWaitBuilder() { return getWaitFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -756,11 +835,12 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { if (waitBuilder_ != null) { return waitBuilder_.getMessageOrBuilder(); } else { - return wait_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : wait_; + return wait_ == null ? com.google.protobuf.Duration.getDefaultInstance() : wait_; } } /** + * + * *
      * Output only. How long the operation will be paused.
      * 
@@ -768,14 +848,17 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getWaitFieldBuilder() { if (waitBuilder_ == null) { - waitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getWait(), - getParentForChildren(), - isClean()); + waitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getWait(), getParentForChildren(), isClean()); wait_ = null; } return waitBuilder_; @@ -783,22 +866,33 @@ public com.google.protobuf.DurationOrBuilder getWaitOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. Valid state of this retry action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.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. Valid state of this retry action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -809,24 +903,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Valid state of this retry action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.deploy.v1.RepairState getState() { - com.google.cloud.deploy.v1.RepairState result = com.google.cloud.deploy.v1.RepairState.forNumber(state_); + com.google.cloud.deploy.v1.RepairState result = + com.google.cloud.deploy.v1.RepairState.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.RepairState.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Valid state of this retry action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -840,11 +945,16 @@ public Builder setState(com.google.cloud.deploy.v1.RepairState value) { return this; } /** + * + * *
      * Output only. Valid state of this retry action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -856,18 +966,20 @@ public Builder clearState() { private java.lang.Object stateDesc_ = ""; /** + * + * *
      * Output only. Description of the state of the Retry.
      * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDesc. */ public java.lang.String getStateDesc() { java.lang.Object ref = stateDesc_; 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(); stateDesc_ = s; return s; @@ -876,20 +988,21 @@ public java.lang.String getStateDesc() { } } /** + * + * *
      * Output only. Description of the state of the Retry.
      * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDesc. */ - public com.google.protobuf.ByteString - getStateDescBytes() { + public com.google.protobuf.ByteString getStateDescBytes() { java.lang.Object ref = stateDesc_; 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); stateDesc_ = b; return b; } else { @@ -897,28 +1010,35 @@ public java.lang.String getStateDesc() { } } /** + * + * *
      * Output only. Description of the state of the Retry.
      * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateDesc to set. * @return This builder for chaining. */ - public Builder setStateDesc( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDesc(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } stateDesc_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Description of the state of the Retry.
      * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateDesc() { @@ -928,26 +1048,30 @@ public Builder clearStateDesc() { return this; } /** + * + * *
      * Output only. Description of the state of the Retry.
      * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateDesc to set. * @return This builder for chaining. */ - public Builder setStateDescBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDescBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); stateDesc_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -957,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RetryAttempt) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RetryAttempt) private static final com.google.cloud.deploy.v1.RetryAttempt DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RetryAttempt(); } @@ -971,27 +1095,27 @@ public static com.google.cloud.deploy.v1.RetryAttempt getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryAttempt parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryAttempt parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1130,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RetryAttempt getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttemptOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttemptOrBuilder.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttemptOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttemptOrBuilder.java index 72396344667b..b5b66725d9c2 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttemptOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryAttemptOrBuilder.java @@ -1,41 +1,68 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RetryAttemptOrBuilder extends +public interface RetryAttemptOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RetryAttempt) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The index of this retry attempt.
    * 
* * int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The attempt. */ long getAttempt(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the wait field is set. */ boolean hasWait(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The wait. */ com.google.protobuf.Duration getWait(); /** + * + * *
    * Output only. How long the operation will be paused.
    * 
@@ -45,41 +72,56 @@ public interface RetryAttemptOrBuilder extends com.google.protobuf.DurationOrBuilder getWaitOrBuilder(); /** + * + * *
    * Output only. Valid state of this retry action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Valid state of this retry action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.deploy.v1.RepairState getState(); /** + * + * *
    * Output only. Description of the state of the Retry.
    * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDesc. */ java.lang.String getStateDesc(); /** + * + * *
    * Output only. Description of the state of the Retry.
    * 
* * string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDesc. */ - com.google.protobuf.ByteString - getStateDescBytes(); + com.google.protobuf.ByteString getStateDescBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequest.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequest.java index 985ee198b9fc..ded277bcdfe3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * RetryJobRequest is the request object used by `RetryJob`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RetryJobRequest} */ -public final class RetryJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetryJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RetryJobRequest) RetryJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetryJobRequest.newBuilder() to construct. private RetryJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetryJobRequest() { rollout_ = ""; phaseId_ = ""; @@ -27,34 +45,41 @@ private RetryJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetryJobRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RetryJobRequest.class, com.google.cloud.deploy.v1.RetryJobRequest.Builder.class); + com.google.cloud.deploy.v1.RetryJobRequest.class, + com.google.cloud.deploy.v1.RetryJobRequest.Builder.class); } public static final int ROLLOUT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The rollout. */ @java.lang.Override @@ -63,30 +88,32 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -95,14 +122,18 @@ public java.lang.String getRollout() { } public static final int PHASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object phaseId_ = ""; /** + * + * *
    * Required. The phase ID the Job to retry belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ @java.lang.Override @@ -111,29 +142,29 @@ public java.lang.String getPhaseId() { 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(); phaseId_ = s; return s; } } /** + * + * *
    * Required. The phase ID the Job to retry belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -142,14 +173,18 @@ public java.lang.String getPhaseId() { } public static final int JOB_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * Required. The job ID for the Job to retry.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobId. */ @java.lang.Override @@ -158,29 +193,29 @@ public java.lang.String getJobId() { 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(); jobId_ = s; return s; } } /** + * + * *
    * Required. The job ID for the Job to retry.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobId. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -189,6 +224,7 @@ public java.lang.String getJobId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +236,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(rollout_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rollout_); } @@ -237,19 +272,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.cloud.deploy.v1.RetryJobRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RetryJobRequest other = (com.google.cloud.deploy.v1.RetryJobRequest) obj; + com.google.cloud.deploy.v1.RetryJobRequest other = + (com.google.cloud.deploy.v1.RetryJobRequest) obj; - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getPhaseId() - .equals(other.getPhaseId())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getPhaseId().equals(other.getPhaseId())) return false; + if (!getJobId().equals(other.getJobId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,132 +305,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RetryJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RetryJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RetryJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RetryJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RetryJobRequest is the request object used by `RetryJob`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RetryJobRequest} */ - 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.cloud.deploy.v1.RetryJobRequest) com.google.cloud.deploy.v1.RetryJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RetryJobRequest.class, com.google.cloud.deploy.v1.RetryJobRequest.Builder.class); + com.google.cloud.deploy.v1.RetryJobRequest.class, + com.google.cloud.deploy.v1.RetryJobRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.RetryJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; } @java.lang.Override @@ -430,8 +467,11 @@ public com.google.cloud.deploy.v1.RetryJobRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.RetryJobRequest buildPartial() { - com.google.cloud.deploy.v1.RetryJobRequest result = new com.google.cloud.deploy.v1.RetryJobRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RetryJobRequest result = + new com.google.cloud.deploy.v1.RetryJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -453,38 +493,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RetryJobRequest result) { 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) { + 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) { + 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.cloud.deploy.v1.RetryJobRequest) { - return mergeFrom((com.google.cloud.deploy.v1.RetryJobRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.RetryJobRequest) other); } else { super.mergeFrom(other); return this; @@ -534,27 +575,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rollout_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - phaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - jobId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rollout_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + phaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + jobId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,23 +609,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object rollout_ = ""; /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -589,21 +639,24 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -611,30 +664,41 @@ public java.lang.String getRollout() { } } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -644,18 +708,24 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Required. Name of the Rollout. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000001; @@ -665,18 +735,20 @@ public Builder setRolloutBytes( private java.lang.Object phaseId_ = ""; /** + * + * *
      * Required. The phase ID the Job to retry belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ public java.lang.String getPhaseId() { java.lang.Object ref = phaseId_; 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(); phaseId_ = s; return s; @@ -685,20 +757,21 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Required. The phase ID the Job to retry belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -706,28 +779,35 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Required. The phase ID the Job to retry belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The phase ID the Job to retry belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPhaseId() { @@ -737,17 +817,21 @@ public Builder clearPhaseId() { return this; } /** + * + * *
      * Required. The phase ID the Job to retry belongs to.
      * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phaseId_ = value; bitField0_ |= 0x00000002; @@ -757,18 +841,20 @@ public Builder setPhaseIdBytes( private java.lang.Object jobId_ = ""; /** + * + * *
      * Required. The job ID for the Job to retry.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; @@ -777,20 +863,21 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Required. The job ID for the Job to retry.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobId. */ - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -798,28 +885,35 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Required. The job ID for the Job to retry.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The job ID for the Job to retry.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -829,26 +923,30 @@ public Builder clearJobId() { return this; } /** + * + * *
      * Required. The job ID for the Job to retry.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -858,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RetryJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RetryJobRequest) private static final com.google.cloud.deploy.v1.RetryJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RetryJobRequest(); } @@ -872,27 +970,27 @@ public static com.google.cloud.deploy.v1.RetryJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -907,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RetryJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequestOrBuilder.java index ce14d926c9cf..88f990cdff6f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobRequestOrBuilder.java @@ -1,71 +1,106 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RetryJobRequestOrBuilder extends +public interface RetryJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RetryJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * Required. Name of the Rollout. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * 
* - * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * Required. The phase ID the Job to retry belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phaseId. */ java.lang.String getPhaseId(); /** + * + * *
    * Required. The phase ID the Job to retry belongs to.
    * 
* * string phase_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phaseId. */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + com.google.protobuf.ByteString getPhaseIdBytes(); /** + * + * *
    * Required. The job ID for the Job to retry.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * Required. The job ID for the Job to retry.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponse.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponse.java index e7ed971c5347..adf430ee126f 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from 'RetryJob'.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RetryJobResponse} */ -public final class RetryJobResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetryJobResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RetryJobResponse) RetryJobResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetryJobResponse.newBuilder() to construct. private RetryJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetryJobResponse() { - } + + private RetryJobResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetryJobResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RetryJobResponse.class, com.google.cloud.deploy.v1.RetryJobResponse.Builder.class); + com.google.cloud.deploy.v1.RetryJobResponse.class, + com.google.cloud.deploy.v1.RetryJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.RetryJobResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RetryJobResponse other = (com.google.cloud.deploy.v1.RetryJobResponse) obj; + com.google.cloud.deploy.v1.RetryJobResponse other = + (com.google.cloud.deploy.v1.RetryJobResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -96,132 +115,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RetryJobResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RetryJobResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RetryJobResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryJobResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RetryJobResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from 'RetryJob'.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RetryJobResponse} */ - 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.cloud.deploy.v1.RetryJobResponse) com.google.cloud.deploy.v1.RetryJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RetryJobResponse.class, com.google.cloud.deploy.v1.RetryJobResponse.Builder.class); + com.google.cloud.deploy.v1.RetryJobResponse.class, + com.google.cloud.deploy.v1.RetryJobResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.RetryJobResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.RetryJobResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.RetryJobResponse buildPartial() { - com.google.cloud.deploy.v1.RetryJobResponse result = new com.google.cloud.deploy.v1.RetryJobResponse(this); + com.google.cloud.deploy.v1.RetryJobResponse result = + new com.google.cloud.deploy.v1.RetryJobResponse(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.RetryJobResponse 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) { + 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) { + 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.cloud.deploy.v1.RetryJobResponse) { - return mergeFrom((com.google.cloud.deploy.v1.RetryJobResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.RetryJobResponse) other); } else { super.mergeFrom(other); return this; @@ -325,12 +350,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +366,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +378,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RetryJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RetryJobResponse) private static final com.google.cloud.deploy.v1.RetryJobResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RetryJobResponse(); } @@ -366,27 +392,27 @@ public static com.google.cloud.deploy.v1.RetryJobResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +427,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RetryJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponseOrBuilder.java new file mode 100644 index 000000000000..4df312710101 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface RetryJobResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RetryJobResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryOrBuilder.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryOrBuilder.java index 3d2ff3520c36..ddcbab63467e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryOrBuilder.java @@ -1,44 +1,71 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RetryOrBuilder extends +public interface RetryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Retry) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Total number of retries. Retry is skipped if set to 0; The
    * minimum value is 1, and the maximum value is 10.
    * 
* * int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attempts. */ long getAttempts(); /** + * + * *
    * Optional. How long to wait for the first retry. Default is 0, and the
    * maximum value is 14d.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the wait field is set. */ boolean hasWait(); /** + * + * *
    * Optional. How long to wait for the first retry. Default is 0, and the
    * maximum value is 14d.
    * 
* * .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The wait. */ com.google.protobuf.Duration getWait(); /** + * + * *
    * Optional. How long to wait for the first retry. Default is 0, and the
    * maximum value is 14d.
@@ -49,22 +76,32 @@ public interface RetryOrBuilder extends
   com.google.protobuf.DurationOrBuilder getWaitOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The pattern of how wait time will be increased. Default is
    * linear. Backoff mode will be ignored if `wait` is 0.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for backoffMode. */ int getBackoffModeValue(); /** + * + * *
    * Optional. The pattern of how wait time will be increased. Default is
    * linear. Backoff mode will be ignored if `wait` is 0.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The backoffMode. */ com.google.cloud.deploy.v1.BackoffMode getBackoffMode(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhase.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhase.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhase.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhase.java index 3ffff97813fb..2cc00f559406 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhase.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhase.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * RetryPhase contains the retry attempts and the metadata for initiating a
  * new attempt.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.RetryPhase}
  */
-public final class RetryPhase extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryPhase extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RetryPhase)
     RetryPhaseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryPhase.newBuilder() to construct.
   private RetryPhase(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RetryPhase() {
     backoffMode_ = 0;
     phaseId_ = "";
@@ -29,32 +47,36 @@ private RetryPhase() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryPhase();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryPhase_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RetryPhase_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.RetryPhase.class, com.google.cloud.deploy.v1.RetryPhase.Builder.class);
+            com.google.cloud.deploy.v1.RetryPhase.class,
+            com.google.cloud.deploy.v1.RetryPhase.Builder.class);
   }
 
   public static final int TOTAL_ATTEMPTS_FIELD_NUMBER = 1;
   private long totalAttempts_ = 0L;
   /**
+   *
+   *
    * 
    * Output only. The number of attempts that have been made.
    * 
* * int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalAttempts. */ @java.lang.Override @@ -65,40 +87,57 @@ public long getTotalAttempts() { public static final int BACKOFF_MODE_FIELD_NUMBER = 2; private int backoffMode_ = 0; /** + * + * *
    * Output only. The pattern of how the wait time of the retry attempt is
    * calculated.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for backoffMode. */ - @java.lang.Override public int getBackoffModeValue() { + @java.lang.Override + public int getBackoffModeValue() { return backoffMode_; } /** + * + * *
    * Output only. The pattern of how the wait time of the retry attempt is
    * calculated.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backoffMode. */ - @java.lang.Override public com.google.cloud.deploy.v1.BackoffMode getBackoffMode() { - com.google.cloud.deploy.v1.BackoffMode result = com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); + @java.lang.Override + public com.google.cloud.deploy.v1.BackoffMode getBackoffMode() { + com.google.cloud.deploy.v1.BackoffMode result = + com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); return result == null ? com.google.cloud.deploy.v1.BackoffMode.UNRECOGNIZED : result; } public static final int PHASE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object phaseId_ = ""; /** + * + * *
    * Output only. The phase ID of the phase that includes the job being retried.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phaseId. */ @java.lang.Override @@ -107,29 +146,29 @@ public java.lang.String getPhaseId() { 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(); phaseId_ = s; return s; } } /** + * + * *
    * Output only. The phase ID of the phase that includes the job being retried.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -138,14 +177,18 @@ public java.lang.String getPhaseId() { } public static final int JOB_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** + * + * *
    * Output only. The job ID for the Job to retry.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobId. */ @java.lang.Override @@ -154,29 +197,29 @@ public java.lang.String getJobId() { 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(); jobId_ = s; return s; } } /** + * + * *
    * Output only. The job ID for the Job to retry.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobId. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -185,67 +228,88 @@ public java.lang.String getJobId() { } public static final int ATTEMPTS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List attempts_; /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getAttemptsList() { return attempts_; } /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAttemptsOrBuilderList() { return attempts_; } /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getAttemptsCount() { return attempts_.size(); } /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RetryAttempt getAttempts(int index) { return attempts_.get(index); } /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.RetryAttemptOrBuilder getAttemptsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RetryAttemptOrBuilder getAttemptsOrBuilder(int index) { return attempts_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,12 +321,12 @@ 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 (totalAttempts_ != 0L) { output.writeInt64(1, totalAttempts_); } - if (backoffMode_ != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { + if (backoffMode_ + != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, backoffMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phaseId_)) { @@ -284,12 +348,11 @@ public int getSerializedSize() { size = 0; if (totalAttempts_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, totalAttempts_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, totalAttempts_); } - if (backoffMode_ != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, backoffMode_); + if (backoffMode_ + != com.google.cloud.deploy.v1.BackoffMode.BACKOFF_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, backoffMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phaseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, phaseId_); @@ -298,8 +361,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobId_); } for (int i = 0; i < attempts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, attempts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, attempts_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -309,22 +371,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.cloud.deploy.v1.RetryPhase)) { return super.equals(obj); } com.google.cloud.deploy.v1.RetryPhase other = (com.google.cloud.deploy.v1.RetryPhase) obj; - if (getTotalAttempts() - != other.getTotalAttempts()) return false; + if (getTotalAttempts() != other.getTotalAttempts()) return false; if (backoffMode_ != other.backoffMode_) return false; - if (!getPhaseId() - .equals(other.getPhaseId())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; - if (!getAttemptsList() - .equals(other.getAttemptsList())) return false; + if (!getPhaseId().equals(other.getPhaseId())) return false; + if (!getJobId().equals(other.getJobId())) return false; + if (!getAttemptsList().equals(other.getAttemptsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,8 +395,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TOTAL_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTotalAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalAttempts()); hash = (37 * hash) + BACKOFF_MODE_FIELD_NUMBER; hash = (53 * hash) + backoffMode_; hash = (37 * hash) + PHASE_ID_FIELD_NUMBER; @@ -354,99 +411,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RetryPhase parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RetryPhase parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.RetryPhase parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.RetryPhase parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.RetryPhase parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RetryPhase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RetryPhase parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RetryPhase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RetryPhase contains the retry attempts and the metadata for initiating a
    * new attempt.
@@ -454,33 +515,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.RetryPhase}
    */
-  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.cloud.deploy.v1.RetryPhase)
       com.google.cloud.deploy.v1.RetryPhaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryPhase_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RetryPhase_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.RetryPhase.class, com.google.cloud.deploy.v1.RetryPhase.Builder.class);
+              com.google.cloud.deploy.v1.RetryPhase.class,
+              com.google.cloud.deploy.v1.RetryPhase.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.RetryPhase.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -500,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RetryPhase_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RetryPhase_descriptor;
     }
 
     @java.lang.Override
@@ -521,9 +581,12 @@ public com.google.cloud.deploy.v1.RetryPhase build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.RetryPhase buildPartial() {
-      com.google.cloud.deploy.v1.RetryPhase result = new com.google.cloud.deploy.v1.RetryPhase(this);
+      com.google.cloud.deploy.v1.RetryPhase result =
+          new com.google.cloud.deploy.v1.RetryPhase(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -560,38 +623,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RetryPhase result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.RetryPhase) {
-        return mergeFrom((com.google.cloud.deploy.v1.RetryPhase)other);
+        return mergeFrom((com.google.cloud.deploy.v1.RetryPhase) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -634,9 +698,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.RetryPhase other) {
             attemptsBuilder_ = null;
             attempts_ = other.attempts_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            attemptsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAttemptsFieldBuilder() : null;
+            attemptsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAttemptsFieldBuilder()
+                    : null;
           } else {
             attemptsBuilder_.addAllMessages(other.attempts_);
           }
@@ -668,45 +733,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              totalAttempts_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              backoffMode_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              phaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              jobId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.cloud.deploy.v1.RetryAttempt m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.RetryAttempt.parser(),
-                      extensionRegistry);
-              if (attemptsBuilder_ == null) {
-                ensureAttemptsIsMutable();
-                attempts_.add(m);
-              } else {
-                attemptsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                totalAttempts_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                backoffMode_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                phaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                jobId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.cloud.deploy.v1.RetryAttempt m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.RetryAttempt.parser(), extensionRegistry);
+                if (attemptsBuilder_ == null) {
+                  ensureAttemptsIsMutable();
+                  attempts_.add(m);
+                } else {
+                  attemptsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -716,15 +786,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long totalAttempts_ ;
+    private long totalAttempts_;
     /**
+     *
+     *
      * 
      * Output only. The number of attempts that have been made.
      * 
* * int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalAttempts. */ @java.lang.Override @@ -732,11 +806,14 @@ public long getTotalAttempts() { return totalAttempts_; } /** + * + * *
      * Output only. The number of attempts that have been made.
      * 
* * int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The totalAttempts to set. * @return This builder for chaining. */ @@ -748,11 +825,14 @@ public Builder setTotalAttempts(long value) { return this; } /** + * + * *
      * Output only. The number of attempts that have been made.
      * 
* * int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTotalAttempts() { @@ -764,24 +844,35 @@ public Builder clearTotalAttempts() { private int backoffMode_ = 0; /** + * + * *
      * Output only. The pattern of how the wait time of the retry attempt is
      * calculated.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for backoffMode. */ - @java.lang.Override public int getBackoffModeValue() { + @java.lang.Override + public int getBackoffModeValue() { return backoffMode_; } /** + * + * *
      * Output only. The pattern of how the wait time of the retry attempt is
      * calculated.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for backoffMode to set. * @return This builder for chaining. */ @@ -792,26 +883,37 @@ public Builder setBackoffModeValue(int value) { return this; } /** + * + * *
      * Output only. The pattern of how the wait time of the retry attempt is
      * calculated.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backoffMode. */ @java.lang.Override public com.google.cloud.deploy.v1.BackoffMode getBackoffMode() { - com.google.cloud.deploy.v1.BackoffMode result = com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); + com.google.cloud.deploy.v1.BackoffMode result = + com.google.cloud.deploy.v1.BackoffMode.forNumber(backoffMode_); return result == null ? com.google.cloud.deploy.v1.BackoffMode.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The pattern of how the wait time of the retry attempt is
      * calculated.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The backoffMode to set. * @return This builder for chaining. */ @@ -825,12 +927,17 @@ public Builder setBackoffMode(com.google.cloud.deploy.v1.BackoffMode value) { return this; } /** + * + * *
      * Output only. The pattern of how the wait time of the retry attempt is
      * calculated.
      * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearBackoffMode() { @@ -842,18 +949,20 @@ public Builder clearBackoffMode() { private java.lang.Object phaseId_ = ""; /** + * + * *
      * Output only. The phase ID of the phase that includes the job being retried.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phaseId. */ public java.lang.String getPhaseId() { java.lang.Object ref = phaseId_; 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(); phaseId_ = s; return s; @@ -862,20 +971,21 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Output only. The phase ID of the phase that includes the job being retried.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phaseId. */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { + public com.google.protobuf.ByteString getPhaseIdBytes() { java.lang.Object ref = phaseId_; 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); phaseId_ = b; return b; } else { @@ -883,28 +993,35 @@ public java.lang.String getPhaseId() { } } /** + * + * *
      * Output only. The phase ID of the phase that includes the job being retried.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } phaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The phase ID of the phase that includes the job being retried.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPhaseId() { @@ -914,17 +1031,21 @@ public Builder clearPhaseId() { return this; } /** + * + * *
      * Output only. The phase ID of the phase that includes the job being retried.
      * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for phaseId to set. * @return This builder for chaining. */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); phaseId_ = value; bitField0_ |= 0x00000004; @@ -934,18 +1055,20 @@ public Builder setPhaseIdBytes( private java.lang.Object jobId_ = ""; /** + * + * *
      * Output only. The job ID for the Job to retry.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; @@ -954,20 +1077,21 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Output only. The job ID for the Job to retry.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobId. */ - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -975,28 +1099,35 @@ public java.lang.String getJobId() { } } /** + * + * *
      * Output only. The job ID for the Job to retry.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The job ID for the Job to retry.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearJobId() { @@ -1006,17 +1137,21 @@ public Builder clearJobId() { return this; } /** + * + * *
      * Output only. The job ID for the Job to retry.
      * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000008; @@ -1025,23 +1160,31 @@ public Builder setJobIdBytes( } private java.util.List attempts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAttemptsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { attempts_ = new java.util.ArrayList(attempts_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RetryAttempt, com.google.cloud.deploy.v1.RetryAttempt.Builder, com.google.cloud.deploy.v1.RetryAttemptOrBuilder> attemptsBuilder_; + com.google.cloud.deploy.v1.RetryAttempt, + com.google.cloud.deploy.v1.RetryAttempt.Builder, + com.google.cloud.deploy.v1.RetryAttemptOrBuilder> + attemptsBuilder_; /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getAttemptsList() { if (attemptsBuilder_ == null) { @@ -1051,11 +1194,15 @@ public java.util.List getAttemptsList() } } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getAttemptsCount() { if (attemptsBuilder_ == null) { @@ -1065,11 +1212,15 @@ public int getAttemptsCount() { } } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RetryAttempt getAttempts(int index) { if (attemptsBuilder_ == null) { @@ -1079,14 +1230,17 @@ public com.google.cloud.deploy.v1.RetryAttempt getAttempts(int index) { } } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAttempts( - int index, com.google.cloud.deploy.v1.RetryAttempt value) { + public Builder setAttempts(int index, com.google.cloud.deploy.v1.RetryAttempt value) { if (attemptsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1100,11 +1254,15 @@ public Builder setAttempts( return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAttempts( int index, com.google.cloud.deploy.v1.RetryAttempt.Builder builderForValue) { @@ -1118,11 +1276,15 @@ public Builder setAttempts( return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAttempts(com.google.cloud.deploy.v1.RetryAttempt value) { if (attemptsBuilder_ == null) { @@ -1138,14 +1300,17 @@ public Builder addAttempts(com.google.cloud.deploy.v1.RetryAttempt value) { return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addAttempts( - int index, com.google.cloud.deploy.v1.RetryAttempt value) { + public Builder addAttempts(int index, com.google.cloud.deploy.v1.RetryAttempt value) { if (attemptsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1159,14 +1324,17 @@ public Builder addAttempts( return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addAttempts( - com.google.cloud.deploy.v1.RetryAttempt.Builder builderForValue) { + public Builder addAttempts(com.google.cloud.deploy.v1.RetryAttempt.Builder builderForValue) { if (attemptsBuilder_ == null) { ensureAttemptsIsMutable(); attempts_.add(builderForValue.build()); @@ -1177,11 +1345,15 @@ public Builder addAttempts( return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAttempts( int index, com.google.cloud.deploy.v1.RetryAttempt.Builder builderForValue) { @@ -1195,18 +1367,21 @@ public Builder addAttempts( return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllAttempts( java.lang.Iterable values) { if (attemptsBuilder_ == null) { ensureAttemptsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attempts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attempts_); onChanged(); } else { attemptsBuilder_.addAllMessages(values); @@ -1214,11 +1389,15 @@ public Builder addAllAttempts( return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAttempts() { if (attemptsBuilder_ == null) { @@ -1231,11 +1410,15 @@ public Builder clearAttempts() { return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeAttempts(int index) { if (attemptsBuilder_ == null) { @@ -1248,39 +1431,50 @@ public Builder removeAttempts(int index) { return this; } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.RetryAttempt.Builder getAttemptsBuilder( - int index) { + public com.google.cloud.deploy.v1.RetryAttempt.Builder getAttemptsBuilder(int index) { return getAttemptsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.RetryAttemptOrBuilder getAttemptsOrBuilder( - int index) { + public com.google.cloud.deploy.v1.RetryAttemptOrBuilder getAttemptsOrBuilder(int index) { if (attemptsBuilder_ == null) { - return attempts_.get(index); } else { + return attempts_.get(index); + } else { return attemptsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getAttemptsOrBuilderList() { + public java.util.List + getAttemptsOrBuilderList() { if (attemptsBuilder_ != null) { return attemptsBuilder_.getMessageOrBuilderList(); } else { @@ -1288,56 +1482,70 @@ public com.google.cloud.deploy.v1.RetryAttemptOrBuilder getAttemptsOrBuilder( } } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.RetryAttempt.Builder addAttemptsBuilder() { - return getAttemptsFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.RetryAttempt.getDefaultInstance()); + return getAttemptsFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.RetryAttempt.getDefaultInstance()); } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.RetryAttempt.Builder addAttemptsBuilder( - int index) { - return getAttemptsFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.RetryAttempt.getDefaultInstance()); + public com.google.cloud.deploy.v1.RetryAttempt.Builder addAttemptsBuilder(int index) { + return getAttemptsFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.RetryAttempt.getDefaultInstance()); } /** + * + * *
      * Output only. Detail of a retry action.
      * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getAttemptsBuilderList() { + public java.util.List + getAttemptsBuilderList() { return getAttemptsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RetryAttempt, com.google.cloud.deploy.v1.RetryAttempt.Builder, com.google.cloud.deploy.v1.RetryAttemptOrBuilder> + com.google.cloud.deploy.v1.RetryAttempt, + com.google.cloud.deploy.v1.RetryAttempt.Builder, + com.google.cloud.deploy.v1.RetryAttemptOrBuilder> getAttemptsFieldBuilder() { if (attemptsBuilder_ == null) { - attemptsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.RetryAttempt, com.google.cloud.deploy.v1.RetryAttempt.Builder, com.google.cloud.deploy.v1.RetryAttemptOrBuilder>( - attempts_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + attemptsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.RetryAttempt, + com.google.cloud.deploy.v1.RetryAttempt.Builder, + com.google.cloud.deploy.v1.RetryAttemptOrBuilder>( + attempts_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); attempts_ = null; } return attemptsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1347,12 +1555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RetryPhase) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RetryPhase) private static final com.google.cloud.deploy.v1.RetryPhase DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RetryPhase(); } @@ -1361,27 +1569,27 @@ public static com.google.cloud.deploy.v1.RetryPhase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryPhase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryPhase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,6 +1604,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RetryPhase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhaseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhaseOrBuilder.java similarity index 57% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhaseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhaseOrBuilder.java index 675f3e47c7d9..7fa59272c0f2 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhaseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryPhaseOrBuilder.java @@ -1,124 +1,181 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RetryPhaseOrBuilder extends +public interface RetryPhaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RetryPhase) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The number of attempts that have been made.
    * 
* * int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalAttempts. */ long getTotalAttempts(); /** + * + * *
    * Output only. The pattern of how the wait time of the retry attempt is
    * calculated.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for backoffMode. */ int getBackoffModeValue(); /** + * + * *
    * Output only. The pattern of how the wait time of the retry attempt is
    * calculated.
    * 
* - * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backoffMode. */ com.google.cloud.deploy.v1.BackoffMode getBackoffMode(); /** + * + * *
    * Output only. The phase ID of the phase that includes the job being retried.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The phaseId. */ java.lang.String getPhaseId(); /** + * + * *
    * Output only. The phase ID of the phase that includes the job being retried.
    * 
* * string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for phaseId. */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + com.google.protobuf.ByteString getPhaseIdBytes(); /** + * + * *
    * Output only. The job ID for the Job to retry.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * Output only. The job ID for the Job to retry.
    * 
* * string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getAttemptsList(); + java.util.List getAttemptsList(); /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.RetryAttempt getAttempts(int index); /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getAttemptsCount(); /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getAttemptsOrBuilderList(); /** + * + * *
    * Output only. Detail of a retry action.
    * 
* - * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.RetryAttemptOrBuilder getAttemptsOrBuilder( - int index); + com.google.cloud.deploy.v1.RetryAttemptOrBuilder getAttemptsOrBuilder(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollback.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollback.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollback.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollback.java index 525876c9561d..a75b5f37af30 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollback.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollback.java @@ -1,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Rolls back a `Rollout`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Rollback} */ -public final class Rollback extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Rollback extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Rollback) RollbackOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Rollback.newBuilder() to construct. private Rollback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Rollback() { destinationPhase_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Rollback(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollback_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Rollback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Rollback.class, com.google.cloud.deploy.v1.Rollback.Builder.class); + com.google.cloud.deploy.v1.Rollback.class, + com.google.cloud.deploy.v1.Rollback.Builder.class); } public static final int DESTINATION_PHASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object destinationPhase_ = ""; /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationPhase. */ @java.lang.Override @@ -61,30 +84,30 @@ public java.lang.String getDestinationPhase() { 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(); destinationPhase_ = s; return s; } } /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationPhase. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -93,6 +116,7 @@ public java.lang.String getDestinationPhase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,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(destinationPhase_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destinationPhase_); } @@ -129,15 +152,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.cloud.deploy.v1.Rollback)) { return super.equals(obj); } com.google.cloud.deploy.v1.Rollback other = (com.google.cloud.deploy.v1.Rollback) obj; - if (!getDestinationPhase() - .equals(other.getDestinationPhase())) return false; + if (!getDestinationPhase().equals(other.getDestinationPhase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +178,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Rollback parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Rollback parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Rollback parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Rollback parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Rollback parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Rollback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Rollback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Rollback parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Rollback parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Rollback parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Rollback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Rollback parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Rollback parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Rollback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Rollback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Rolls back a `Rollout`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Rollback} */ - 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.cloud.deploy.v1.Rollback) com.google.cloud.deploy.v1.RollbackOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollback_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Rollback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Rollback.class, com.google.cloud.deploy.v1.Rollback.Builder.class); + com.google.cloud.deploy.v1.Rollback.class, + com.google.cloud.deploy.v1.Rollback.Builder.class); } // Construct using com.google.cloud.deploy.v1.Rollback.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollback_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Rollback_descriptor; } @java.lang.Override @@ -313,7 +338,9 @@ public com.google.cloud.deploy.v1.Rollback build() { @java.lang.Override public com.google.cloud.deploy.v1.Rollback buildPartial() { com.google.cloud.deploy.v1.Rollback result = new com.google.cloud.deploy.v1.Rollback(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +356,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Rollback result) { 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) { + 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) { + 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.cloud.deploy.v1.Rollback) { - return mergeFrom((com.google.cloud.deploy.v1.Rollback)other); + return mergeFrom((com.google.cloud.deploy.v1.Rollback) other); } else { super.mergeFrom(other); return this; @@ -400,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - destinationPhase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + destinationPhase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +450,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object destinationPhase_ = ""; /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationPhase. */ public java.lang.String getDestinationPhase() { java.lang.Object ref = destinationPhase_; 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(); destinationPhase_ = s; return s; @@ -445,21 +478,22 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationPhase. */ - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -467,30 +501,37 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationPhase_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDestinationPhase() { @@ -500,27 +541,31 @@ public Builder clearDestinationPhase() { return this; } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationPhase_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Rollback) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Rollback) private static final com.google.cloud.deploy.v1.Rollback DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Rollback(); } @@ -544,27 +589,27 @@ public static com.google.cloud.deploy.v1.Rollback getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rollback parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rollback parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +624,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Rollback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttempt.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttempt.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttempt.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttempt.java index fac7a25d5ab3..e7894ceb7836 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttempt.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttempt.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackAttempt} */ -public final class RollbackAttempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackAttempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RollbackAttempt) RollbackAttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackAttempt.newBuilder() to construct. private RollbackAttempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackAttempt() { destinationPhase_ = ""; rolloutId_ = ""; @@ -28,33 +46,38 @@ private RollbackAttempt() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackAttempt(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackAttempt.class, com.google.cloud.deploy.v1.RollbackAttempt.Builder.class); + com.google.cloud.deploy.v1.RollbackAttempt.class, + com.google.cloud.deploy.v1.RollbackAttempt.Builder.class); } public static final int DESTINATION_PHASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object destinationPhase_ = ""; /** + * + * *
    * Output only. The phase to which the rollout will be rolled back to.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationPhase. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getDestinationPhase() { 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(); destinationPhase_ = s; return s; } } /** + * + * *
    * Output only. The phase to which the rollout will be rolled back to.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationPhase. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -94,14 +117,18 @@ public java.lang.String getDestinationPhase() { } public static final int ROLLOUT_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutId_ = ""; /** + * + * *
    * Output only. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutId. */ @java.lang.Override @@ -110,29 +137,29 @@ public java.lang.String getRolloutId() { 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(); rolloutId_ = s; return s; } } /** + * + * *
    * Output only. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutIdBytes() { + public com.google.protobuf.ByteString getRolloutIdBytes() { java.lang.Object ref = rolloutId_; 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); rolloutId_ = b; return b; } else { @@ -143,38 +170,55 @@ public java.lang.String getRolloutId() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** + * + * *
    * Output only. Valid state of this rollback action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.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. Valid state of this rollback action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.deploy.v1.RepairState getState() { - com.google.cloud.deploy.v1.RepairState result = com.google.cloud.deploy.v1.RepairState.forNumber(state_); + @java.lang.Override + public com.google.cloud.deploy.v1.RepairState getState() { + com.google.cloud.deploy.v1.RepairState result = + com.google.cloud.deploy.v1.RepairState.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.RepairState.UNRECOGNIZED : result; } public static final int STATE_DESC_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object stateDesc_ = ""; /** + * + * *
    * Output only. Description of the state of the Rollback.
    * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDesc. */ @java.lang.Override @@ -183,29 +227,29 @@ public java.lang.String getStateDesc() { 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(); stateDesc_ = s; return s; } } /** + * + * *
    * Output only. Description of the state of the Rollback.
    * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDesc. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDescBytes() { + public com.google.protobuf.ByteString getStateDescBytes() { java.lang.Object ref = stateDesc_; 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); stateDesc_ = b; return b; } else { @@ -214,6 +258,7 @@ public java.lang.String getStateDesc() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +270,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(destinationPhase_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destinationPhase_); } @@ -255,8 +299,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rolloutId_); } if (state_ != com.google.cloud.deploy.v1.RepairState.REPAIR_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDesc_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stateDesc_); @@ -269,20 +312,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.cloud.deploy.v1.RollbackAttempt)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RollbackAttempt other = (com.google.cloud.deploy.v1.RollbackAttempt) obj; + com.google.cloud.deploy.v1.RollbackAttempt other = + (com.google.cloud.deploy.v1.RollbackAttempt) obj; - if (!getDestinationPhase() - .equals(other.getDestinationPhase())) return false; - if (!getRolloutId() - .equals(other.getRolloutId())) return false; + if (!getDestinationPhase().equals(other.getDestinationPhase())) return false; + if (!getRolloutId().equals(other.getRolloutId())) return false; if (state_ != other.state_) return false; - if (!getStateDesc() - .equals(other.getStateDesc())) return false; + if (!getStateDesc().equals(other.getStateDesc())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -307,132 +348,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RollbackAttempt parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RollbackAttempt parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RollbackAttempt parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackAttempt parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RollbackAttempt prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackAttempt} */ - 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.cloud.deploy.v1.RollbackAttempt) com.google.cloud.deploy.v1.RollbackAttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackAttempt.class, com.google.cloud.deploy.v1.RollbackAttempt.Builder.class); + com.google.cloud.deploy.v1.RollbackAttempt.class, + com.google.cloud.deploy.v1.RollbackAttempt.Builder.class); } // Construct using com.google.cloud.deploy.v1.RollbackAttempt.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +490,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; } @java.lang.Override @@ -466,8 +511,11 @@ public com.google.cloud.deploy.v1.RollbackAttempt build() { @java.lang.Override public com.google.cloud.deploy.v1.RollbackAttempt buildPartial() { - com.google.cloud.deploy.v1.RollbackAttempt result = new com.google.cloud.deploy.v1.RollbackAttempt(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RollbackAttempt result = + new com.google.cloud.deploy.v1.RollbackAttempt(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -492,38 +540,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RollbackAttempt result) { 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) { + 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) { + 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.cloud.deploy.v1.RollbackAttempt) { - return mergeFrom((com.google.cloud.deploy.v1.RollbackAttempt)other); + return mergeFrom((com.google.cloud.deploy.v1.RollbackAttempt) other); } else { super.mergeFrom(other); return this; @@ -576,32 +625,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - destinationPhase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - rolloutId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - state_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - stateDesc_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + destinationPhase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + rolloutId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + stateDesc_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -611,22 +665,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object destinationPhase_ = ""; /** + * + * *
      * Output only. The phase to which the rollout will be rolled back to.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationPhase. */ public java.lang.String getDestinationPhase() { java.lang.Object ref = destinationPhase_; 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(); destinationPhase_ = s; return s; @@ -635,20 +692,21 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Output only. The phase to which the rollout will be rolled back to.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationPhase. */ - public com.google.protobuf.ByteString - getDestinationPhaseBytes() { + public com.google.protobuf.ByteString getDestinationPhaseBytes() { java.lang.Object ref = destinationPhase_; 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); destinationPhase_ = b; return b; } else { @@ -656,28 +714,35 @@ public java.lang.String getDestinationPhase() { } } /** + * + * *
      * Output only. The phase to which the rollout will be rolled back to.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationPhase_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The phase to which the rollout will be rolled back to.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDestinationPhase() { @@ -687,17 +752,21 @@ public Builder clearDestinationPhase() { return this; } /** + * + * *
      * Output only. The phase to which the rollout will be rolled back to.
      * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for destinationPhase to set. * @return This builder for chaining. */ - public Builder setDestinationPhaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationPhaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationPhase_ = value; bitField0_ |= 0x00000001; @@ -707,18 +776,20 @@ public Builder setDestinationPhaseBytes( private java.lang.Object rolloutId_ = ""; /** + * + * *
      * Output only. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutId. */ public java.lang.String getRolloutId() { java.lang.Object ref = rolloutId_; 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(); rolloutId_ = s; return s; @@ -727,20 +798,21 @@ public java.lang.String getRolloutId() { } } /** + * + * *
      * Output only. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutId. */ - public com.google.protobuf.ByteString - getRolloutIdBytes() { + public com.google.protobuf.ByteString getRolloutIdBytes() { java.lang.Object ref = rolloutId_; 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); rolloutId_ = b; return b; } else { @@ -748,28 +820,35 @@ public java.lang.String getRolloutId() { } } /** + * + * *
      * Output only. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRolloutId() { @@ -779,17 +858,21 @@ public Builder clearRolloutId() { return this; } /** + * + * *
      * Output only. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutId_ = value; bitField0_ |= 0x00000002; @@ -799,22 +882,33 @@ public Builder setRolloutIdBytes( private int state_ = 0; /** + * + * *
      * Output only. Valid state of this rollback action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.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. Valid state of this rollback action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -825,24 +919,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Valid state of this rollback action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.deploy.v1.RepairState getState() { - com.google.cloud.deploy.v1.RepairState result = com.google.cloud.deploy.v1.RepairState.forNumber(state_); + com.google.cloud.deploy.v1.RepairState result = + com.google.cloud.deploy.v1.RepairState.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.RepairState.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Valid state of this rollback action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -856,11 +961,16 @@ public Builder setState(com.google.cloud.deploy.v1.RepairState value) { return this; } /** + * + * *
      * Output only. Valid state of this rollback action.
      * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -872,18 +982,20 @@ public Builder clearState() { private java.lang.Object stateDesc_ = ""; /** + * + * *
      * Output only. Description of the state of the Rollback.
      * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDesc. */ public java.lang.String getStateDesc() { java.lang.Object ref = stateDesc_; 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(); stateDesc_ = s; return s; @@ -892,20 +1004,21 @@ public java.lang.String getStateDesc() { } } /** + * + * *
      * Output only. Description of the state of the Rollback.
      * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDesc. */ - public com.google.protobuf.ByteString - getStateDescBytes() { + public com.google.protobuf.ByteString getStateDescBytes() { java.lang.Object ref = stateDesc_; 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); stateDesc_ = b; return b; } else { @@ -913,28 +1026,35 @@ public java.lang.String getStateDesc() { } } /** + * + * *
      * Output only. Description of the state of the Rollback.
      * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateDesc to set. * @return This builder for chaining. */ - public Builder setStateDesc( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDesc(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } stateDesc_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Description of the state of the Rollback.
      * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateDesc() { @@ -944,26 +1064,30 @@ public Builder clearStateDesc() { return this; } /** + * + * *
      * Output only. Description of the state of the Rollback.
      * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateDesc to set. * @return This builder for chaining. */ - public Builder setStateDescBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDescBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); stateDesc_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -973,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RollbackAttempt) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RollbackAttempt) private static final com.google.cloud.deploy.v1.RollbackAttempt DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RollbackAttempt(); } @@ -987,27 +1111,27 @@ public static com.google.cloud.deploy.v1.RollbackAttempt getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackAttempt parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackAttempt parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,6 +1146,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RollbackAttempt getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttemptOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttemptOrBuilder.java similarity index 64% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttemptOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttemptOrBuilder.java index 057c55ef0b49..b065ea629ad7 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttemptOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackAttemptOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RollbackAttemptOrBuilder extends +public interface RollbackAttemptOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RollbackAttempt) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The phase to which the rollout will be rolled back to.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The destinationPhase. */ java.lang.String getDestinationPhase(); /** + * + * *
    * Output only. The phase to which the rollout will be rolled back to.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for destinationPhase. */ - com.google.protobuf.ByteString - getDestinationPhaseBytes(); + com.google.protobuf.ByteString getDestinationPhaseBytes(); /** + * + * *
    * Output only. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rolloutId. */ java.lang.String getRolloutId(); /** + * + * *
    * Output only. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rolloutId. */ - com.google.protobuf.ByteString - getRolloutIdBytes(); + com.google.protobuf.ByteString getRolloutIdBytes(); /** + * + * *
    * Output only. Valid state of this rollback action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Valid state of this rollback action.
    * 
* - * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.deploy.v1.RepairState getState(); /** + * + * *
    * Output only. Description of the state of the Rollback.
    * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDesc. */ java.lang.String getStateDesc(); /** + * + * *
    * Output only. Description of the state of the Rollback.
    * 
* * string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDesc. */ - com.google.protobuf.ByteString - getStateDescBytes(); + com.google.protobuf.ByteString getStateDescBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackOrBuilder.java similarity index 55% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackOrBuilder.java index 6d23b40c3bac..7f28a4d2d885 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RollbackOrBuilder extends +public interface RollbackOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Rollback) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The destinationPhase. */ java.lang.String getDestinationPhase(); /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for destinationPhase. */ - com.google.protobuf.ByteString - getDestinationPhaseBytes(); + com.google.protobuf.ByteString getDestinationPhaseBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfig.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfig.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfig.java index 8aff39e3b7ef..ce568a2fb737 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfig.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Configs for the Rollback rollout.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackTargetConfig} */ -public final class RollbackTargetConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackTargetConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RollbackTargetConfig) RollbackTargetConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackTargetConfig.newBuilder() to construct. private RollbackTargetConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackTargetConfig() { startingPhaseId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackTargetConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackTargetConfig.class, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder.class); + com.google.cloud.deploy.v1.RollbackTargetConfig.class, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder.class); } public static final int ROLLOUT_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.Rollout rollout_; /** + * + * *
    * Optional. The rollback `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -58,11 +81,15 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
    * Optional. The rollback `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ @java.lang.Override @@ -70,11 +97,14 @@ public com.google.cloud.deploy.v1.Rollout getRollout() { return rollout_ == null ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() : rollout_; } /** + * + * *
    * Optional. The rollback `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { @@ -82,15 +112,19 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { } public static final int STARTING_PHASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object startingPhaseId_ = ""; /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The startingPhaseId. */ @java.lang.Override @@ -99,30 +133,30 @@ public java.lang.String getStartingPhaseId() { 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(); startingPhaseId_ = s; return s; } } /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for startingPhaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartingPhaseIdBytes() { + public com.google.protobuf.ByteString getStartingPhaseIdBytes() { java.lang.Object ref = startingPhaseId_; 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); startingPhaseId_ = b; return b; } else { @@ -131,6 +165,7 @@ public java.lang.String getStartingPhaseId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +177,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 (rollout_ != null) { output.writeMessage(1, getRollout()); } @@ -160,8 +194,7 @@ public int getSerializedSize() { size = 0; if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRollout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startingPhaseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startingPhaseId_); @@ -174,20 +207,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.cloud.deploy.v1.RollbackTargetConfig)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RollbackTargetConfig other = (com.google.cloud.deploy.v1.RollbackTargetConfig) obj; + com.google.cloud.deploy.v1.RollbackTargetConfig other = + (com.google.cloud.deploy.v1.RollbackTargetConfig) obj; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } - if (!getStartingPhaseId() - .equals(other.getStartingPhaseId())) return false; + if (!getStartingPhaseId().equals(other.getStartingPhaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -210,132 +242,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RollbackTargetConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RollbackTargetConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackTargetConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RollbackTargetConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configs for the Rollback rollout.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackTargetConfig} */ - 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.cloud.deploy.v1.RollbackTargetConfig) com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackTargetConfig.class, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder.class); + com.google.cloud.deploy.v1.RollbackTargetConfig.class, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder.class); } // Construct using com.google.cloud.deploy.v1.RollbackTargetConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; } @java.lang.Override @@ -371,8 +407,11 @@ public com.google.cloud.deploy.v1.RollbackTargetConfig build() { @java.lang.Override public com.google.cloud.deploy.v1.RollbackTargetConfig buildPartial() { - com.google.cloud.deploy.v1.RollbackTargetConfig result = new com.google.cloud.deploy.v1.RollbackTargetConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RollbackTargetConfig result = + new com.google.cloud.deploy.v1.RollbackTargetConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -380,9 +419,7 @@ public com.google.cloud.deploy.v1.RollbackTargetConfig buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.RollbackTargetConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rollout_ = rolloutBuilder_ == null - ? rollout_ - : rolloutBuilder_.build(); + result.rollout_ = rolloutBuilder_ == null ? rollout_ : rolloutBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.startingPhaseId_ = startingPhaseId_; @@ -393,38 +430,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RollbackTargetConfig resul 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) { + 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) { + 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.cloud.deploy.v1.RollbackTargetConfig) { - return mergeFrom((com.google.cloud.deploy.v1.RollbackTargetConfig)other); + return mergeFrom((com.google.cloud.deploy.v1.RollbackTargetConfig) other); } else { super.mergeFrom(other); return this; @@ -432,7 +470,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.RollbackTargetConfig other) { - if (other == com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance()) + return this; if (other.hasRollout()) { mergeRollout(other.getRollout()); } @@ -467,24 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRolloutFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - startingPhaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRolloutFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + startingPhaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,43 +534,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.deploy.v1.Rollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder> rolloutBuilder_; + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder> + rolloutBuilder_; /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ public com.google.cloud.deploy.v1.Rollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollout(com.google.cloud.deploy.v1.Rollout value) { if (rolloutBuilder_ == null) { @@ -546,14 +603,16 @@ public Builder setRollout(com.google.cloud.deploy.v1.Rollout value) { return this; } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setRollout( - com.google.cloud.deploy.v1.Rollout.Builder builderForValue) { + public Builder setRollout(com.google.cloud.deploy.v1.Rollout.Builder builderForValue) { if (rolloutBuilder_ == null) { rollout_ = builderForValue.build(); } else { @@ -564,17 +623,20 @@ public Builder setRollout( return this; } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRollout(com.google.cloud.deploy.v1.Rollout value) { if (rolloutBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - rollout_ != null && - rollout_ != com.google.cloud.deploy.v1.Rollout.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && rollout_ != null + && rollout_ != com.google.cloud.deploy.v1.Rollout.getDefaultInstance()) { getRolloutBuilder().mergeFrom(value); } else { rollout_ = value; @@ -587,11 +649,14 @@ public Builder mergeRollout(com.google.cloud.deploy.v1.Rollout value) { return this; } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRollout() { bitField0_ = (bitField0_ & ~0x00000001); @@ -604,11 +669,14 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Rollout.Builder getRolloutBuilder() { bitField0_ |= 0x00000001; @@ -616,36 +684,46 @@ public com.google.cloud.deploy.v1.Rollout.Builder getRolloutBuilder() { return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.deploy.v1.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.deploy.v1.Rollout.getDefaultInstance() + : rollout_; } } /** + * + * *
      * Optional. The rollback `Rollout` to create.
      * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder> + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Rollout, com.google.cloud.deploy.v1.Rollout.Builder, com.google.cloud.deploy.v1.RolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Rollout, + com.google.cloud.deploy.v1.Rollout.Builder, + com.google.cloud.deploy.v1.RolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; @@ -653,19 +731,21 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { private java.lang.Object startingPhaseId_ = ""; /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The startingPhaseId. */ public java.lang.String getStartingPhaseId() { java.lang.Object ref = startingPhaseId_; 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(); startingPhaseId_ = s; return s; @@ -674,21 +754,22 @@ public java.lang.String getStartingPhaseId() { } } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for startingPhaseId. */ - public com.google.protobuf.ByteString - getStartingPhaseIdBytes() { + public com.google.protobuf.ByteString getStartingPhaseIdBytes() { java.lang.Object ref = startingPhaseId_; 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); startingPhaseId_ = b; return b; } else { @@ -696,30 +777,37 @@ public java.lang.String getStartingPhaseId() { } } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The startingPhaseId to set. * @return This builder for chaining. */ - public Builder setStartingPhaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartingPhaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } startingPhaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStartingPhaseId() { @@ -729,27 +817,31 @@ public Builder clearStartingPhaseId() { return this; } /** + * + * *
      * Optional. The starting phase ID for the `Rollout`. If unspecified, the
      * `Rollout` will start in the stable phase.
      * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for startingPhaseId to set. * @return This builder for chaining. */ - public Builder setStartingPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartingPhaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); startingPhaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +851,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RollbackTargetConfig) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RollbackTargetConfig) private static final com.google.cloud.deploy.v1.RollbackTargetConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RollbackTargetConfig(); } @@ -773,27 +865,27 @@ public static com.google.cloud.deploy.v1.RollbackTargetConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackTargetConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackTargetConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,6 +900,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RollbackTargetConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfigOrBuilder.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfigOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfigOrBuilder.java index 32e437d6f660..f2a2b0cf4448 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetConfigOrBuilder.java @@ -1,58 +1,90 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RollbackTargetConfigOrBuilder extends +public interface RollbackTargetConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RollbackTargetConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The rollback `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
    * Optional. The rollback `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ com.google.cloud.deploy.v1.Rollout getRollout(); /** + * + * *
    * Optional. The rollback `Rollout` to create.
    * 
* - * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder(); /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The startingPhaseId. */ java.lang.String getStartingPhaseId(); /** + * + * *
    * Optional. The starting phase ID for the `Rollout`. If unspecified, the
    * `Rollout` will start in the stable phase.
    * 
* * string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for startingPhaseId. */ - com.google.protobuf.ByteString - getStartingPhaseIdBytes(); + com.google.protobuf.ByteString getStartingPhaseIdBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequest.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequest.java index 18ec3d156e24..208e764119dc 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `RollbackTarget`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackTargetRequest} */ -public final class RollbackTargetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackTargetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RollbackTargetRequest) RollbackTargetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackTargetRequest.newBuilder() to construct. private RollbackTargetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackTargetRequest() { name_ = ""; targetId_ = ""; @@ -29,35 +47,42 @@ private RollbackTargetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackTargetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackTargetRequest.class, com.google.cloud.deploy.v1.RollbackTargetRequest.Builder.class); + com.google.cloud.deploy.v1.RollbackTargetRequest.class, + com.google.cloud.deploy.v1.RollbackTargetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +91,33 @@ 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 `DeliveryPipeline` for which the rollback `Rollout` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -99,14 +126,18 @@ public java.lang.String getName() { } public static final int TARGET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * Required. ID of the `Target` that is being rolled back.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ @java.lang.Override @@ -115,29 +146,29 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * Required. ID of the `Target` that is being rolled back.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -146,14 +177,18 @@ public java.lang.String getTargetId() { } public static final int ROLLOUT_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutId_ = ""; /** + * + * *
    * Required. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rolloutId. */ @java.lang.Override @@ -162,29 +197,29 @@ public java.lang.String getRolloutId() { 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(); rolloutId_ = s; return s; } } /** + * + * *
    * Required. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rolloutId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutIdBytes() { + public com.google.protobuf.ByteString getRolloutIdBytes() { java.lang.Object ref = rolloutId_; 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); rolloutId_ = b; return b; } else { @@ -193,9 +228,12 @@ public java.lang.String getRolloutId() { } public static final int RELEASE_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object releaseId_ = ""; /** + * + * *
    * Optional. ID of the `Release` to roll back to. If this isn't specified, the
    * previous successful `Rollout` to the specified target will be used to
@@ -203,6 +241,7 @@ public java.lang.String getRolloutId() {
    * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseId. */ @java.lang.Override @@ -211,14 +250,15 @@ public java.lang.String getReleaseId() { 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(); releaseId_ = s; return s; } } /** + * + * *
    * Optional. ID of the `Release` to roll back to. If this isn't specified, the
    * previous successful `Rollout` to the specified target will be used to
@@ -226,16 +266,15 @@ public java.lang.String getReleaseId() {
    * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for releaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseIdBytes() { + public com.google.protobuf.ByteString getReleaseIdBytes() { java.lang.Object ref = releaseId_; 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); releaseId_ = b; return b; } else { @@ -244,15 +283,19 @@ public java.lang.String getReleaseId() { } public static final int ROLLOUT_TO_ROLL_BACK_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutToRollBack_ = ""; /** + * + * *
    * Optional. If provided, this must be the latest `Rollout` that is on the
    * `Target`.
    * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rolloutToRollBack. */ @java.lang.Override @@ -261,30 +304,30 @@ public java.lang.String getRolloutToRollBack() { 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(); rolloutToRollBack_ = s; return s; } } /** + * + * *
    * Optional. If provided, this must be the latest `Rollout` that is on the
    * `Target`.
    * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rolloutToRollBack. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutToRollBackBytes() { + public com.google.protobuf.ByteString getRolloutToRollBackBytes() { java.lang.Object ref = rolloutToRollBack_; 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); rolloutToRollBack_ = b; return b; } else { @@ -295,11 +338,16 @@ public java.lang.String getRolloutToRollBack() { public static final int ROLLBACK_CONFIG_FIELD_NUMBER = 6; private com.google.cloud.deploy.v1.RollbackTargetConfig rollbackConfig_; /** + * + * *
    * Optional. Configs for the rollback `Rollout`.
    * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollbackConfig field is set. */ @java.lang.Override @@ -307,38 +355,54 @@ public boolean hasRollbackConfig() { return rollbackConfig_ != null; } /** + * + * *
    * Optional. Configs for the rollback `Rollout`.
    * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollbackConfig. */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackTargetConfig getRollbackConfig() { - return rollbackConfig_ == null ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } /** + * + * *
    * Optional. Configs for the rollback `Rollout`.
    * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder() { - return rollbackConfig_ == null ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 7; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with a `RollbackTargetResponse`.
    * 
* * bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -347,6 +411,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,8 +423,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_); } @@ -406,12 +470,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, rolloutToRollBack_); } if (rollbackConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRollbackConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRollbackConfig()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -421,30 +483,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.cloud.deploy.v1.RollbackTargetRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RollbackTargetRequest other = (com.google.cloud.deploy.v1.RollbackTargetRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getTargetId() - .equals(other.getTargetId())) return false; - if (!getRolloutId() - .equals(other.getRolloutId())) return false; - if (!getReleaseId() - .equals(other.getReleaseId())) return false; - if (!getRolloutToRollBack() - .equals(other.getRolloutToRollBack())) return false; + com.google.cloud.deploy.v1.RollbackTargetRequest other = + (com.google.cloud.deploy.v1.RollbackTargetRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; + if (!getRolloutId().equals(other.getRolloutId())) return false; + if (!getReleaseId().equals(other.getReleaseId())) return false; + if (!getRolloutToRollBack().equals(other.getRolloutToRollBack())) return false; if (hasRollbackConfig() != other.hasRollbackConfig()) return false; if (hasRollbackConfig()) { - if (!getRollbackConfig() - .equals(other.getRollbackConfig())) return false; + if (!getRollbackConfig().equals(other.getRollbackConfig())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -471,139 +527,142 @@ public int hashCode() { hash = (53 * hash) + getRollbackConfig().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RollbackTargetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RollbackTargetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackTargetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RollbackTargetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `RollbackTarget`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackTargetRequest} */ - 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.cloud.deploy.v1.RollbackTargetRequest) com.google.cloud.deploy.v1.RollbackTargetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackTargetRequest.class, com.google.cloud.deploy.v1.RollbackTargetRequest.Builder.class); + com.google.cloud.deploy.v1.RollbackTargetRequest.class, + com.google.cloud.deploy.v1.RollbackTargetRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.RollbackTargetRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; } @java.lang.Override @@ -644,8 +703,11 @@ public com.google.cloud.deploy.v1.RollbackTargetRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.RollbackTargetRequest buildPartial() { - com.google.cloud.deploy.v1.RollbackTargetRequest result = new com.google.cloud.deploy.v1.RollbackTargetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RollbackTargetRequest result = + new com.google.cloud.deploy.v1.RollbackTargetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -668,9 +730,8 @@ private void buildPartial0(com.google.cloud.deploy.v1.RollbackTargetRequest resu result.rolloutToRollBack_ = rolloutToRollBack_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.rollbackConfig_ = rollbackConfigBuilder_ == null - ? rollbackConfig_ - : rollbackConfigBuilder_.build(); + result.rollbackConfig_ = + rollbackConfigBuilder_ == null ? rollbackConfig_ : rollbackConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.validateOnly_ = validateOnly_; @@ -681,38 +742,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RollbackTargetRequest resu 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) { + 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) { + 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.cloud.deploy.v1.RollbackTargetRequest) { - return mergeFrom((com.google.cloud.deploy.v1.RollbackTargetRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.RollbackTargetRequest) other); } else { super.mergeFrom(other); return this; @@ -720,7 +782,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.RollbackTargetRequest other) { - if (other == com.google.cloud.deploy.v1.RollbackTargetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.RollbackTargetRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -778,49 +841,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - targetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - rolloutId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - releaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - rolloutToRollBack_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getRollbackConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + targetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + rolloutId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + releaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + rolloutToRollBack_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getRollbackConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -830,24 +899,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -856,22 +930,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -879,32 +956,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -914,19 +1002,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
      * created. Format should be
      * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -936,18 +1030,20 @@ public Builder setNameBytes( private java.lang.Object targetId_ = ""; /** + * + * *
      * Required. ID of the `Target` that is being rolled back.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -956,20 +1052,21 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Required. ID of the `Target` that is being rolled back.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -977,28 +1074,35 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Required. ID of the `Target` that is being rolled back.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the `Target` that is being rolled back.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -1008,17 +1112,21 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * Required. ID of the `Target` that is being rolled back.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000002; @@ -1028,18 +1136,20 @@ public Builder setTargetIdBytes( private java.lang.Object rolloutId_ = ""; /** + * + * *
      * Required. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rolloutId. */ public java.lang.String getRolloutId() { java.lang.Object ref = rolloutId_; 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(); rolloutId_ = s; return s; @@ -1048,20 +1158,21 @@ public java.lang.String getRolloutId() { } } /** + * + * *
      * Required. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rolloutId. */ - public com.google.protobuf.ByteString - getRolloutIdBytes() { + public com.google.protobuf.ByteString getRolloutIdBytes() { java.lang.Object ref = rolloutId_; 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); rolloutId_ = b; return b; } else { @@ -1069,28 +1180,35 @@ public java.lang.String getRolloutId() { } } /** + * + * *
      * Required. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRolloutId() { @@ -1100,17 +1218,21 @@ public Builder clearRolloutId() { return this; } /** + * + * *
      * Required. ID of the rollback `Rollout` to create.
      * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for rolloutId to set. * @return This builder for chaining. */ - public Builder setRolloutIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutId_ = value; bitField0_ |= 0x00000004; @@ -1120,6 +1242,8 @@ public Builder setRolloutIdBytes( private java.lang.Object releaseId_ = ""; /** + * + * *
      * Optional. ID of the `Release` to roll back to. If this isn't specified, the
      * previous successful `Rollout` to the specified target will be used to
@@ -1127,13 +1251,13 @@ public Builder setRolloutIdBytes(
      * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseId. */ public java.lang.String getReleaseId() { java.lang.Object ref = releaseId_; 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(); releaseId_ = s; return s; @@ -1142,6 +1266,8 @@ public java.lang.String getReleaseId() { } } /** + * + * *
      * Optional. ID of the `Release` to roll back to. If this isn't specified, the
      * previous successful `Rollout` to the specified target will be used to
@@ -1149,15 +1275,14 @@ public java.lang.String getReleaseId() {
      * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for releaseId. */ - public com.google.protobuf.ByteString - getReleaseIdBytes() { + public com.google.protobuf.ByteString getReleaseIdBytes() { java.lang.Object ref = releaseId_; 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); releaseId_ = b; return b; } else { @@ -1165,6 +1290,8 @@ public java.lang.String getReleaseId() { } } /** + * + * *
      * Optional. ID of the `Release` to roll back to. If this isn't specified, the
      * previous successful `Rollout` to the specified target will be used to
@@ -1172,18 +1299,22 @@ public java.lang.String getReleaseId() {
      * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The releaseId to set. * @return This builder for chaining. */ - public Builder setReleaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } releaseId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. ID of the `Release` to roll back to. If this isn't specified, the
      * previous successful `Rollout` to the specified target will be used to
@@ -1191,6 +1322,7 @@ public Builder setReleaseId(
      * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearReleaseId() { @@ -1200,6 +1332,8 @@ public Builder clearReleaseId() { return this; } /** + * + * *
      * Optional. ID of the `Release` to roll back to. If this isn't specified, the
      * previous successful `Rollout` to the specified target will be used to
@@ -1207,12 +1341,14 @@ public Builder clearReleaseId() {
      * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for releaseId to set. * @return This builder for chaining. */ - public Builder setReleaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); releaseId_ = value; bitField0_ |= 0x00000008; @@ -1222,19 +1358,21 @@ public Builder setReleaseIdBytes( private java.lang.Object rolloutToRollBack_ = ""; /** + * + * *
      * Optional. If provided, this must be the latest `Rollout` that is on the
      * `Target`.
      * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rolloutToRollBack. */ public java.lang.String getRolloutToRollBack() { java.lang.Object ref = rolloutToRollBack_; 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(); rolloutToRollBack_ = s; return s; @@ -1243,21 +1381,22 @@ public java.lang.String getRolloutToRollBack() { } } /** + * + * *
      * Optional. If provided, this must be the latest `Rollout` that is on the
      * `Target`.
      * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rolloutToRollBack. */ - public com.google.protobuf.ByteString - getRolloutToRollBackBytes() { + public com.google.protobuf.ByteString getRolloutToRollBackBytes() { java.lang.Object ref = rolloutToRollBack_; 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); rolloutToRollBack_ = b; return b; } else { @@ -1265,30 +1404,37 @@ public java.lang.String getRolloutToRollBack() { } } /** + * + * *
      * Optional. If provided, this must be the latest `Rollout` that is on the
      * `Target`.
      * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The rolloutToRollBack to set. * @return This builder for chaining. */ - public Builder setRolloutToRollBack( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutToRollBack(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutToRollBack_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. If provided, this must be the latest `Rollout` that is on the
      * `Target`.
      * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRolloutToRollBack() { @@ -1298,18 +1444,22 @@ public Builder clearRolloutToRollBack() { return this; } /** + * + * *
      * Optional. If provided, this must be the latest `Rollout` that is on the
      * `Target`.
      * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for rolloutToRollBack to set. * @return This builder for chaining. */ - public Builder setRolloutToRollBackBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutToRollBackBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutToRollBack_ = value; bitField0_ |= 0x00000010; @@ -1319,39 +1469,58 @@ public Builder setRolloutToRollBackBytes( private com.google.cloud.deploy.v1.RollbackTargetConfig rollbackConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackTargetConfig, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> rollbackConfigBuilder_; + com.google.cloud.deploy.v1.RollbackTargetConfig, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, + com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> + rollbackConfigBuilder_; /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollbackConfig field is set. */ public boolean hasRollbackConfig() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollbackConfig. */ public com.google.cloud.deploy.v1.RollbackTargetConfig getRollbackConfig() { if (rollbackConfigBuilder_ == null) { - return rollbackConfig_ == null ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } else { return rollbackConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollbackConfig(com.google.cloud.deploy.v1.RollbackTargetConfig value) { if (rollbackConfigBuilder_ == null) { @@ -1367,11 +1536,15 @@ public Builder setRollbackConfig(com.google.cloud.deploy.v1.RollbackTargetConfig return this; } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollbackConfig( com.google.cloud.deploy.v1.RollbackTargetConfig.Builder builderForValue) { @@ -1385,17 +1558,22 @@ public Builder setRollbackConfig( return this; } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRollbackConfig(com.google.cloud.deploy.v1.RollbackTargetConfig value) { if (rollbackConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - rollbackConfig_ != null && - rollbackConfig_ != com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && rollbackConfig_ != null + && rollbackConfig_ + != com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance()) { getRollbackConfigBuilder().mergeFrom(value); } else { rollbackConfig_ = value; @@ -1408,11 +1586,15 @@ public Builder mergeRollbackConfig(com.google.cloud.deploy.v1.RollbackTargetConf return this; } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRollbackConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1425,11 +1607,15 @@ public Builder clearRollbackConfig() { return this; } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.RollbackTargetConfig.Builder getRollbackConfigBuilder() { bitField0_ |= 0x00000020; @@ -1437,49 +1623,64 @@ public com.google.cloud.deploy.v1.RollbackTargetConfig.Builder getRollbackConfig return getRollbackConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder() { if (rollbackConfigBuilder_ != null) { return rollbackConfigBuilder_.getMessageOrBuilder(); } else { - return rollbackConfig_ == null ? - com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } } /** + * + * *
      * Optional. Configs for the rollback `Rollout`.
      * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackTargetConfig, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> + com.google.cloud.deploy.v1.RollbackTargetConfig, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, + com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> getRollbackConfigFieldBuilder() { if (rollbackConfigBuilder_ == null) { - rollbackConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackTargetConfig, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder>( - getRollbackConfig(), - getParentForChildren(), - isClean()); + rollbackConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RollbackTargetConfig, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, + com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder>( + getRollbackConfig(), getParentForChildren(), isClean()); rollbackConfig_ = null; } return rollbackConfigBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with a `RollbackTargetResponse`.
      * 
* * bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1487,12 +1688,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with a `RollbackTargetResponse`.
      * 
* * bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1504,12 +1708,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with a `RollbackTargetResponse`.
      * 
* * bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1518,9 +1725,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1530,12 +1737,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RollbackTargetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RollbackTargetRequest) private static final com.google.cloud.deploy.v1.RollbackTargetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RollbackTargetRequest(); } @@ -1544,27 +1751,27 @@ public static com.google.cloud.deploy.v1.RollbackTargetRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackTargetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackTargetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1579,6 +1786,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RollbackTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequestOrBuilder.java index 6ae033215f99..cc39cee6e7d3 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetRequestOrBuilder.java @@ -1,77 +1,114 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RollbackTargetRequestOrBuilder extends +public interface RollbackTargetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RollbackTargetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
    * created. Format should be
    * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. ID of the `Target` that is being rolled back.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * Required. ID of the `Target` that is being rolled back.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Required. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rolloutId. */ java.lang.String getRolloutId(); /** + * + * *
    * Required. ID of the rollback `Rollout` to create.
    * 
* * string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rolloutId. */ - com.google.protobuf.ByteString - getRolloutIdBytes(); + com.google.protobuf.ByteString getRolloutIdBytes(); /** + * + * *
    * Optional. ID of the `Release` to roll back to. If this isn't specified, the
    * previous successful `Rollout` to the specified target will be used to
@@ -79,10 +116,13 @@ public interface RollbackTargetRequestOrBuilder extends
    * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseId. */ java.lang.String getReleaseId(); /** + * + * *
    * Optional. ID of the `Release` to roll back to. If this isn't specified, the
    * previous successful `Rollout` to the specified target will be used to
@@ -90,67 +130,89 @@ public interface RollbackTargetRequestOrBuilder extends
    * 
* * string release_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for releaseId. */ - com.google.protobuf.ByteString - getReleaseIdBytes(); + com.google.protobuf.ByteString getReleaseIdBytes(); /** + * + * *
    * Optional. If provided, this must be the latest `Rollout` that is on the
    * `Target`.
    * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The rolloutToRollBack. */ java.lang.String getRolloutToRollBack(); /** + * + * *
    * Optional. If provided, this must be the latest `Rollout` that is on the
    * `Target`.
    * 
* * string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for rolloutToRollBack. */ - com.google.protobuf.ByteString - getRolloutToRollBackBytes(); + com.google.protobuf.ByteString getRolloutToRollBackBytes(); /** + * + * *
    * Optional. Configs for the rollback `Rollout`.
    * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollbackConfig field is set. */ boolean hasRollbackConfig(); /** + * + * *
    * Optional. Configs for the rollback `Rollout`.
    * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollbackConfig. */ com.google.cloud.deploy.v1.RollbackTargetConfig getRollbackConfig(); /** + * + * *
    * Optional. Configs for the rollback `Rollout`.
    * 
* - * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with a `RollbackTargetResponse`.
    * 
* * bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponse.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponse.java index 5031fff756e7..913d5feb7b66 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `RollbackTarget`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackTargetResponse} */ -public final class RollbackTargetResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackTargetResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RollbackTargetResponse) RollbackTargetResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackTargetResponse.newBuilder() to construct. private RollbackTargetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RollbackTargetResponse() { - } + + private RollbackTargetResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackTargetResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackTargetResponse.class, com.google.cloud.deploy.v1.RollbackTargetResponse.Builder.class); + com.google.cloud.deploy.v1.RollbackTargetResponse.class, + com.google.cloud.deploy.v1.RollbackTargetResponse.Builder.class); } public static final int ROLLBACK_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.deploy.v1.RollbackTargetConfig rollbackConfig_; /** + * + * *
    * The config of the rollback `Rollout` created or will be created.
    * 
* * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1; + * * @return Whether the rollbackConfig field is set. */ @java.lang.Override @@ -57,18 +78,25 @@ public boolean hasRollbackConfig() { return rollbackConfig_ != null; } /** + * + * *
    * The config of the rollback `Rollout` created or will be created.
    * 
* * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1; + * * @return The rollbackConfig. */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackTargetConfig getRollbackConfig() { - return rollbackConfig_ == null ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } /** + * + * *
    * The config of the rollback `Rollout` created or will be created.
    * 
@@ -77,10 +105,13 @@ public com.google.cloud.deploy.v1.RollbackTargetConfig getRollbackConfig() { */ @java.lang.Override public com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder() { - return rollbackConfig_ == null ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +123,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 (rollbackConfig_ != null) { output.writeMessage(1, getRollbackConfig()); } @@ -107,8 +137,7 @@ public int getSerializedSize() { size = 0; if (rollbackConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRollbackConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRollbackConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,17 +147,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.cloud.deploy.v1.RollbackTargetResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RollbackTargetResponse other = (com.google.cloud.deploy.v1.RollbackTargetResponse) obj; + com.google.cloud.deploy.v1.RollbackTargetResponse other = + (com.google.cloud.deploy.v1.RollbackTargetResponse) obj; if (hasRollbackConfig() != other.hasRollbackConfig()) return false; if (hasRollbackConfig()) { - if (!getRollbackConfig() - .equals(other.getRollbackConfig())) return false; + if (!getRollbackConfig().equals(other.getRollbackConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -151,131 +180,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.RollbackTargetResponse 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.cloud.deploy.v1.RollbackTargetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RollbackTargetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RollbackTargetResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RollbackTargetResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RollbackTargetResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `RollbackTarget`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.RollbackTargetResponse} */ - 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.cloud.deploy.v1.RollbackTargetResponse) com.google.cloud.deploy.v1.RollbackTargetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.RollbackTargetResponse.class, com.google.cloud.deploy.v1.RollbackTargetResponse.Builder.class); + com.google.cloud.deploy.v1.RollbackTargetResponse.class, + com.google.cloud.deploy.v1.RollbackTargetResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.RollbackTargetResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; } @java.lang.Override @@ -310,8 +343,11 @@ public com.google.cloud.deploy.v1.RollbackTargetResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.RollbackTargetResponse buildPartial() { - com.google.cloud.deploy.v1.RollbackTargetResponse result = new com.google.cloud.deploy.v1.RollbackTargetResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.RollbackTargetResponse result = + new com.google.cloud.deploy.v1.RollbackTargetResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +355,8 @@ public com.google.cloud.deploy.v1.RollbackTargetResponse buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.RollbackTargetResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rollbackConfig_ = rollbackConfigBuilder_ == null - ? rollbackConfig_ - : rollbackConfigBuilder_.build(); + result.rollbackConfig_ = + rollbackConfigBuilder_ == null ? rollbackConfig_ : rollbackConfigBuilder_.build(); } } @@ -329,38 +364,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RollbackTargetResponse res 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) { + 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) { + 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.cloud.deploy.v1.RollbackTargetResponse) { - return mergeFrom((com.google.cloud.deploy.v1.RollbackTargetResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.RollbackTargetResponse) other); } else { super.mergeFrom(other); return this; @@ -368,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.RollbackTargetResponse other) { - if (other == com.google.cloud.deploy.v1.RollbackTargetResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.RollbackTargetResponse.getDefaultInstance()) + return this; if (other.hasRollbackConfig()) { mergeRollbackConfig(other.getRollbackConfig()); } @@ -398,19 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRollbackConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRollbackConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,38 +457,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.deploy.v1.RollbackTargetConfig rollbackConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackTargetConfig, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> rollbackConfigBuilder_; + com.google.cloud.deploy.v1.RollbackTargetConfig, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, + com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> + rollbackConfigBuilder_; /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
* * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1; + * * @return Whether the rollbackConfig field is set. */ public boolean hasRollbackConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
* * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1; + * * @return The rollbackConfig. */ public com.google.cloud.deploy.v1.RollbackTargetConfig getRollbackConfig() { if (rollbackConfigBuilder_ == null) { - return rollbackConfig_ == null ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } else { return rollbackConfigBuilder_.getMessage(); } } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
@@ -472,6 +523,8 @@ public Builder setRollbackConfig(com.google.cloud.deploy.v1.RollbackTargetConfig return this; } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
@@ -490,6 +543,8 @@ public Builder setRollbackConfig( return this; } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
@@ -498,9 +553,10 @@ public Builder setRollbackConfig( */ public Builder mergeRollbackConfig(com.google.cloud.deploy.v1.RollbackTargetConfig value) { if (rollbackConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - rollbackConfig_ != null && - rollbackConfig_ != com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && rollbackConfig_ != null + && rollbackConfig_ + != com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance()) { getRollbackConfigBuilder().mergeFrom(value); } else { rollbackConfig_ = value; @@ -513,6 +569,8 @@ public Builder mergeRollbackConfig(com.google.cloud.deploy.v1.RollbackTargetConf return this; } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
@@ -530,6 +588,8 @@ public Builder clearRollbackConfig() { return this; } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
@@ -542,6 +602,8 @@ public com.google.cloud.deploy.v1.RollbackTargetConfig.Builder getRollbackConfig return getRollbackConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
@@ -552,11 +614,14 @@ public com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder getRollbackConfi if (rollbackConfigBuilder_ != null) { return rollbackConfigBuilder_.getMessageOrBuilder(); } else { - return rollbackConfig_ == null ? - com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() : rollbackConfig_; + return rollbackConfig_ == null + ? com.google.cloud.deploy.v1.RollbackTargetConfig.getDefaultInstance() + : rollbackConfig_; } } /** + * + * *
      * The config of the rollback `Rollout` created or will be created.
      * 
@@ -564,21 +629,24 @@ public com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder getRollbackConfi * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackTargetConfig, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> + com.google.cloud.deploy.v1.RollbackTargetConfig, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, + com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder> getRollbackConfigFieldBuilder() { if (rollbackConfigBuilder_ == null) { - rollbackConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.RollbackTargetConfig, com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder>( - getRollbackConfig(), - getParentForChildren(), - isClean()); + rollbackConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.RollbackTargetConfig, + com.google.cloud.deploy.v1.RollbackTargetConfig.Builder, + com.google.cloud.deploy.v1.RollbackTargetConfigOrBuilder>( + getRollbackConfig(), getParentForChildren(), isClean()); rollbackConfig_ = null; } return rollbackConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +656,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RollbackTargetResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RollbackTargetResponse) private static final com.google.cloud.deploy.v1.RollbackTargetResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RollbackTargetResponse(); } @@ -602,27 +670,27 @@ public static com.google.cloud.deploy.v1.RollbackTargetResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackTargetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackTargetResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -637,6 +705,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RollbackTargetResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponseOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponseOrBuilder.java index 25dcd5bc3c38..70dcb0d9196d 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RollbackTargetResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RollbackTargetResponseOrBuilder extends +public interface RollbackTargetResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RollbackTargetResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The config of the rollback `Rollout` created or will be created.
    * 
* * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1; + * * @return Whether the rollbackConfig field is set. */ boolean hasRollbackConfig(); /** + * + * *
    * The config of the rollback `Rollout` created or will be created.
    * 
* * .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1; + * * @return The rollbackConfig. */ com.google.cloud.deploy.v1.RollbackTargetConfig getRollbackConfig(); /** + * + * *
    * The config of the rollback `Rollout` created or will be created.
    * 
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java similarity index 67% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java index 642d38662085..586d152df19b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A `Rollout` resource in the Cloud Deploy API.
  *
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.Rollout}
  */
-public final class Rollout extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Rollout extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Rollout)
     RolloutOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Rollout.newBuilder() to construct.
   private Rollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Rollout() {
     name_ = "";
     uid_ = "";
@@ -35,54 +53,56 @@ private Rollout() {
     phases_ = java.util.Collections.emptyList();
     controllerRollout_ = "";
     rollbackOfRollout_ = "";
-    rolledBackByRollouts_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    rolledBackByRollouts_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Rollout();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollout_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Rollout_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetAnnotations();
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.Rollout.class, com.google.cloud.deploy.v1.Rollout.Builder.class);
+            com.google.cloud.deploy.v1.Rollout.class,
+            com.google.cloud.deploy.v1.Rollout.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Valid approval states of a `Rollout`.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.Rollout.ApprovalState} */ - public enum ApprovalState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The `Rollout` has an unspecified approval state.
      * 
@@ -91,6 +111,8 @@ public enum ApprovalState */ APPROVAL_STATE_UNSPECIFIED(0), /** + * + * *
      * The `Rollout` requires approval.
      * 
@@ -99,6 +121,8 @@ public enum ApprovalState */ NEEDS_APPROVAL(1), /** + * + * *
      * The `Rollout` does not require approval.
      * 
@@ -107,6 +131,8 @@ public enum ApprovalState */ DOES_NOT_NEED_APPROVAL(2), /** + * + * *
      * The `Rollout` has been approved.
      * 
@@ -115,6 +141,8 @@ public enum ApprovalState */ APPROVED(3), /** + * + * *
      * The `Rollout` has been rejected.
      * 
@@ -126,6 +154,8 @@ public enum ApprovalState ; /** + * + * *
      * The `Rollout` has an unspecified approval state.
      * 
@@ -134,6 +164,8 @@ public enum ApprovalState */ public static final int APPROVAL_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The `Rollout` requires approval.
      * 
@@ -142,6 +174,8 @@ public enum ApprovalState */ public static final int NEEDS_APPROVAL_VALUE = 1; /** + * + * *
      * The `Rollout` does not require approval.
      * 
@@ -150,6 +184,8 @@ public enum ApprovalState */ public static final int DOES_NOT_NEED_APPROVAL_VALUE = 2; /** + * + * *
      * The `Rollout` has been approved.
      * 
@@ -158,6 +194,8 @@ public enum ApprovalState */ public static final int APPROVED_VALUE = 3; /** + * + * *
      * The `Rollout` has been rejected.
      * 
@@ -166,7 +204,6 @@ public enum ApprovalState */ public static final int REJECTED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -191,51 +228,53 @@ public static ApprovalState valueOf(int value) { */ public static ApprovalState forNumber(int value) { switch (value) { - case 0: return APPROVAL_STATE_UNSPECIFIED; - case 1: return NEEDS_APPROVAL; - case 2: return DOES_NOT_NEED_APPROVAL; - case 3: return APPROVED; - case 4: return REJECTED; - default: return null; + case 0: + return APPROVAL_STATE_UNSPECIFIED; + case 1: + return NEEDS_APPROVAL; + case 2: + return DOES_NOT_NEED_APPROVAL; + case 3: + return APPROVED; + case 4: + return REJECTED; + 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< - ApprovalState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ApprovalState findValueByNumber(int number) { - return ApprovalState.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 ApprovalState findValueByNumber(int number) { + return ApprovalState.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.Rollout.getDescriptor().getEnumTypes().get(0); } private static final ApprovalState[] VALUES = values(); - public static ApprovalState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ApprovalState 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; @@ -253,15 +292,18 @@ private ApprovalState(int value) { } /** + * + * *
    * Valid states of a `Rollout`.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.Rollout.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The `Rollout` has an unspecified state.
      * 
@@ -270,6 +312,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The `Rollout` has completed successfully.
      * 
@@ -278,6 +322,8 @@ public enum State */ SUCCEEDED(1), /** + * + * *
      * The `Rollout` has failed.
      * 
@@ -286,6 +332,8 @@ public enum State */ FAILED(2), /** + * + * *
      * The `Rollout` is being deployed.
      * 
@@ -294,6 +342,8 @@ public enum State */ IN_PROGRESS(3), /** + * + * *
      * The `Rollout` needs approval.
      * 
@@ -302,6 +352,8 @@ public enum State */ PENDING_APPROVAL(4), /** + * + * *
      * An approver rejected the `Rollout`.
      * 
@@ -310,6 +362,8 @@ public enum State */ APPROVAL_REJECTED(5), /** + * + * *
      * The `Rollout` is waiting for an earlier Rollout(s) to complete on this
      * `Target`.
@@ -319,6 +373,8 @@ public enum State
      */
     PENDING(6),
     /**
+     *
+     *
      * 
      * The `Rollout` is waiting for the `Release` to be fully rendered.
      * 
@@ -327,6 +383,8 @@ public enum State */ PENDING_RELEASE(7), /** + * + * *
      * The `Rollout` is in the process of being cancelled.
      * 
@@ -335,6 +393,8 @@ public enum State */ CANCELLING(8), /** + * + * *
      * The `Rollout` has been cancelled.
      * 
@@ -343,6 +403,8 @@ public enum State */ CANCELLED(9), /** + * + * *
      * The `Rollout` is halted.
      * 
@@ -354,6 +416,8 @@ public enum State ; /** + * + * *
      * The `Rollout` has an unspecified state.
      * 
@@ -362,6 +426,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The `Rollout` has completed successfully.
      * 
@@ -370,6 +436,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
      * The `Rollout` has failed.
      * 
@@ -378,6 +446,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
      * The `Rollout` is being deployed.
      * 
@@ -386,6 +456,8 @@ public enum State */ public static final int IN_PROGRESS_VALUE = 3; /** + * + * *
      * The `Rollout` needs approval.
      * 
@@ -394,6 +466,8 @@ public enum State */ public static final int PENDING_APPROVAL_VALUE = 4; /** + * + * *
      * An approver rejected the `Rollout`.
      * 
@@ -402,6 +476,8 @@ public enum State */ public static final int APPROVAL_REJECTED_VALUE = 5; /** + * + * *
      * The `Rollout` is waiting for an earlier Rollout(s) to complete on this
      * `Target`.
@@ -411,6 +487,8 @@ public enum State
      */
     public static final int PENDING_VALUE = 6;
     /**
+     *
+     *
      * 
      * The `Rollout` is waiting for the `Release` to be fully rendered.
      * 
@@ -419,6 +497,8 @@ public enum State */ public static final int PENDING_RELEASE_VALUE = 7; /** + * + * *
      * The `Rollout` is in the process of being cancelled.
      * 
@@ -427,6 +507,8 @@ public enum State */ public static final int CANCELLING_VALUE = 8; /** + * + * *
      * The `Rollout` has been cancelled.
      * 
@@ -435,6 +517,8 @@ public enum State */ public static final int CANCELLED_VALUE = 9; /** + * + * *
      * The `Rollout` is halted.
      * 
@@ -443,7 +527,6 @@ public enum State */ public static final int HALTED_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -468,57 +551,65 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return SUCCEEDED; - case 2: return FAILED; - case 3: return IN_PROGRESS; - case 4: return PENDING_APPROVAL; - case 5: return APPROVAL_REJECTED; - case 6: return PENDING; - case 7: return PENDING_RELEASE; - case 8: return CANCELLING; - case 9: return CANCELLED; - case 10: return HALTED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return SUCCEEDED; + case 2: + return FAILED; + case 3: + return IN_PROGRESS; + case 4: + return PENDING_APPROVAL; + case 5: + return APPROVAL_REJECTED; + case 6: + return PENDING; + case 7: + return PENDING_RELEASE; + case 8: + return CANCELLING; + case 9: + return CANCELLED; + case 10: + return HALTED; + default: + return null; + } + } + + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.Rollout.getDescriptor().getEnumTypes().get(1); } 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; @@ -536,15 +627,18 @@ private State(int value) { } /** + * + * *
    * Well-known rollout failures.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.Rollout.FailureCause} */ - public enum FailureCause - implements com.google.protobuf.ProtocolMessageEnum { + public enum FailureCause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No reason for failure is specified.
      * 
@@ -553,6 +647,8 @@ public enum FailureCause */ FAILURE_CAUSE_UNSPECIFIED(0), /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -563,6 +659,8 @@ public enum FailureCause
      */
     CLOUD_BUILD_UNAVAILABLE(1),
     /**
+     *
+     *
      * 
      * The deploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -572,6 +670,8 @@ public enum FailureCause
      */
     EXECUTION_FAILED(2),
     /**
+     *
+     *
      * 
      * Deployment did not complete within the alloted time.
      * 
@@ -580,6 +680,8 @@ public enum FailureCause */ DEADLINE_EXCEEDED(3), /** + * + * *
      * Release is in a failed state.
      * 
@@ -588,6 +690,8 @@ public enum FailureCause */ RELEASE_FAILED(4), /** + * + * *
      * Release is abandoned.
      * 
@@ -596,6 +700,8 @@ public enum FailureCause */ RELEASE_ABANDONED(5), /** + * + * *
      * No Skaffold verify configuration was found.
      * 
@@ -604,6 +710,8 @@ public enum FailureCause */ VERIFICATION_CONFIG_NOT_FOUND(6), /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -613,6 +721,8 @@ public enum FailureCause
      */
     CLOUD_BUILD_REQUEST_FAILED(7),
     /**
+     *
+     *
      * 
      * A Rollout operation had a feature configured that is not supported.
      * 
@@ -624,6 +734,8 @@ public enum FailureCause ; /** + * + * *
      * No reason for failure is specified.
      * 
@@ -632,6 +744,8 @@ public enum FailureCause */ public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -642,6 +756,8 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_UNAVAILABLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The deploy operation did not complete successfully; check Cloud Build
      * logs.
@@ -651,6 +767,8 @@ public enum FailureCause
      */
     public static final int EXECUTION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * Deployment did not complete within the alloted time.
      * 
@@ -659,6 +777,8 @@ public enum FailureCause */ public static final int DEADLINE_EXCEEDED_VALUE = 3; /** + * + * *
      * Release is in a failed state.
      * 
@@ -667,6 +787,8 @@ public enum FailureCause */ public static final int RELEASE_FAILED_VALUE = 4; /** + * + * *
      * Release is abandoned.
      * 
@@ -675,6 +797,8 @@ public enum FailureCause */ public static final int RELEASE_ABANDONED_VALUE = 5; /** + * + * *
      * No Skaffold verify configuration was found.
      * 
@@ -683,6 +807,8 @@ public enum FailureCause */ public static final int VERIFICATION_CONFIG_NOT_FOUND_VALUE = 6; /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -692,6 +818,8 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_REQUEST_FAILED_VALUE = 7;
     /**
+     *
+     *
      * 
      * A Rollout operation had a feature configured that is not supported.
      * 
@@ -700,7 +828,6 @@ public enum FailureCause */ public static final int OPERATION_FEATURE_NOT_SUPPORTED_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -725,55 +852,61 @@ public static FailureCause valueOf(int value) { */ public static FailureCause forNumber(int value) { switch (value) { - case 0: return FAILURE_CAUSE_UNSPECIFIED; - case 1: return CLOUD_BUILD_UNAVAILABLE; - case 2: return EXECUTION_FAILED; - case 3: return DEADLINE_EXCEEDED; - case 4: return RELEASE_FAILED; - case 5: return RELEASE_ABANDONED; - case 6: return VERIFICATION_CONFIG_NOT_FOUND; - case 7: return CLOUD_BUILD_REQUEST_FAILED; - case 8: return OPERATION_FEATURE_NOT_SUPPORTED; - default: return null; + case 0: + return FAILURE_CAUSE_UNSPECIFIED; + case 1: + return CLOUD_BUILD_UNAVAILABLE; + case 2: + return EXECUTION_FAILED; + case 3: + return DEADLINE_EXCEEDED; + case 4: + return RELEASE_FAILED; + case 5: + return RELEASE_ABANDONED; + case 6: + return VERIFICATION_CONFIG_NOT_FOUND; + case 7: + return CLOUD_BUILD_REQUEST_FAILED; + case 8: + return OPERATION_FEATURE_NOT_SUPPORTED; + 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< - FailureCause> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FailureCause findValueByNumber(int number) { - return FailureCause.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 FailureCause findValueByNumber(int number) { + return FailureCause.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.Rollout.getDescriptor().getEnumTypes().get(2); } private static final FailureCause[] VALUES = values(); - public static FailureCause valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FailureCause 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; @@ -791,15 +924,19 @@ private FailureCause(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Optional. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ @java.lang.Override @@ -808,30 +945,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; } } /** + * + * *
    * Optional. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -840,14 +977,18 @@ public java.lang.String getName() { } public static final int UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. Unique identifier of the `Rollout`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -856,29 +997,29 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier of the `Rollout`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -887,15 +1028,19 @@ public java.lang.String getUid() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -904,30 +1049,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; } } /** + * + * *
    * Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* * string description = 3; + * * @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 { @@ -936,32 +1081,35 @@ public java.lang.String getDescription() { } public static final int ANNOTATIONS_FIELD_NUMBER = 4; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -971,20 +1119,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -998,6 +1147,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -1007,17 +1158,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -1027,11 +1180,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1039,32 +1192,34 @@ public java.lang.String getAnnotationsOrThrow(
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.deploy.v1.CloudDeployProto
+                .internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
+
   public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1082,20 +1237,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1117,6 +1273,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1134,17 +1292,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -1162,11 +1322,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1176,11 +1336,15 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. Time at which the `Rollout` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1188,11 +1352,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the `Rollout` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1200,11 +1368,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the `Rollout` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1214,11 +1385,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int APPROVE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp approveTime_; /** + * + * *
    * Output only. Time at which the `Rollout` was approved.
    * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the approveTime field is set. */ @java.lang.Override @@ -1226,11 +1401,15 @@ public boolean hasApproveTime() { return approveTime_ != null; } /** + * + * *
    * Output only. Time at which the `Rollout` was approved.
    * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approveTime. */ @java.lang.Override @@ -1238,11 +1417,14 @@ public com.google.protobuf.Timestamp getApproveTime() { return approveTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approveTime_; } /** + * + * *
    * Output only. Time at which the `Rollout` was approved.
    * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder() { @@ -1252,11 +1434,15 @@ public com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder() { public static final int ENQUEUE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp enqueueTime_; /** + * + * *
    * Output only. Time at which the `Rollout` was enqueued.
    * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enqueueTime field is set. */ @java.lang.Override @@ -1264,11 +1450,15 @@ public boolean hasEnqueueTime() { return enqueueTime_ != null; } /** + * + * *
    * Output only. Time at which the `Rollout` was enqueued.
    * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enqueueTime. */ @java.lang.Override @@ -1276,11 +1466,14 @@ public com.google.protobuf.Timestamp getEnqueueTime() { return enqueueTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enqueueTime_; } /** + * + * *
    * Output only. Time at which the `Rollout` was enqueued.
    * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEnqueueTimeOrBuilder() { @@ -1290,11 +1483,16 @@ public com.google.protobuf.TimestampOrBuilder getEnqueueTimeOrBuilder() { public static final int DEPLOY_START_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp deployStartTime_; /** + * + * *
    * Output only. Time at which the `Rollout` started deploying.
    * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployStartTime field is set. */ @java.lang.Override @@ -1302,37 +1500,55 @@ public boolean hasDeployStartTime() { return deployStartTime_ != null; } /** + * + * *
    * Output only. Time at which the `Rollout` started deploying.
    * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDeployStartTime() { - return deployStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployStartTime_; + return deployStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployStartTime_; } /** + * + * *
    * Output only. Time at which the `Rollout` started deploying.
    * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeployStartTimeOrBuilder() { - return deployStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployStartTime_; + return deployStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployStartTime_; } public static final int DEPLOY_END_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp deployEndTime_; /** + * + * *
    * Output only. Time at which the `Rollout` finished deploying.
    * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployEndTime field is set. */ @java.lang.Override @@ -1340,38 +1556,55 @@ public boolean hasDeployEndTime() { return deployEndTime_ != null; } /** + * + * *
    * Output only. Time at which the `Rollout` finished deploying.
    * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDeployEndTime() { - return deployEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployEndTime_; + return deployEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployEndTime_; } /** + * + * *
    * Output only. Time at which the `Rollout` finished deploying.
    * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeployEndTimeOrBuilder() { - return deployEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployEndTime_; + return deployEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployEndTime_; } public static final int TARGET_ID_FIELD_NUMBER = 18; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * Required. The ID of Target to which this `Rollout` is deploying.
    * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ @java.lang.Override @@ -1380,29 +1613,29 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * Required. The ID of Target to which this `Rollout` is deploying.
    * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -1413,65 +1646,95 @@ public java.lang.String getTargetId() { public static final int APPROVAL_STATE_FIELD_NUMBER = 12; private int approvalState_ = 0; /** + * + * *
    * Output only. Approval state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for approvalState. */ - @java.lang.Override public int getApprovalStateValue() { + @java.lang.Override + public int getApprovalStateValue() { return approvalState_; } /** + * + * *
    * Output only. Approval state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approvalState. */ - @java.lang.Override public com.google.cloud.deploy.v1.Rollout.ApprovalState getApprovalState() { - com.google.cloud.deploy.v1.Rollout.ApprovalState result = com.google.cloud.deploy.v1.Rollout.ApprovalState.forNumber(approvalState_); + @java.lang.Override + public com.google.cloud.deploy.v1.Rollout.ApprovalState getApprovalState() { + com.google.cloud.deploy.v1.Rollout.ApprovalState result = + com.google.cloud.deploy.v1.Rollout.ApprovalState.forNumber(approvalState_); return result == null ? com.google.cloud.deploy.v1.Rollout.ApprovalState.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 13; private int state_ = 0; /** - *
+   *
+   *
+   * 
    * Output only. Current state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.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. Current state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.deploy.v1.Rollout.State getState() { - com.google.cloud.deploy.v1.Rollout.State result = com.google.cloud.deploy.v1.Rollout.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.deploy.v1.Rollout.State getState() { + com.google.cloud.deploy.v1.Rollout.State result = + com.google.cloud.deploy.v1.Rollout.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.Rollout.State.UNRECOGNIZED : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object failureReason_ = ""; /** + * + * *
    * Output only. Additional information about the rollout failure, if
    * available.
    * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ @java.lang.Override @@ -1480,30 +1743,30 @@ public java.lang.String getFailureReason() { 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(); failureReason_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the rollout failure, if
    * available.
    * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; 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); failureReason_ = b; return b; } else { @@ -1512,16 +1775,22 @@ public java.lang.String getFailureReason() { } public static final int DEPLOYING_BUILD_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object deployingBuild_ = ""; /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy the Rollout. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The deployingBuild. */ @java.lang.Override @@ -1530,31 +1799,33 @@ public java.lang.String getDeployingBuild() { 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(); deployingBuild_ = s; return s; } } /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy the Rollout. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for deployingBuild. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeployingBuildBytes() { + public com.google.protobuf.ByteString getDeployingBuildBytes() { java.lang.Object ref = deployingBuild_; 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); deployingBuild_ = b; return b; } else { @@ -1563,9 +1834,12 @@ public java.lang.String getDeployingBuild() { } public static final int ETAG_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -1573,6 +1847,7 @@ public java.lang.String getDeployingBuild() {
    * 
* * string etag = 16; + * * @return The etag. */ @java.lang.Override @@ -1581,14 +1856,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -1596,16 +1872,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 16; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1616,100 +1891,138 @@ public java.lang.String getEtag() { public static final int DEPLOY_FAILURE_CAUSE_FIELD_NUMBER = 19; private int deployFailureCause_ = 0; /** + * + * *
    * Output only. The reason this rollout failed. This will always be
    * unspecified while the rollout is in progress.
    * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for deployFailureCause. */ - @java.lang.Override public int getDeployFailureCauseValue() { + @java.lang.Override + public int getDeployFailureCauseValue() { return deployFailureCause_; } /** + * + * *
    * Output only. The reason this rollout failed. This will always be
    * unspecified while the rollout is in progress.
    * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployFailureCause. */ - @java.lang.Override public com.google.cloud.deploy.v1.Rollout.FailureCause getDeployFailureCause() { - com.google.cloud.deploy.v1.Rollout.FailureCause result = com.google.cloud.deploy.v1.Rollout.FailureCause.forNumber(deployFailureCause_); + @java.lang.Override + public com.google.cloud.deploy.v1.Rollout.FailureCause getDeployFailureCause() { + com.google.cloud.deploy.v1.Rollout.FailureCause result = + com.google.cloud.deploy.v1.Rollout.FailureCause.forNumber(deployFailureCause_); return result == null ? com.google.cloud.deploy.v1.Rollout.FailureCause.UNRECOGNIZED : result; } public static final int PHASES_FIELD_NUMBER = 23; + @SuppressWarnings("serial") private java.util.List phases_; /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getPhasesList() { return phases_; } /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getPhasesOrBuilderList() { return phases_; } /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getPhasesCount() { return phases_.size(); } /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Phase getPhases(int index) { return phases_.get(index); } /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.PhaseOrBuilder getPhasesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.PhaseOrBuilder getPhasesOrBuilder(int index) { return phases_.get(index); } public static final int METADATA_FIELD_NUMBER = 24; private com.google.cloud.deploy.v1.Metadata metadata_; /** + * + * *
    * Output only. Metadata contains information about the rollout.
    * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1717,11 +2030,16 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Metadata contains information about the rollout.
    * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ @java.lang.Override @@ -1729,11 +2047,15 @@ public com.google.cloud.deploy.v1.Metadata getMetadata() { return metadata_ == null ? com.google.cloud.deploy.v1.Metadata.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Metadata contains information about the rollout.
    * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.MetadataOrBuilder getMetadataOrBuilder() { @@ -1741,15 +2063,19 @@ public com.google.cloud.deploy.v1.MetadataOrBuilder getMetadataOrBuilder() { } public static final int CONTROLLER_ROLLOUT_FIELD_NUMBER = 25; + @SuppressWarnings("serial") private volatile java.lang.Object controllerRollout_ = ""; /** + * + * *
    * Output only. Name of the `ControllerRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controllerRollout. */ @java.lang.Override @@ -1758,30 +2084,30 @@ public java.lang.String getControllerRollout() { 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(); controllerRollout_ = s; return s; } } /** + * + * *
    * Output only. Name of the `ControllerRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for controllerRollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getControllerRolloutBytes() { + public com.google.protobuf.ByteString getControllerRolloutBytes() { java.lang.Object ref = controllerRollout_; 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); controllerRollout_ = b; return b; } else { @@ -1790,15 +2116,19 @@ public java.lang.String getControllerRollout() { } public static final int ROLLBACK_OF_ROLLOUT_FIELD_NUMBER = 26; + @SuppressWarnings("serial") private volatile java.lang.Object rollbackOfRollout_ = ""; /** + * + * *
    * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
    * Empty if this `Rollout` wasn't created as a rollback.
    * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollbackOfRollout. */ @java.lang.Override @@ -1807,30 +2137,30 @@ public java.lang.String getRollbackOfRollout() { 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(); rollbackOfRollout_ = s; return s; } } /** + * + * *
    * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
    * Empty if this `Rollout` wasn't created as a rollback.
    * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollbackOfRollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRollbackOfRolloutBytes() { + public com.google.protobuf.ByteString getRollbackOfRolloutBytes() { java.lang.Object ref = rollbackOfRollout_; 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); rollbackOfRollout_ = b; return b; } else { @@ -1839,38 +2169,53 @@ public java.lang.String getRollbackOfRollout() { } public static final int ROLLED_BACK_BY_ROLLOUTS_FIELD_NUMBER = 27; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList rolledBackByRollouts_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the rolledBackByRollouts. */ - public com.google.protobuf.ProtocolStringList - getRolledBackByRolloutsList() { + public com.google.protobuf.ProtocolStringList getRolledBackByRolloutsList() { return rolledBackByRollouts_; } /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of rolledBackByRollouts. */ public int getRolledBackByRolloutsCount() { return rolledBackByRollouts_.size(); } /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The rolledBackByRollouts at the given index. */ @@ -1878,20 +2223,25 @@ public java.lang.String getRolledBackByRollouts(int index) { return rolledBackByRollouts_.get(index); } /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the rolledBackByRollouts at the given index. */ - public com.google.protobuf.ByteString - getRolledBackByRolloutsBytes(int index) { + public com.google.protobuf.ByteString getRolledBackByRolloutsBytes(int index) { return rolledBackByRollouts_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1903,8 +2253,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_); } @@ -1914,18 +2263,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 4); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (createTime_ != null) { output.writeMessage(6, getCreateTime()); } @@ -1941,7 +2282,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deployEndTime_ != null) { output.writeMessage(10, getDeployEndTime()); } - if (approvalState_ != com.google.cloud.deploy.v1.Rollout.ApprovalState.APPROVAL_STATE_UNSPECIFIED.getNumber()) { + if (approvalState_ + != com.google.cloud.deploy.v1.Rollout.ApprovalState.APPROVAL_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(12, approvalState_); } if (state_ != com.google.cloud.deploy.v1.Rollout.State.STATE_UNSPECIFIED.getNumber()) { @@ -1959,7 +2302,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, targetId_); } - if (deployFailureCause_ != com.google.cloud.deploy.v1.Rollout.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { + if (deployFailureCause_ + != com.google.cloud.deploy.v1.Rollout.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(19, deployFailureCause_); } for (int i = 0; i < phases_.size(); i++) { @@ -1975,7 +2319,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 26, rollbackOfRollout_); } for (int i = 0; i < rolledBackByRollouts_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 27, rolledBackByRollouts_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 27, rolledBackByRollouts_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -1995,53 +2340,48 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, annotations__); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, labels__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, annotations__); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (approveTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getApproveTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApproveTime()); } if (enqueueTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEnqueueTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEnqueueTime()); } if (deployStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getDeployStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeployStartTime()); } if (deployEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getDeployEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDeployEndTime()); } - if (approvalState_ != com.google.cloud.deploy.v1.Rollout.ApprovalState.APPROVAL_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, approvalState_); + if (approvalState_ + != com.google.cloud.deploy.v1.Rollout.ApprovalState.APPROVAL_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, approvalState_); } if (state_ != com.google.cloud.deploy.v1.Rollout.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(13, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, failureReason_); @@ -2055,17 +2395,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, targetId_); } - if (deployFailureCause_ != com.google.cloud.deploy.v1.Rollout.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(19, deployFailureCause_); + if (deployFailureCause_ + != com.google.cloud.deploy.v1.Rollout.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(19, deployFailureCause_); } for (int i = 0; i < phases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, phases_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, phases_.get(i)); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getMetadata()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controllerRollout_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, controllerRollout_); @@ -2089,72 +2427,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.Rollout)) { return super.equals(obj); } com.google.cloud.deploy.v1.Rollout other = (com.google.cloud.deploy.v1.Rollout) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasApproveTime() != other.hasApproveTime()) return false; if (hasApproveTime()) { - if (!getApproveTime() - .equals(other.getApproveTime())) return false; + if (!getApproveTime().equals(other.getApproveTime())) return false; } if (hasEnqueueTime() != other.hasEnqueueTime()) return false; if (hasEnqueueTime()) { - if (!getEnqueueTime() - .equals(other.getEnqueueTime())) return false; + if (!getEnqueueTime().equals(other.getEnqueueTime())) return false; } if (hasDeployStartTime() != other.hasDeployStartTime()) return false; if (hasDeployStartTime()) { - if (!getDeployStartTime() - .equals(other.getDeployStartTime())) return false; + if (!getDeployStartTime().equals(other.getDeployStartTime())) return false; } if (hasDeployEndTime() != other.hasDeployEndTime()) return false; if (hasDeployEndTime()) { - if (!getDeployEndTime() - .equals(other.getDeployEndTime())) return false; + if (!getDeployEndTime().equals(other.getDeployEndTime())) return false; } - if (!getTargetId() - .equals(other.getTargetId())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; if (approvalState_ != other.approvalState_) return false; if (state_ != other.state_) return false; - if (!getFailureReason() - .equals(other.getFailureReason())) return false; - if (!getDeployingBuild() - .equals(other.getDeployingBuild())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getFailureReason().equals(other.getFailureReason())) return false; + if (!getDeployingBuild().equals(other.getDeployingBuild())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (deployFailureCause_ != other.deployFailureCause_) return false; - if (!getPhasesList() - .equals(other.getPhasesList())) return false; + if (!getPhasesList().equals(other.getPhasesList())) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (!getControllerRollout() - .equals(other.getControllerRollout())) return false; - if (!getRollbackOfRollout() - .equals(other.getRollbackOfRollout())) return false; - if (!getRolledBackByRolloutsList() - .equals(other.getRolledBackByRolloutsList())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; + } + if (!getControllerRollout().equals(other.getControllerRollout())) return false; + if (!getRollbackOfRollout().equals(other.getRollbackOfRollout())) return false; + if (!getRolledBackByRolloutsList().equals(other.getRolledBackByRolloutsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2235,99 +2554,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Rollout parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Rollout parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Rollout parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Rollout parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Rollout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Rollout parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Rollout parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Rollout parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Rollout parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Rollout parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Rollout parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Rollout parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Rollout parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Rollout prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A `Rollout` resource in the Cloud Deploy API.
    *
@@ -2336,59 +2659,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.Rollout}
    */
-  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.cloud.deploy.v1.Rollout)
       com.google.cloud.deploy.v1.RolloutOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollout_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Rollout_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetAnnotations();
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableAnnotations();
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.Rollout.class, com.google.cloud.deploy.v1.Rollout.Builder.class);
+              com.google.cloud.deploy.v1.Rollout.class,
+              com.google.cloud.deploy.v1.Rollout.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.Rollout.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2444,15 +2764,14 @@ public Builder clear() {
       }
       controllerRollout_ = "";
       rollbackOfRollout_ = "";
-      rolledBackByRollouts_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      rolledBackByRollouts_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Rollout_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Rollout_descriptor;
     }
 
     @java.lang.Override
@@ -2473,7 +2792,9 @@ public com.google.cloud.deploy.v1.Rollout build() {
     public com.google.cloud.deploy.v1.Rollout buildPartial() {
       com.google.cloud.deploy.v1.Rollout result = new com.google.cloud.deploy.v1.Rollout(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2510,29 +2831,23 @@ private void buildPartial0(com.google.cloud.deploy.v1.Rollout result) {
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.approveTime_ = approveTimeBuilder_ == null
-            ? approveTime_
-            : approveTimeBuilder_.build();
+        result.approveTime_ =
+            approveTimeBuilder_ == null ? approveTime_ : approveTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.enqueueTime_ = enqueueTimeBuilder_ == null
-            ? enqueueTime_
-            : enqueueTimeBuilder_.build();
+        result.enqueueTime_ =
+            enqueueTimeBuilder_ == null ? enqueueTime_ : enqueueTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.deployStartTime_ = deployStartTimeBuilder_ == null
-            ? deployStartTime_
-            : deployStartTimeBuilder_.build();
+        result.deployStartTime_ =
+            deployStartTimeBuilder_ == null ? deployStartTime_ : deployStartTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.deployEndTime_ = deployEndTimeBuilder_ == null
-            ? deployEndTime_
-            : deployEndTimeBuilder_.build();
+        result.deployEndTime_ =
+            deployEndTimeBuilder_ == null ? deployEndTime_ : deployEndTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.targetId_ = targetId_;
@@ -2556,9 +2871,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.Rollout result) {
         result.deployFailureCause_ = deployFailureCause_;
       }
       if (((from_bitField0_ & 0x00040000) != 0)) {
-        result.metadata_ = metadataBuilder_ == null
-            ? metadata_
-            : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00080000) != 0)) {
         result.controllerRollout_ = controllerRollout_;
@@ -2576,38 +2889,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Rollout result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.Rollout) {
-        return mergeFrom((com.google.cloud.deploy.v1.Rollout)other);
+        return mergeFrom((com.google.cloud.deploy.v1.Rollout) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2631,11 +2945,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Rollout other) {
         bitField0_ |= 0x00000004;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00000008;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -2699,9 +3011,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Rollout other) {
             phasesBuilder_ = null;
             phases_ = other.phases_;
             bitField0_ = (bitField0_ & ~0x00020000);
-            phasesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPhasesFieldBuilder() : null;
+            phasesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPhasesFieldBuilder()
+                    : null;
           } else {
             phasesBuilder_.addAllMessages(other.phases_);
           }
@@ -2756,151 +3069,164 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getApproveTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEnqueueTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getDeployStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 82: {
-              input.readMessage(
-                  getDeployEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 96: {
-              approvalState_ = input.readEnum();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 96
-            case 104: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 104
-            case 114: {
-              failureReason_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 114
-            case 130: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 130
-            case 138: {
-              deployingBuild_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 138
-            case 146: {
-              targetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 146
-            case 152: {
-              deployFailureCause_ = input.readEnum();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 152
-            case 186: {
-              com.google.cloud.deploy.v1.Phase m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.Phase.parser(),
-                      extensionRegistry);
-              if (phasesBuilder_ == null) {
-                ensurePhasesIsMutable();
-                phases_.add(m);
-              } else {
-                phasesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 186
-            case 194: {
-              input.readMessage(
-                  getMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 194
-            case 202: {
-              controllerRollout_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 202
-            case 210: {
-              rollbackOfRollout_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 210
-            case 218: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureRolledBackByRolloutsIsMutable();
-              rolledBackByRollouts_.add(s);
-              break;
-            } // case 218
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getApproveTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEnqueueTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getDeployStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 82:
+              {
+                input.readMessage(getDeployEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 96:
+              {
+                approvalState_ = input.readEnum();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 96
+            case 104:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 104
+            case 114:
+              {
+                failureReason_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 114
+            case 130:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 130
+            case 138:
+              {
+                deployingBuild_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 138
+            case 146:
+              {
+                targetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 146
+            case 152:
+              {
+                deployFailureCause_ = input.readEnum();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 152
+            case 186:
+              {
+                com.google.cloud.deploy.v1.Phase m =
+                    input.readMessage(com.google.cloud.deploy.v1.Phase.parser(), extensionRegistry);
+                if (phasesBuilder_ == null) {
+                  ensurePhasesIsMutable();
+                  phases_.add(m);
+                } else {
+                  phasesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 186
+            case 194:
+              {
+                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 194
+            case 202:
+              {
+                controllerRollout_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 202
+            case 210:
+              {
+                rollbackOfRollout_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 210
+            case 218:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureRolledBackByRolloutsIsMutable();
+                rolledBackByRollouts_.add(s);
+                break;
+              } // case 218
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2910,23 +3236,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optional. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2935,21 +3264,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2957,30 +3287,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2990,18 +3327,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3011,18 +3352,20 @@ public Builder setNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Unique identifier of the `Rollout`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -3031,20 +3374,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Rollout`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -3052,28 +3396,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Rollout`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier of the `Rollout`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3083,17 +3434,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. Unique identifier of the `Rollout`.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; @@ -3103,19 +3458,21 @@ public Builder setUidBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* * string description = 3; + * * @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; @@ -3124,21 +3481,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* * string description = 3; + * * @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 { @@ -3146,30 +3504,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3179,18 +3544,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -3198,8 +3567,8 @@ public Builder setDescriptionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -3208,11 +3577,12 @@ public Builder setDescriptionBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3221,10 +3591,13 @@ public Builder setDescriptionBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -3234,20 +3607,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -3261,6 +3635,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -3270,17 +3646,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -3290,23 +3668,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -3315,23 +3695,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 4;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00000008;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -3340,17 +3719,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -3359,29 +3741,25 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-        internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableLabels() {
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -3390,10 +3768,13 @@ public Builder putAllAnnotations(
       onChanged();
       return labels_;
     }
+
     public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -3411,20 +3792,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -3446,6 +3828,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -3463,18 +3847,20 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     * 
+     *
+     *
+     * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
      *
@@ -3491,23 +3877,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -3524,23 +3912,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000010;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -3557,17 +3944,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -3584,49 +3974,66 @@ public Builder putLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3642,14 +4049,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3660,17 +4070,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3683,11 +4097,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3700,11 +4118,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -3712,36 +4134,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the `Rollout` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3749,39 +4183,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp approveTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> approveTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + approveTimeBuilder_; /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the approveTime field is set. */ public boolean hasApproveTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approveTime. */ public com.google.protobuf.Timestamp getApproveTime() { if (approveTimeBuilder_ == null) { - return approveTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approveTime_; + return approveTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : approveTime_; } else { return approveTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setApproveTime(com.google.protobuf.Timestamp value) { if (approveTimeBuilder_ == null) { @@ -3797,14 +4250,17 @@ public Builder setApproveTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setApproveTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setApproveTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (approveTimeBuilder_ == null) { approveTime_ = builderForValue.build(); } else { @@ -3815,17 +4271,21 @@ public Builder setApproveTime( return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeApproveTime(com.google.protobuf.Timestamp value) { if (approveTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - approveTime_ != null && - approveTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && approveTime_ != null + && approveTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getApproveTimeBuilder().mergeFrom(value); } else { approveTime_ = value; @@ -3838,11 +4298,15 @@ public Builder mergeApproveTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearApproveTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3855,11 +4319,15 @@ public Builder clearApproveTime() { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getApproveTimeBuilder() { bitField0_ |= 0x00000040; @@ -3867,36 +4335,48 @@ public com.google.protobuf.Timestamp.Builder getApproveTimeBuilder() { return getApproveTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder() { if (approveTimeBuilder_ != null) { return approveTimeBuilder_.getMessageOrBuilder(); } else { - return approveTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : approveTime_; + return approveTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : approveTime_; } } /** + * + * *
      * Output only. Time at which the `Rollout` was approved.
      * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approve_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> getApproveTimeFieldBuilder() { if (approveTimeBuilder_ == null) { - approveTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getApproveTime(), - getParentForChildren(), - isClean()); + approveTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getApproveTime(), getParentForChildren(), isClean()); approveTime_ = null; } return approveTimeBuilder_; @@ -3904,39 +4384,58 @@ public com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder() { private com.google.protobuf.Timestamp enqueueTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> enqueueTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + enqueueTimeBuilder_; /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enqueueTime field is set. */ public boolean hasEnqueueTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enqueueTime. */ public com.google.protobuf.Timestamp getEnqueueTime() { if (enqueueTimeBuilder_ == null) { - return enqueueTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enqueueTime_; + return enqueueTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enqueueTime_; } else { return enqueueTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEnqueueTime(com.google.protobuf.Timestamp value) { if (enqueueTimeBuilder_ == null) { @@ -3952,14 +4451,17 @@ public Builder setEnqueueTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEnqueueTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEnqueueTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (enqueueTimeBuilder_ == null) { enqueueTime_ = builderForValue.build(); } else { @@ -3970,17 +4472,21 @@ public Builder setEnqueueTime( return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEnqueueTime(com.google.protobuf.Timestamp value) { if (enqueueTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - enqueueTime_ != null && - enqueueTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && enqueueTime_ != null + && enqueueTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEnqueueTimeBuilder().mergeFrom(value); } else { enqueueTime_ = value; @@ -3993,11 +4499,15 @@ public Builder mergeEnqueueTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEnqueueTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4010,11 +4520,15 @@ public Builder clearEnqueueTime() { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEnqueueTimeBuilder() { bitField0_ |= 0x00000080; @@ -4022,36 +4536,48 @@ public com.google.protobuf.Timestamp.Builder getEnqueueTimeBuilder() { return getEnqueueTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEnqueueTimeOrBuilder() { if (enqueueTimeBuilder_ != null) { return enqueueTimeBuilder_.getMessageOrBuilder(); } else { - return enqueueTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : enqueueTime_; + return enqueueTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enqueueTime_; } } /** + * + * *
      * Output only. Time at which the `Rollout` was enqueued.
      * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enqueue_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> getEnqueueTimeFieldBuilder() { if (enqueueTimeBuilder_ == null) { - enqueueTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEnqueueTime(), - getParentForChildren(), - isClean()); + enqueueTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEnqueueTime(), getParentForChildren(), isClean()); enqueueTime_ = null; } return enqueueTimeBuilder_; @@ -4059,39 +4585,58 @@ public com.google.protobuf.TimestampOrBuilder getEnqueueTimeOrBuilder() { private com.google.protobuf.Timestamp deployStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deployStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deployStartTimeBuilder_; /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployStartTime field is set. */ public boolean hasDeployStartTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployStartTime. */ public com.google.protobuf.Timestamp getDeployStartTime() { if (deployStartTimeBuilder_ == null) { - return deployStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployStartTime_; + return deployStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployStartTime_; } else { return deployStartTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeployStartTime(com.google.protobuf.Timestamp value) { if (deployStartTimeBuilder_ == null) { @@ -4107,14 +4652,17 @@ public Builder setDeployStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeployStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeployStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deployStartTimeBuilder_ == null) { deployStartTime_ = builderForValue.build(); } else { @@ -4125,17 +4673,21 @@ public Builder setDeployStartTime( return this; } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeployStartTime(com.google.protobuf.Timestamp value) { if (deployStartTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - deployStartTime_ != null && - deployStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && deployStartTime_ != null + && deployStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeployStartTimeBuilder().mergeFrom(value); } else { deployStartTime_ = value; @@ -4148,11 +4700,15 @@ public Builder mergeDeployStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeployStartTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -4165,11 +4721,15 @@ public Builder clearDeployStartTime() { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeployStartTimeBuilder() { bitField0_ |= 0x00000100; @@ -4177,36 +4737,48 @@ public com.google.protobuf.Timestamp.Builder getDeployStartTimeBuilder() { return getDeployStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeployStartTimeOrBuilder() { if (deployStartTimeBuilder_ != null) { return deployStartTimeBuilder_.getMessageOrBuilder(); } else { - return deployStartTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deployStartTime_; + return deployStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployStartTime_; } } /** + * + * *
      * Output only. Time at which the `Rollout` started deploying.
      * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_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> getDeployStartTimeFieldBuilder() { if (deployStartTimeBuilder_ == null) { - deployStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeployStartTime(), - getParentForChildren(), - isClean()); + deployStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeployStartTime(), getParentForChildren(), isClean()); deployStartTime_ = null; } return deployStartTimeBuilder_; @@ -4214,39 +4786,58 @@ public com.google.protobuf.TimestampOrBuilder getDeployStartTimeOrBuilder() { private com.google.protobuf.Timestamp deployEndTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deployEndTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deployEndTimeBuilder_; /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployEndTime field is set. */ public boolean hasDeployEndTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployEndTime. */ public com.google.protobuf.Timestamp getDeployEndTime() { if (deployEndTimeBuilder_ == null) { - return deployEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployEndTime_; + return deployEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployEndTime_; } else { return deployEndTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeployEndTime(com.google.protobuf.Timestamp value) { if (deployEndTimeBuilder_ == null) { @@ -4262,14 +4853,17 @@ public Builder setDeployEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeployEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeployEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deployEndTimeBuilder_ == null) { deployEndTime_ = builderForValue.build(); } else { @@ -4280,17 +4874,21 @@ public Builder setDeployEndTime( return this; } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeployEndTime(com.google.protobuf.Timestamp value) { if (deployEndTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - deployEndTime_ != null && - deployEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && deployEndTime_ != null + && deployEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeployEndTimeBuilder().mergeFrom(value); } else { deployEndTime_ = value; @@ -4303,11 +4901,15 @@ public Builder mergeDeployEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeployEndTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -4320,11 +4922,15 @@ public Builder clearDeployEndTime() { return this; } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeployEndTimeBuilder() { bitField0_ |= 0x00000200; @@ -4332,36 +4938,48 @@ public com.google.protobuf.Timestamp.Builder getDeployEndTimeBuilder() { return getDeployEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeployEndTimeOrBuilder() { if (deployEndTimeBuilder_ != null) { return deployEndTimeBuilder_.getMessageOrBuilder(); } else { - return deployEndTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deployEndTime_; + return deployEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployEndTime_; } } /** + * + * *
      * Output only. Time at which the `Rollout` finished deploying.
      * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.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> getDeployEndTimeFieldBuilder() { if (deployEndTimeBuilder_ == null) { - deployEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeployEndTime(), - getParentForChildren(), - isClean()); + deployEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeployEndTime(), getParentForChildren(), isClean()); deployEndTime_ = null; } return deployEndTimeBuilder_; @@ -4369,18 +4987,20 @@ public com.google.protobuf.TimestampOrBuilder getDeployEndTimeOrBuilder() { private java.lang.Object targetId_ = ""; /** + * + * *
      * Required. The ID of Target to which this `Rollout` is deploying.
      * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -4389,20 +5009,21 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Required. The ID of Target to which this `Rollout` is deploying.
      * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -4410,28 +5031,35 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Required. The ID of Target to which this `Rollout` is deploying.
      * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Required. The ID of Target to which this `Rollout` is deploying.
      * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -4441,17 +5069,21 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * Required. The ID of Target to which this `Rollout` is deploying.
      * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000400; @@ -4461,22 +5093,33 @@ public Builder setTargetIdBytes( private int approvalState_ = 0; /** + * + * *
      * Output only. Approval state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for approvalState. */ - @java.lang.Override public int getApprovalStateValue() { + @java.lang.Override + public int getApprovalStateValue() { return approvalState_; } /** + * + * *
      * Output only. Approval state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for approvalState to set. * @return This builder for chaining. */ @@ -4487,24 +5130,37 @@ public Builder setApprovalStateValue(int value) { return this; } /** + * + * *
      * Output only. Approval state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approvalState. */ @java.lang.Override public com.google.cloud.deploy.v1.Rollout.ApprovalState getApprovalState() { - com.google.cloud.deploy.v1.Rollout.ApprovalState result = com.google.cloud.deploy.v1.Rollout.ApprovalState.forNumber(approvalState_); - return result == null ? com.google.cloud.deploy.v1.Rollout.ApprovalState.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.Rollout.ApprovalState result = + com.google.cloud.deploy.v1.Rollout.ApprovalState.forNumber(approvalState_); + return result == null + ? com.google.cloud.deploy.v1.Rollout.ApprovalState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Approval state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The approvalState to set. * @return This builder for chaining. */ @@ -4518,11 +5174,16 @@ public Builder setApprovalState(com.google.cloud.deploy.v1.Rollout.ApprovalState return this; } /** + * + * *
      * Output only. Approval state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearApprovalState() { @@ -4534,22 +5195,33 @@ public Builder clearApprovalState() { private int state_ = 0; /** + * + * *
      * Output only. Current state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.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. Current state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4560,24 +5232,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.deploy.v1.Rollout.State getState() { - com.google.cloud.deploy.v1.Rollout.State result = com.google.cloud.deploy.v1.Rollout.State.forNumber(state_); + com.google.cloud.deploy.v1.Rollout.State result = + com.google.cloud.deploy.v1.Rollout.State.forNumber(state_); return result == null ? com.google.cloud.deploy.v1.Rollout.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -4591,11 +5274,16 @@ public Builder setState(com.google.cloud.deploy.v1.Rollout.State value) { return this; } /** + * + * *
      * Output only. Current state of the `Rollout`.
      * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -4607,19 +5295,21 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** + * + * *
      * Output only. Additional information about the rollout failure, if
      * available.
      * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; 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(); failureReason_ = s; return s; @@ -4628,21 +5318,22 @@ public java.lang.String getFailureReason() { } } /** + * + * *
      * Output only. Additional information about the rollout failure, if
      * available.
      * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; 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); failureReason_ = b; return b; } else { @@ -4650,30 +5341,37 @@ public java.lang.String getFailureReason() { } } /** + * + * *
      * Output only. Additional information about the rollout failure, if
      * available.
      * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureReason(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } failureReason_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the rollout failure, if
      * available.
      * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureReason() { @@ -4683,18 +5381,22 @@ public Builder clearFailureReason() { return this; } /** + * + * *
      * Output only. Additional information about the rollout failure, if
      * available.
      * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); failureReason_ = value; bitField0_ |= 0x00002000; @@ -4704,20 +5406,24 @@ public Builder setFailureReasonBytes( private java.lang.Object deployingBuild_ = ""; /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy the Rollout. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The deployingBuild. */ public java.lang.String getDeployingBuild() { java.lang.Object ref = deployingBuild_; 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(); deployingBuild_ = s; return s; @@ -4726,22 +5432,25 @@ public java.lang.String getDeployingBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy the Rollout. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for deployingBuild. */ - public com.google.protobuf.ByteString - getDeployingBuildBytes() { + public com.google.protobuf.ByteString getDeployingBuildBytes() { java.lang.Object ref = deployingBuild_; 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); deployingBuild_ = b; return b; } else { @@ -4749,32 +5458,43 @@ public java.lang.String getDeployingBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy the Rollout. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The deployingBuild to set. * @return This builder for chaining. */ - public Builder setDeployingBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeployingBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deployingBuild_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy the Rollout. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDeployingBuild() { @@ -4784,19 +5504,25 @@ public Builder clearDeployingBuild() { return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to deploy the Rollout. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for deployingBuild to set. * @return This builder for chaining. */ - public Builder setDeployingBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeployingBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deployingBuild_ = value; bitField0_ |= 0x00004000; @@ -4806,6 +5532,8 @@ public Builder setDeployingBuildBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -4813,13 +5541,13 @@ public Builder setDeployingBuildBytes(
      * 
* * string etag = 16; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -4828,6 +5556,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -4835,15 +5565,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 16; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -4851,6 +5580,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -4858,18 +5589,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 16; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -4877,6 +5612,7 @@ public Builder setEtag(
      * 
* * string etag = 16; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4886,6 +5622,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -4893,12 +5631,14 @@ public Builder clearEtag() {
      * 
* * string etag = 16; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -4908,24 +5648,35 @@ public Builder setEtagBytes( private int deployFailureCause_ = 0; /** + * + * *
      * Output only. The reason this rollout failed. This will always be
      * unspecified while the rollout is in progress.
      * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for deployFailureCause. */ - @java.lang.Override public int getDeployFailureCauseValue() { + @java.lang.Override + public int getDeployFailureCauseValue() { return deployFailureCause_; } /** + * + * *
      * Output only. The reason this rollout failed. This will always be
      * unspecified while the rollout is in progress.
      * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for deployFailureCause to set. * @return This builder for chaining. */ @@ -4936,26 +5687,37 @@ public Builder setDeployFailureCauseValue(int value) { return this; } /** + * + * *
      * Output only. The reason this rollout failed. This will always be
      * unspecified while the rollout is in progress.
      * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployFailureCause. */ @java.lang.Override public com.google.cloud.deploy.v1.Rollout.FailureCause getDeployFailureCause() { - com.google.cloud.deploy.v1.Rollout.FailureCause result = com.google.cloud.deploy.v1.Rollout.FailureCause.forNumber(deployFailureCause_); + com.google.cloud.deploy.v1.Rollout.FailureCause result = + com.google.cloud.deploy.v1.Rollout.FailureCause.forNumber(deployFailureCause_); return result == null ? com.google.cloud.deploy.v1.Rollout.FailureCause.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The reason this rollout failed. This will always be
      * unspecified while the rollout is in progress.
      * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The deployFailureCause to set. * @return This builder for chaining. */ @@ -4969,12 +5731,17 @@ public Builder setDeployFailureCause(com.google.cloud.deploy.v1.Rollout.FailureC return this; } /** + * + * *
      * Output only. The reason this rollout failed. This will always be
      * unspecified while the rollout is in progress.
      * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDeployFailureCause() { @@ -4985,23 +5752,31 @@ public Builder clearDeployFailureCause() { } private java.util.List phases_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePhasesIsMutable() { if (!((bitField0_ & 0x00020000) != 0)) { phases_ = new java.util.ArrayList(phases_); bitField0_ |= 0x00020000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Phase, com.google.cloud.deploy.v1.Phase.Builder, com.google.cloud.deploy.v1.PhaseOrBuilder> phasesBuilder_; + com.google.cloud.deploy.v1.Phase, + com.google.cloud.deploy.v1.Phase.Builder, + com.google.cloud.deploy.v1.PhaseOrBuilder> + phasesBuilder_; /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getPhasesList() { if (phasesBuilder_ == null) { @@ -5011,11 +5786,15 @@ public java.util.List getPhasesList() { } } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getPhasesCount() { if (phasesBuilder_ == null) { @@ -5025,11 +5804,15 @@ public int getPhasesCount() { } } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Phase getPhases(int index) { if (phasesBuilder_ == null) { @@ -5039,14 +5822,17 @@ public com.google.cloud.deploy.v1.Phase getPhases(int index) { } } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPhases( - int index, com.google.cloud.deploy.v1.Phase value) { + public Builder setPhases(int index, com.google.cloud.deploy.v1.Phase value) { if (phasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5060,14 +5846,17 @@ public Builder setPhases( return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPhases( - int index, com.google.cloud.deploy.v1.Phase.Builder builderForValue) { + public Builder setPhases(int index, com.google.cloud.deploy.v1.Phase.Builder builderForValue) { if (phasesBuilder_ == null) { ensurePhasesIsMutable(); phases_.set(index, builderForValue.build()); @@ -5078,11 +5867,15 @@ public Builder setPhases( return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addPhases(com.google.cloud.deploy.v1.Phase value) { if (phasesBuilder_ == null) { @@ -5098,14 +5891,17 @@ public Builder addPhases(com.google.cloud.deploy.v1.Phase value) { return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addPhases( - int index, com.google.cloud.deploy.v1.Phase value) { + public Builder addPhases(int index, com.google.cloud.deploy.v1.Phase value) { if (phasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5119,14 +5915,17 @@ public Builder addPhases( return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addPhases( - com.google.cloud.deploy.v1.Phase.Builder builderForValue) { + public Builder addPhases(com.google.cloud.deploy.v1.Phase.Builder builderForValue) { if (phasesBuilder_ == null) { ensurePhasesIsMutable(); phases_.add(builderForValue.build()); @@ -5137,14 +5936,17 @@ public Builder addPhases( return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addPhases( - int index, com.google.cloud.deploy.v1.Phase.Builder builderForValue) { + public Builder addPhases(int index, com.google.cloud.deploy.v1.Phase.Builder builderForValue) { if (phasesBuilder_ == null) { ensurePhasesIsMutable(); phases_.add(index, builderForValue.build()); @@ -5155,18 +5957,21 @@ public Builder addPhases( return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllPhases( java.lang.Iterable values) { if (phasesBuilder_ == null) { ensurePhasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phases_); onChanged(); } else { phasesBuilder_.addAllMessages(values); @@ -5174,11 +5979,15 @@ public Builder addAllPhases( return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPhases() { if (phasesBuilder_ == null) { @@ -5191,11 +6000,15 @@ public Builder clearPhases() { return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removePhases(int index) { if (phasesBuilder_ == null) { @@ -5208,39 +6021,50 @@ public Builder removePhases(int index) { return this; } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Phase.Builder getPhasesBuilder( - int index) { + public com.google.cloud.deploy.v1.Phase.Builder getPhasesBuilder(int index) { return getPhasesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.PhaseOrBuilder getPhasesOrBuilder( - int index) { + public com.google.cloud.deploy.v1.PhaseOrBuilder getPhasesOrBuilder(int index) { if (phasesBuilder_ == null) { - return phases_.get(index); } else { + return phases_.get(index); + } else { return phasesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getPhasesOrBuilderList() { + public java.util.List + getPhasesOrBuilderList() { if (phasesBuilder_ != null) { return phasesBuilder_.getMessageOrBuilderList(); } else { @@ -5248,49 +6072,62 @@ public com.google.cloud.deploy.v1.PhaseOrBuilder getPhasesOrBuilder( } } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Phase.Builder addPhasesBuilder() { - return getPhasesFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.Phase.getDefaultInstance()); + return getPhasesFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.Phase.getDefaultInstance()); } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.deploy.v1.Phase.Builder addPhasesBuilder( - int index) { - return getPhasesFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.Phase.getDefaultInstance()); + public com.google.cloud.deploy.v1.Phase.Builder addPhasesBuilder(int index) { + return getPhasesFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.Phase.getDefaultInstance()); } /** + * + * *
      * Output only. The phases that represent the workflows of this `Rollout`.
      * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getPhasesBuilderList() { + public java.util.List getPhasesBuilderList() { return getPhasesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Phase, com.google.cloud.deploy.v1.Phase.Builder, com.google.cloud.deploy.v1.PhaseOrBuilder> + com.google.cloud.deploy.v1.Phase, + com.google.cloud.deploy.v1.Phase.Builder, + com.google.cloud.deploy.v1.PhaseOrBuilder> getPhasesFieldBuilder() { if (phasesBuilder_ == null) { - phasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Phase, com.google.cloud.deploy.v1.Phase.Builder, com.google.cloud.deploy.v1.PhaseOrBuilder>( - phases_, - ((bitField0_ & 0x00020000) != 0), - getParentForChildren(), - isClean()); + phasesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.Phase, + com.google.cloud.deploy.v1.Phase.Builder, + com.google.cloud.deploy.v1.PhaseOrBuilder>( + phases_, ((bitField0_ & 0x00020000) != 0), getParentForChildren(), isClean()); phases_ = null; } return phasesBuilder_; @@ -5298,39 +6135,58 @@ public com.google.cloud.deploy.v1.Phase.Builder addPhasesBuilder( private com.google.cloud.deploy.v1.Metadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Metadata, com.google.cloud.deploy.v1.Metadata.Builder, com.google.cloud.deploy.v1.MetadataOrBuilder> metadataBuilder_; + com.google.cloud.deploy.v1.Metadata, + com.google.cloud.deploy.v1.Metadata.Builder, + com.google.cloud.deploy.v1.MetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.cloud.deploy.v1.Metadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.deploy.v1.Metadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.Metadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.cloud.deploy.v1.Metadata value) { if (metadataBuilder_ == null) { @@ -5346,14 +6202,17 @@ public Builder setMetadata(com.google.cloud.deploy.v1.Metadata value) { return this; } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.cloud.deploy.v1.Metadata.Builder builderForValue) { + public Builder setMetadata(com.google.cloud.deploy.v1.Metadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); } else { @@ -5364,17 +6223,21 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.cloud.deploy.v1.Metadata value) { if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) && - metadata_ != null && - metadata_ != com.google.cloud.deploy.v1.Metadata.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) + && metadata_ != null + && metadata_ != com.google.cloud.deploy.v1.Metadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; @@ -5387,11 +6250,15 @@ public Builder mergeMetadata(com.google.cloud.deploy.v1.Metadata value) { return this; } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5404,11 +6271,15 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.Metadata.Builder getMetadataBuilder() { bitField0_ |= 0x00040000; @@ -5416,36 +6287,48 @@ public com.google.cloud.deploy.v1.Metadata.Builder getMetadataBuilder() { return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.deploy.v1.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.cloud.deploy.v1.Metadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.deploy.v1.Metadata.getDefaultInstance() + : metadata_; } } /** + * + * *
      * Output only. Metadata contains information about the rollout.
      * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Metadata, com.google.cloud.deploy.v1.Metadata.Builder, com.google.cloud.deploy.v1.MetadataOrBuilder> + com.google.cloud.deploy.v1.Metadata, + com.google.cloud.deploy.v1.Metadata.Builder, + com.google.cloud.deploy.v1.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Metadata, com.google.cloud.deploy.v1.Metadata.Builder, com.google.cloud.deploy.v1.MetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Metadata, + com.google.cloud.deploy.v1.Metadata.Builder, + com.google.cloud.deploy.v1.MetadataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; @@ -5453,19 +6336,21 @@ public com.google.cloud.deploy.v1.MetadataOrBuilder getMetadataOrBuilder() { private java.lang.Object controllerRollout_ = ""; /** + * + * *
      * Output only. Name of the `ControllerRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controllerRollout. */ public java.lang.String getControllerRollout() { java.lang.Object ref = controllerRollout_; 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(); controllerRollout_ = s; return s; @@ -5474,21 +6359,22 @@ public java.lang.String getControllerRollout() { } } /** + * + * *
      * Output only. Name of the `ControllerRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for controllerRollout. */ - public com.google.protobuf.ByteString - getControllerRolloutBytes() { + public com.google.protobuf.ByteString getControllerRolloutBytes() { java.lang.Object ref = controllerRollout_; 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); controllerRollout_ = b; return b; } else { @@ -5496,30 +6382,37 @@ public java.lang.String getControllerRollout() { } } /** + * + * *
      * Output only. Name of the `ControllerRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controllerRollout to set. * @return This builder for chaining. */ - public Builder setControllerRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setControllerRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } controllerRollout_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `ControllerRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControllerRollout() { @@ -5529,18 +6422,22 @@ public Builder clearControllerRollout() { return this; } /** + * + * *
      * Output only. Name of the `ControllerRollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for controllerRollout to set. * @return This builder for chaining. */ - public Builder setControllerRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setControllerRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); controllerRollout_ = value; bitField0_ |= 0x00080000; @@ -5550,19 +6447,21 @@ public Builder setControllerRolloutBytes( private java.lang.Object rollbackOfRollout_ = ""; /** + * + * *
      * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
      * Empty if this `Rollout` wasn't created as a rollback.
      * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollbackOfRollout. */ public java.lang.String getRollbackOfRollout() { java.lang.Object ref = rollbackOfRollout_; 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(); rollbackOfRollout_ = s; return s; @@ -5571,21 +6470,22 @@ public java.lang.String getRollbackOfRollout() { } } /** + * + * *
      * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
      * Empty if this `Rollout` wasn't created as a rollback.
      * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollbackOfRollout. */ - public com.google.protobuf.ByteString - getRollbackOfRolloutBytes() { + public com.google.protobuf.ByteString getRollbackOfRolloutBytes() { java.lang.Object ref = rollbackOfRollout_; 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); rollbackOfRollout_ = b; return b; } else { @@ -5593,30 +6493,37 @@ public java.lang.String getRollbackOfRollout() { } } /** + * + * *
      * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
      * Empty if this `Rollout` wasn't created as a rollback.
      * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The rollbackOfRollout to set. * @return This builder for chaining. */ - public Builder setRollbackOfRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollbackOfRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollbackOfRollout_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
      * Empty if this `Rollout` wasn't created as a rollback.
      * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRollbackOfRollout() { @@ -5626,18 +6533,22 @@ public Builder clearRollbackOfRollout() { return this; } /** + * + * *
      * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
      * Empty if this `Rollout` wasn't created as a rollback.
      * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for rollbackOfRollout to set. * @return This builder for chaining. */ - public Builder setRollbackOfRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollbackOfRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollbackOfRollout_ = value; bitField0_ |= 0x00100000; @@ -5647,6 +6558,7 @@ public Builder setRollbackOfRolloutBytes( private com.google.protobuf.LazyStringArrayList rolledBackByRollouts_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRolledBackByRolloutsIsMutable() { if (!rolledBackByRollouts_.isModifiable()) { rolledBackByRollouts_ = new com.google.protobuf.LazyStringArrayList(rolledBackByRollouts_); @@ -5654,35 +6566,49 @@ private void ensureRolledBackByRolloutsIsMutable() { bitField0_ |= 0x00200000; } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the rolledBackByRollouts. */ - public com.google.protobuf.ProtocolStringList - getRolledBackByRolloutsList() { + public com.google.protobuf.ProtocolStringList getRolledBackByRolloutsList() { rolledBackByRollouts_.makeImmutable(); return rolledBackByRollouts_; } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of rolledBackByRollouts. */ public int getRolledBackByRolloutsCount() { return rolledBackByRollouts_.size(); } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The rolledBackByRollouts at the given index. */ @@ -5690,31 +6616,41 @@ public java.lang.String getRolledBackByRollouts(int index) { return rolledBackByRollouts_.get(index); } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the rolledBackByRollouts at the given index. */ - public com.google.protobuf.ByteString - getRolledBackByRolloutsBytes(int index) { + public com.google.protobuf.ByteString getRolledBackByRolloutsBytes(int index) { return rolledBackByRollouts_.getByteString(index); } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The rolledBackByRollouts to set. * @return This builder for chaining. */ - public Builder setRolledBackByRollouts( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolledBackByRollouts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRolledBackByRolloutsIsMutable(); rolledBackByRollouts_.set(index, value); bitField0_ |= 0x00200000; @@ -5722,17 +6658,23 @@ public Builder setRolledBackByRollouts( return this; } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The rolledBackByRollouts to add. * @return This builder for chaining. */ - public Builder addRolledBackByRollouts( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRolledBackByRollouts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRolledBackByRolloutsIsMutable(); rolledBackByRollouts_.add(value); bitField0_ |= 0x00200000; @@ -5740,50 +6682,64 @@ public Builder addRolledBackByRollouts( return this; } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The rolledBackByRollouts to add. * @return This builder for chaining. */ - public Builder addAllRolledBackByRollouts( - java.lang.Iterable values) { + public Builder addAllRolledBackByRollouts(java.lang.Iterable values) { ensureRolledBackByRolloutsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rolledBackByRollouts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rolledBackByRollouts_); bitField0_ |= 0x00200000; onChanged(); return this; } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRolledBackByRollouts() { - rolledBackByRollouts_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00200000);; + rolledBackByRollouts_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00200000); + ; onChanged(); return this; } /** + * + * *
      * Output only. Names of `Rollouts` that rolled back this `Rollout`.
      * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the rolledBackByRollouts to add. * @return This builder for chaining. */ - public Builder addRolledBackByRolloutsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRolledBackByRolloutsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRolledBackByRolloutsIsMutable(); rolledBackByRollouts_.add(value); @@ -5791,9 +6747,9 @@ public Builder addRolledBackByRolloutsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5803,12 +6759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Rollout) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Rollout) private static final com.google.cloud.deploy.v1.Rollout DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Rollout(); } @@ -5817,27 +6773,27 @@ public static com.google.cloud.deploy.v1.Rollout getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rollout parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rollout parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5852,6 +6808,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Rollout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEvent.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEvent.java index 004e68df0ad8..2d4f746a803c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/rollout_notification_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/rollout_notification"
  * Platform Log event that describes the failure to send rollout status change
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.RolloutNotificationEvent}
  */
-public final class RolloutNotificationEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RolloutNotificationEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RolloutNotificationEvent)
     RolloutNotificationEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RolloutNotificationEvent.newBuilder() to construct.
   private RolloutNotificationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RolloutNotificationEvent() {
     message_ = "";
     pipelineUid_ = "";
@@ -34,33 +52,38 @@ private RolloutNotificationEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RolloutNotificationEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto.internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto.internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.RolloutNotificationEvent.class, com.google.cloud.deploy.v1.RolloutNotificationEvent.Builder.class);
+            com.google.cloud.deploy.v1.RolloutNotificationEvent.class,
+            com.google.cloud.deploy.v1.RolloutNotificationEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -69,29 +92,29 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -100,14 +123,18 @@ public java.lang.String getMessage() { } public static final int PIPELINE_UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 2; + * * @return The pipelineUid. */ @java.lang.Override @@ -116,29 +143,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 2; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -147,14 +174,18 @@ public java.lang.String getPipelineUid() { } public static final int RELEASE_UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object releaseUid_ = ""; /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 3; + * * @return The releaseUid. */ @java.lang.Override @@ -163,29 +194,29 @@ public java.lang.String getReleaseUid() { 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(); releaseUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 3; + * * @return The bytes for releaseUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -194,14 +225,18 @@ public java.lang.String getReleaseUid() { } public static final int RELEASE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object release_ = ""; /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 7; + * * @return The release. */ @java.lang.Override @@ -210,29 +245,29 @@ public java.lang.String getRelease() { 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(); release_ = s; return s; } } /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 7; + * * @return The bytes for release. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -241,14 +276,18 @@ public java.lang.String getRelease() { } public static final int ROLLOUT_UID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object rolloutUid_ = ""; /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 8; + * * @return The rolloutUid. */ @java.lang.Override @@ -257,29 +296,29 @@ public java.lang.String getRolloutUid() { 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(); rolloutUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 8; + * * @return The bytes for rolloutUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutUidBytes() { + public com.google.protobuf.ByteString getRolloutUidBytes() { java.lang.Object ref = rolloutUid_; 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); rolloutUid_ = b; return b; } else { @@ -288,14 +327,18 @@ public java.lang.String getRolloutUid() { } public static final int ROLLOUT_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 4; + * * @return The rollout. */ @java.lang.Override @@ -304,29 +347,29 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 4; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -335,14 +378,18 @@ public java.lang.String getRollout() { } public static final int TARGET_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * ID of the `Target` that the rollout is deployed to.
    * 
* * string target_id = 6; + * * @return The targetId. */ @java.lang.Override @@ -351,29 +398,29 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * ID of the `Target` that the rollout is deployed to.
    * 
* * string target_id = 6; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -384,30 +431,39 @@ public java.lang.String getTargetId() { public static final int TYPE_FIELD_NUMBER = 5; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -419,8 +475,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -467,8 +522,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, rollout_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, targetId_); @@ -487,27 +541,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.cloud.deploy.v1.RolloutNotificationEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RolloutNotificationEvent other = (com.google.cloud.deploy.v1.RolloutNotificationEvent) obj; - - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; - if (!getReleaseUid() - .equals(other.getReleaseUid())) return false; - if (!getRelease() - .equals(other.getRelease())) return false; - if (!getRolloutUid() - .equals(other.getRolloutUid())) return false; - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getTargetId() - .equals(other.getTargetId())) return false; + com.google.cloud.deploy.v1.RolloutNotificationEvent other = + (com.google.cloud.deploy.v1.RolloutNotificationEvent) obj; + + if (!getMessage().equals(other.getMessage())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; + if (!getReleaseUid().equals(other.getReleaseUid())) return false; + if (!getRelease().equals(other.getRelease())) return false; + if (!getRolloutUid().equals(other.getRolloutUid())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -542,98 +590,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.RolloutNotificationEvent 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.cloud.deploy.v1.RolloutNotificationEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RolloutNotificationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RolloutNotificationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/rollout_notification"
    * Platform Log event that describes the failure to send rollout status change
@@ -642,33 +695,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.RolloutNotificationEvent}
    */
-  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.cloud.deploy.v1.RolloutNotificationEvent)
       com.google.cloud.deploy.v1.RolloutNotificationEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto.internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto.internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.RolloutNotificationEvent.class, com.google.cloud.deploy.v1.RolloutNotificationEvent.Builder.class);
+              com.google.cloud.deploy.v1.RolloutNotificationEvent.class,
+              com.google.cloud.deploy.v1.RolloutNotificationEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.RolloutNotificationEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -685,9 +737,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto.internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.RolloutNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor;
     }
 
     @java.lang.Override
@@ -706,8 +758,11 @@ public com.google.cloud.deploy.v1.RolloutNotificationEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.RolloutNotificationEvent buildPartial() {
-      com.google.cloud.deploy.v1.RolloutNotificationEvent result = new com.google.cloud.deploy.v1.RolloutNotificationEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.RolloutNotificationEvent result =
+          new com.google.cloud.deploy.v1.RolloutNotificationEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -744,38 +799,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RolloutNotificationEvent r
     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) {
+        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) {
+        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.cloud.deploy.v1.RolloutNotificationEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.RolloutNotificationEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.RolloutNotificationEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -783,7 +839,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.RolloutNotificationEvent other) {
-      if (other == com.google.cloud.deploy.v1.RolloutNotificationEvent.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.RolloutNotificationEvent.getDefaultInstance())
+        return this;
       if (!other.getMessage().isEmpty()) {
         message_ = other.message_;
         bitField0_ |= 0x00000001;
@@ -848,52 +905,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              releaseUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              rollout_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 34
-            case 40: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 40
-            case 50: {
-              targetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              release_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 58
-            case 66: {
-              rolloutUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                releaseUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                rollout_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 34
+            case 40:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 40
+            case 50:
+              {
+                targetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                release_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 58
+            case 66:
+              {
+                rolloutUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -903,22 +969,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -927,20 +996,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -948,28 +1018,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -979,17 +1056,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -999,18 +1080,20 @@ public Builder setMessageBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 2; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -1019,20 +1102,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 2; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -1040,28 +1124,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 2; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 2; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -1071,17 +1162,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the `DeliveryPipeline`.
      * 
* * string pipeline_uid = 2; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000002; @@ -1091,18 +1186,20 @@ public Builder setPipelineUidBytes( private java.lang.Object releaseUid_ = ""; /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 3; + * * @return The releaseUid. */ public java.lang.String getReleaseUid() { java.lang.Object ref = releaseUid_; 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(); releaseUid_ = s; return s; @@ -1111,20 +1208,21 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 3; + * * @return The bytes for releaseUid. */ - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -1132,28 +1230,35 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 3; + * * @param value The releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } releaseUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 3; + * * @return This builder for chaining. */ public Builder clearReleaseUid() { @@ -1163,17 +1268,21 @@ public Builder clearReleaseUid() { return this; } /** + * + * *
      * Unique identifier of the `Release`.
      * 
* * string release_uid = 3; + * * @param value The bytes for releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); releaseUid_ = value; bitField0_ |= 0x00000004; @@ -1183,18 +1292,20 @@ public Builder setReleaseUidBytes( private java.lang.Object release_ = ""; /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 7; + * * @return The release. */ public java.lang.String getRelease() { java.lang.Object ref = release_; 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(); release_ = s; return s; @@ -1203,20 +1314,21 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 7; + * * @return The bytes for release. */ - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -1224,28 +1336,35 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 7; + * * @param value The release to set. * @return This builder for chaining. */ - public Builder setRelease( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelease(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } release_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 7; + * * @return This builder for chaining. */ public Builder clearRelease() { @@ -1255,17 +1374,21 @@ public Builder clearRelease() { return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 7; + * * @param value The bytes for release to set. * @return This builder for chaining. */ - public Builder setReleaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); release_ = value; bitField0_ |= 0x00000008; @@ -1275,18 +1398,20 @@ public Builder setReleaseBytes( private java.lang.Object rolloutUid_ = ""; /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 8; + * * @return The rolloutUid. */ public java.lang.String getRolloutUid() { java.lang.Object ref = rolloutUid_; 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(); rolloutUid_ = s; return s; @@ -1295,20 +1420,21 @@ public java.lang.String getRolloutUid() { } } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 8; + * * @return The bytes for rolloutUid. */ - public com.google.protobuf.ByteString - getRolloutUidBytes() { + public com.google.protobuf.ByteString getRolloutUidBytes() { java.lang.Object ref = rolloutUid_; 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); rolloutUid_ = b; return b; } else { @@ -1316,28 +1442,35 @@ public java.lang.String getRolloutUid() { } } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 8; + * * @param value The rolloutUid to set. * @return This builder for chaining. */ - public Builder setRolloutUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rolloutUid_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 8; + * * @return This builder for chaining. */ public Builder clearRolloutUid() { @@ -1347,17 +1480,21 @@ public Builder clearRolloutUid() { return this; } /** + * + * *
      * Unique identifier of the `Rollout`.
      * 
* * string rollout_uid = 8; + * * @param value The bytes for rolloutUid to set. * @return This builder for chaining. */ - public Builder setRolloutUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rolloutUid_ = value; bitField0_ |= 0x00000010; @@ -1367,18 +1504,20 @@ public Builder setRolloutUidBytes( private java.lang.Object rollout_ = ""; /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 4; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -1387,20 +1526,21 @@ public java.lang.String getRollout() { } } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 4; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -1408,28 +1548,35 @@ public java.lang.String getRollout() { } } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 4; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 4; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -1439,17 +1586,21 @@ public Builder clearRollout() { return this; } /** + * + * *
      * The name of the `Rollout`.
      * 
* * string rollout = 4; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000020; @@ -1459,18 +1610,20 @@ public Builder setRolloutBytes( private java.lang.Object targetId_ = ""; /** + * + * *
      * ID of the `Target` that the rollout is deployed to.
      * 
* * string target_id = 6; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -1479,20 +1632,21 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * ID of the `Target` that the rollout is deployed to.
      * 
* * string target_id = 6; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -1500,28 +1654,35 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * ID of the `Target` that the rollout is deployed to.
      * 
* * string target_id = 6; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * ID of the `Target` that the rollout is deployed to.
      * 
* * string target_id = 6; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -1531,17 +1692,21 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * ID of the `Target` that the rollout is deployed to.
      * 
* * string target_id = 6; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000040; @@ -1551,22 +1716,29 @@ public Builder setTargetIdBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1577,11 +1749,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The type. */ @java.lang.Override @@ -1590,11 +1765,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1608,11 +1786,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1621,9 +1802,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1633,12 +1814,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RolloutNotificationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RolloutNotificationEvent) private static final com.google.cloud.deploy.v1.RolloutNotificationEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RolloutNotificationEvent(); } @@ -1647,27 +1828,27 @@ public static com.google.cloud.deploy.v1.RolloutNotificationEvent getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RolloutNotificationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RolloutNotificationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1682,6 +1863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RolloutNotificationEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEventOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEventOrBuilder.java index 5c1831218f7d..57870dfc9d9a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationEventOrBuilder.java @@ -1,167 +1,224 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/rollout_notification_payload.proto package com.google.cloud.deploy.v1; -public interface RolloutNotificationEventOrBuilder extends +public interface RolloutNotificationEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RolloutNotificationEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 2; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the `DeliveryPipeline`.
    * 
* * string pipeline_uid = 2; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 3; + * * @return The releaseUid. */ java.lang.String getReleaseUid(); /** + * + * *
    * Unique identifier of the `Release`.
    * 
* * string release_uid = 3; + * * @return The bytes for releaseUid. */ - com.google.protobuf.ByteString - getReleaseUidBytes(); + com.google.protobuf.ByteString getReleaseUidBytes(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 7; + * * @return The release. */ java.lang.String getRelease(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 7; + * * @return The bytes for release. */ - com.google.protobuf.ByteString - getReleaseBytes(); + com.google.protobuf.ByteString getReleaseBytes(); /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 8; + * * @return The rolloutUid. */ java.lang.String getRolloutUid(); /** + * + * *
    * Unique identifier of the `Rollout`.
    * 
* * string rollout_uid = 8; + * * @return The bytes for rolloutUid. */ - com.google.protobuf.ByteString - getRolloutUidBytes(); + com.google.protobuf.ByteString getRolloutUidBytes(); /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 4; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * The name of the `Rollout`.
    * 
* * string rollout = 4; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * ID of the `Target` that the rollout is deployed to.
    * 
* * string target_id = 6; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * ID of the `Target` that the rollout is deployed to.
    * 
* * string target_id = 6; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 5; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationPayloadProto.java new file mode 100644 index 000000000000..74718f84354e --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationPayloadProto.java @@ -0,0 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/rollout_notification_payload.proto + +package com.google.cloud.deploy.v1; + +public final class RolloutNotificationPayloadProto { + private RolloutNotificationPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/cloud/deploy/v1/rollout_notific" + + "ation_payload.proto\022\026google.cloud.deploy" + + ".v1\032&google/cloud/deploy/v1/log_enums.pr" + + "oto\"\314\001\n\030RolloutNotificationEvent\022\017\n\007mess" + + "age\030\001 \001(\t\022\024\n\014pipeline_uid\030\002 \001(\t\022\023\n\013relea" + + "se_uid\030\003 \001(\t\022\017\n\007release\030\007 \001(\t\022\023\n\013rollout" + + "_uid\030\010 \001(\t\022\017\n\007rollout\030\004 \001(\t\022\021\n\ttarget_id" + + "\030\006 \001(\t\022*\n\004type\030\005 \001(\0162\034.google.cloud.depl" + + "oy.v1.TypeBs\n\032com.google.cloud.deploy.v1" + + "B\037RolloutNotificationPayloadProtoP\001Z2clo" + + "ud.google.com/go/deploy/apiv1/deploypb;d" + + "eploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor, + new java.lang.String[] { + "Message", + "PipelineUid", + "ReleaseUid", + "Release", + "RolloutUid", + "Rollout", + "TargetId", + "Type", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java index d1a4e70c9a19..31f1689e394a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java @@ -1,77 +1,110 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RolloutOrBuilder extends +public interface RolloutOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Rollout) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Unique identifier of the `Rollout`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Unique identifier of the `Rollout`.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -82,6 +115,8 @@ public interface RolloutOrBuilder extends
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -90,15 +125,13 @@ public interface RolloutOrBuilder extends
    *
    * map<string, string> annotations = 4;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -107,9 +140,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 4;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -119,11 +153,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 4;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
@@ -132,10 +168,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 4;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -154,6 +191,8 @@ java.lang.String getAnnotationsOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -170,15 +209,13 @@ java.lang.String getAnnotationsOrThrow(
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -195,9 +232,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -215,11 +253,13 @@ boolean containsLabels(
    * map<string, string> labels = 5;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -236,249 +276,350 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Time at which the `Rollout` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the `Rollout` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the `Rollout` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the `Rollout` was approved.
    * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the approveTime field is set. */ boolean hasApproveTime(); /** + * + * *
    * Output only. Time at which the `Rollout` was approved.
    * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approveTime. */ com.google.protobuf.Timestamp getApproveTime(); /** + * + * *
    * Output only. Time at which the `Rollout` was approved.
    * 
* - * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the `Rollout` was enqueued.
    * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enqueueTime field is set. */ boolean hasEnqueueTime(); /** + * + * *
    * Output only. Time at which the `Rollout` was enqueued.
    * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enqueueTime. */ com.google.protobuf.Timestamp getEnqueueTime(); /** + * + * *
    * Output only. Time at which the `Rollout` was enqueued.
    * 
* - * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEnqueueTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the `Rollout` started deploying.
    * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployStartTime field is set. */ boolean hasDeployStartTime(); /** + * + * *
    * Output only. Time at which the `Rollout` started deploying.
    * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployStartTime. */ com.google.protobuf.Timestamp getDeployStartTime(); /** + * + * *
    * Output only. Time at which the `Rollout` started deploying.
    * 
* - * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeployStartTimeOrBuilder(); /** + * + * *
    * Output only. Time at which the `Rollout` finished deploying.
    * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deployEndTime field is set. */ boolean hasDeployEndTime(); /** + * + * *
    * Output only. Time at which the `Rollout` finished deploying.
    * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployEndTime. */ com.google.protobuf.Timestamp getDeployEndTime(); /** + * + * *
    * Output only. Time at which the `Rollout` finished deploying.
    * 
* - * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeployEndTimeOrBuilder(); /** + * + * *
    * Required. The ID of Target to which this `Rollout` is deploying.
    * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * Required. The ID of Target to which this `Rollout` is deploying.
    * 
* * string target_id = 18 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Output only. Approval state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for approvalState. */ int getApprovalStateValue(); /** + * + * *
    * Output only. Approval state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approvalState. */ com.google.cloud.deploy.v1.Rollout.ApprovalState getApprovalState(); /** + * + * *
    * Output only. Current state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the `Rollout`.
    * 
* - * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.deploy.v1.Rollout.State getState(); /** + * + * *
    * Output only. Additional information about the rollout failure, if
    * available.
    * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ java.lang.String getFailureReason(); /** + * + * *
    * Output only. Additional information about the rollout failure, if
    * available.
    * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString - getFailureReasonBytes(); + com.google.protobuf.ByteString getFailureReasonBytes(); /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy the Rollout. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The deployingBuild. */ java.lang.String getDeployingBuild(); /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to deploy the Rollout. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for deployingBuild. */ - com.google.protobuf.ByteString - getDeployingBuildBytes(); + com.google.protobuf.ByteString getDeployingBuildBytes(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -486,10 +627,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 16; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -497,185 +641,254 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 16; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Output only. The reason this rollout failed. This will always be
    * unspecified while the rollout is in progress.
    * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for deployFailureCause. */ int getDeployFailureCauseValue(); /** + * + * *
    * Output only. The reason this rollout failed. This will always be
    * unspecified while the rollout is in progress.
    * 
* - * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deployFailureCause. */ com.google.cloud.deploy.v1.Rollout.FailureCause getDeployFailureCause(); /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getPhasesList(); + java.util.List getPhasesList(); /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.Phase getPhases(int index); /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getPhasesCount(); /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getPhasesOrBuilderList(); + java.util.List getPhasesOrBuilderList(); /** + * + * *
    * Output only. The phases that represent the workflows of this `Rollout`.
    * 
* - * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.deploy.v1.PhaseOrBuilder getPhasesOrBuilder( - int index); + com.google.cloud.deploy.v1.PhaseOrBuilder getPhasesOrBuilder(int index); /** + * + * *
    * Output only. Metadata contains information about the rollout.
    * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Metadata contains information about the rollout.
    * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ com.google.cloud.deploy.v1.Metadata getMetadata(); /** + * + * *
    * Output only. Metadata contains information about the rollout.
    * 
* - * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.MetadataOrBuilder getMetadataOrBuilder(); /** + * + * *
    * Output only. Name of the `ControllerRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controllerRollout. */ java.lang.String getControllerRollout(); /** + * + * *
    * Output only. Name of the `ControllerRollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for controllerRollout. */ - com.google.protobuf.ByteString - getControllerRolloutBytes(); + com.google.protobuf.ByteString getControllerRolloutBytes(); /** + * + * *
    * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
    * Empty if this `Rollout` wasn't created as a rollback.
    * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The rollbackOfRollout. */ java.lang.String getRollbackOfRollout(); /** + * + * *
    * Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
    * Empty if this `Rollout` wasn't created as a rollback.
    * 
* * string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for rollbackOfRollout. */ - com.google.protobuf.ByteString - getRollbackOfRolloutBytes(); + com.google.protobuf.ByteString getRollbackOfRolloutBytes(); /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the rolledBackByRollouts. */ - java.util.List - getRolledBackByRolloutsList(); + java.util.List getRolledBackByRolloutsList(); /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of rolledBackByRollouts. */ int getRolledBackByRolloutsCount(); /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The rolledBackByRollouts at the given index. */ java.lang.String getRolledBackByRollouts(int index); /** + * + * *
    * Output only. Names of `Rollouts` that rolled back this `Rollout`.
    * 
* - * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the rolledBackByRollouts at the given index. */ - com.google.protobuf.ByteString - getRolledBackByRolloutsBytes(int index); + com.google.protobuf.ByteString getRolledBackByRolloutsBytes(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEvent.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEvent.java index 44acc6cb5de3..66c7c77bab2e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/rollout_update_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/rollout_update"
  * Platform Log event that describes the rollout update event.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.RolloutUpdateEvent}
  */
-public final class RolloutUpdateEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RolloutUpdateEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RolloutUpdateEvent)
     RolloutUpdateEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RolloutUpdateEvent.newBuilder() to construct.
   private RolloutUpdateEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RolloutUpdateEvent() {
     message_ = "";
     pipelineUid_ = "";
@@ -33,34 +51,38 @@ private RolloutUpdateEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RolloutUpdateEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto.internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto
+        .internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto.internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto
+        .internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.RolloutUpdateEvent.class, com.google.cloud.deploy.v1.RolloutUpdateEvent.Builder.class);
+            com.google.cloud.deploy.v1.RolloutUpdateEvent.class,
+            com.google.cloud.deploy.v1.RolloutUpdateEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * RolloutUpdateType indicates the type of the rollout update.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType} */ - public enum RolloutUpdateType - implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutUpdateType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Rollout update type unspecified.
      * 
@@ -69,6 +91,8 @@ public enum RolloutUpdateType */ ROLLOUT_UPDATE_TYPE_UNSPECIFIED(0), /** + * + * *
      * rollout state updated to pending.
      * 
@@ -77,6 +101,8 @@ public enum RolloutUpdateType */ PENDING(1), /** + * + * *
      * Rollout state updated to pending release.
      * 
@@ -85,6 +111,8 @@ public enum RolloutUpdateType */ PENDING_RELEASE(2), /** + * + * *
      * Rollout state updated to in progress.
      * 
@@ -93,6 +121,8 @@ public enum RolloutUpdateType */ IN_PROGRESS(3), /** + * + * *
      * Rollout state updated to cancelling.
      * 
@@ -101,6 +131,8 @@ public enum RolloutUpdateType */ CANCELLING(4), /** + * + * *
      * Rollout state updated to cancelled.
      * 
@@ -109,6 +141,8 @@ public enum RolloutUpdateType */ CANCELLED(5), /** + * + * *
      * Rollout state updated to halted.
      * 
@@ -117,6 +151,8 @@ public enum RolloutUpdateType */ HALTED(6), /** + * + * *
      * Rollout state updated to succeeded.
      * 
@@ -125,6 +161,8 @@ public enum RolloutUpdateType */ SUCCEEDED(7), /** + * + * *
      * Rollout state updated to failed.
      * 
@@ -133,6 +171,8 @@ public enum RolloutUpdateType */ FAILED(8), /** + * + * *
      * Rollout requires approval.
      * 
@@ -141,6 +181,8 @@ public enum RolloutUpdateType */ APPROVAL_REQUIRED(9), /** + * + * *
      * Rollout has been approved.
      * 
@@ -149,6 +191,8 @@ public enum RolloutUpdateType */ APPROVED(10), /** + * + * *
      * Rollout has been rejected.
      * 
@@ -157,6 +201,8 @@ public enum RolloutUpdateType */ REJECTED(11), /** + * + * *
      * Rollout requires advance to the next phase.
      * 
@@ -165,6 +211,8 @@ public enum RolloutUpdateType */ ADVANCE_REQUIRED(12), /** + * + * *
      * Rollout has been advanced.
      * 
@@ -176,6 +224,8 @@ public enum RolloutUpdateType ; /** + * + * *
      * Rollout update type unspecified.
      * 
@@ -184,6 +234,8 @@ public enum RolloutUpdateType */ public static final int ROLLOUT_UPDATE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * rollout state updated to pending.
      * 
@@ -192,6 +244,8 @@ public enum RolloutUpdateType */ public static final int PENDING_VALUE = 1; /** + * + * *
      * Rollout state updated to pending release.
      * 
@@ -200,6 +254,8 @@ public enum RolloutUpdateType */ public static final int PENDING_RELEASE_VALUE = 2; /** + * + * *
      * Rollout state updated to in progress.
      * 
@@ -208,6 +264,8 @@ public enum RolloutUpdateType */ public static final int IN_PROGRESS_VALUE = 3; /** + * + * *
      * Rollout state updated to cancelling.
      * 
@@ -216,6 +274,8 @@ public enum RolloutUpdateType */ public static final int CANCELLING_VALUE = 4; /** + * + * *
      * Rollout state updated to cancelled.
      * 
@@ -224,6 +284,8 @@ public enum RolloutUpdateType */ public static final int CANCELLED_VALUE = 5; /** + * + * *
      * Rollout state updated to halted.
      * 
@@ -232,6 +294,8 @@ public enum RolloutUpdateType */ public static final int HALTED_VALUE = 6; /** + * + * *
      * Rollout state updated to succeeded.
      * 
@@ -240,6 +304,8 @@ public enum RolloutUpdateType */ public static final int SUCCEEDED_VALUE = 7; /** + * + * *
      * Rollout state updated to failed.
      * 
@@ -248,6 +314,8 @@ public enum RolloutUpdateType */ public static final int FAILED_VALUE = 8; /** + * + * *
      * Rollout requires approval.
      * 
@@ -256,6 +324,8 @@ public enum RolloutUpdateType */ public static final int APPROVAL_REQUIRED_VALUE = 9; /** + * + * *
      * Rollout has been approved.
      * 
@@ -264,6 +334,8 @@ public enum RolloutUpdateType */ public static final int APPROVED_VALUE = 10; /** + * + * *
      * Rollout has been rejected.
      * 
@@ -272,6 +344,8 @@ public enum RolloutUpdateType */ public static final int REJECTED_VALUE = 11; /** + * + * *
      * Rollout requires advance to the next phase.
      * 
@@ -280,6 +354,8 @@ public enum RolloutUpdateType */ public static final int ADVANCE_REQUIRED_VALUE = 12; /** + * + * *
      * Rollout has been advanced.
      * 
@@ -288,7 +364,6 @@ public enum RolloutUpdateType */ public static final int ADVANCED_VALUE = 13; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -313,21 +388,36 @@ public static RolloutUpdateType valueOf(int value) { */ public static RolloutUpdateType forNumber(int value) { switch (value) { - case 0: return ROLLOUT_UPDATE_TYPE_UNSPECIFIED; - case 1: return PENDING; - case 2: return PENDING_RELEASE; - case 3: return IN_PROGRESS; - case 4: return CANCELLING; - case 5: return CANCELLED; - case 6: return HALTED; - case 7: return SUCCEEDED; - case 8: return FAILED; - case 9: return APPROVAL_REQUIRED; - case 10: return APPROVED; - case 11: return REJECTED; - case 12: return ADVANCE_REQUIRED; - case 13: return ADVANCED; - default: return null; + case 0: + return ROLLOUT_UPDATE_TYPE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return PENDING_RELEASE; + case 3: + return IN_PROGRESS; + case 4: + return CANCELLING; + case 5: + return CANCELLED; + case 6: + return HALTED; + case 7: + return SUCCEEDED; + case 8: + return FAILED; + case 9: + return APPROVAL_REQUIRED; + case 10: + return APPROVED; + case 11: + return REJECTED; + case 12: + return ADVANCE_REQUIRED; + case 13: + return ADVANCED; + default: + return null; } } @@ -335,28 +425,28 @@ public static RolloutUpdateType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RolloutUpdateType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutUpdateType findValueByNumber(int number) { - return RolloutUpdateType.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 RolloutUpdateType findValueByNumber(int number) { + return RolloutUpdateType.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.RolloutUpdateEvent.getDescriptor().getEnumTypes().get(0); } @@ -365,8 +455,7 @@ public RolloutUpdateType findValueByNumber(int number) { public static RolloutUpdateType 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; @@ -384,14 +473,18 @@ private RolloutUpdateType(int value) { } public static final int MESSAGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Debug message for when a rollout update event occurs.
    * 
* * string message = 6; + * * @return The message. */ @java.lang.Override @@ -400,29 +493,29 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when a rollout update event occurs.
    * 
* * string message = 6; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -431,14 +524,18 @@ public java.lang.String getMessage() { } public static final int PIPELINE_UID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object pipelineUid_ = ""; /** + * + * *
    * Unique identifier of the pipeline.
    * 
* * string pipeline_uid = 1; + * * @return The pipelineUid. */ @java.lang.Override @@ -447,29 +544,29 @@ public java.lang.String getPipelineUid() { 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(); pipelineUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the pipeline.
    * 
* * string pipeline_uid = 1; + * * @return The bytes for pipelineUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -478,14 +575,18 @@ public java.lang.String getPipelineUid() { } public static final int RELEASE_UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object releaseUid_ = ""; /** + * + * *
    * Unique identifier of the release.
    * 
* * string release_uid = 2; + * * @return The releaseUid. */ @java.lang.Override @@ -494,29 +595,29 @@ public java.lang.String getReleaseUid() { 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(); releaseUid_ = s; return s; } } /** + * + * *
    * Unique identifier of the release.
    * 
* * string release_uid = 2; + * * @return The bytes for releaseUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -525,14 +626,18 @@ public java.lang.String getReleaseUid() { } public static final int RELEASE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object release_ = ""; /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The release. */ @java.lang.Override @@ -541,29 +646,29 @@ public java.lang.String getRelease() { 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(); release_ = s; return s; } } /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The bytes for release. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -572,9 +677,12 @@ public java.lang.String getRelease() { } public static final int ROLLOUT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object rollout_ = ""; /** + * + * *
    * The name of the rollout.
    * rollout_uid is not in this log message because we write some of these log
@@ -582,6 +690,7 @@ public java.lang.String getRelease() {
    * 
* * string rollout = 3; + * * @return The rollout. */ @java.lang.Override @@ -590,14 +699,15 @@ public java.lang.String getRollout() { 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(); rollout_ = s; return s; } } /** + * + * *
    * The name of the rollout.
    * rollout_uid is not in this log message because we write some of these log
@@ -605,16 +715,15 @@ public java.lang.String getRollout() {
    * 
* * string rollout = 3; + * * @return The bytes for rollout. */ @java.lang.Override - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -623,14 +732,18 @@ public java.lang.String getRollout() { } public static final int TARGET_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * ID of the target.
    * 
* * string target_id = 4; + * * @return The targetId. */ @java.lang.Override @@ -639,29 +752,29 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * ID of the target.
    * 
* * string target_id = 4; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -672,25 +785,33 @@ public java.lang.String getTargetId() { public static final int TYPE_FIELD_NUMBER = 7; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a rollout update event.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a rollout update event.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } @@ -698,30 +819,45 @@ public java.lang.String getTargetId() { public static final int ROLLOUT_UPDATE_TYPE_FIELD_NUMBER = 5; private int rolloutUpdateType_ = 0; /** + * + * *
    * The type of the rollout update.
    * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @return The enum numeric value on the wire for rolloutUpdateType. */ - @java.lang.Override public int getRolloutUpdateTypeValue() { + @java.lang.Override + public int getRolloutUpdateTypeValue() { return rolloutUpdateType_; } /** + * + * *
    * The type of the rollout update.
    * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @return The rolloutUpdateType. */ - @java.lang.Override public com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType getRolloutUpdateType() { - com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType result = com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.forNumber(rolloutUpdateType_); - return result == null ? com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType getRolloutUpdateType() { + com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType result = + com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.forNumber( + rolloutUpdateType_); + return result == null + ? com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -733,8 +869,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(pipelineUid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pipelineUid_); } @@ -747,7 +882,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, targetId_); } - if (rolloutUpdateType_ != com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.ROLLOUT_UPDATE_TYPE_UNSPECIFIED.getNumber()) { + if (rolloutUpdateType_ + != com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType + .ROLLOUT_UPDATE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, rolloutUpdateType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -780,16 +918,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, targetId_); } - if (rolloutUpdateType_ != com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.ROLLOUT_UPDATE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, rolloutUpdateType_); + if (rolloutUpdateType_ + != com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType + .ROLLOUT_UPDATE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, rolloutUpdateType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, message_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(release_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, release_); @@ -802,25 +941,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.cloud.deploy.v1.RolloutUpdateEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.RolloutUpdateEvent other = (com.google.cloud.deploy.v1.RolloutUpdateEvent) obj; - - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getPipelineUid() - .equals(other.getPipelineUid())) return false; - if (!getReleaseUid() - .equals(other.getReleaseUid())) return false; - if (!getRelease() - .equals(other.getRelease())) return false; - if (!getRollout() - .equals(other.getRollout())) return false; - if (!getTargetId() - .equals(other.getTargetId())) return false; + com.google.cloud.deploy.v1.RolloutUpdateEvent other = + (com.google.cloud.deploy.v1.RolloutUpdateEvent) obj; + + if (!getMessage().equals(other.getMessage())) return false; + if (!getPipelineUid().equals(other.getPipelineUid())) return false; + if (!getReleaseUid().equals(other.getReleaseUid())) return false; + if (!getRelease().equals(other.getRelease())) return false; + if (!getRollout().equals(other.getRollout())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; if (type_ != other.type_) return false; if (rolloutUpdateType_ != other.rolloutUpdateType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -855,99 +989,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RolloutUpdateEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RolloutUpdateEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/rollout_update"
    * Platform Log event that describes the rollout update event.
@@ -955,33 +1094,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.RolloutUpdateEvent}
    */
-  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.cloud.deploy.v1.RolloutUpdateEvent)
       com.google.cloud.deploy.v1.RolloutUpdateEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto.internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto
+          .internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto.internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto
+          .internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.RolloutUpdateEvent.class, com.google.cloud.deploy.v1.RolloutUpdateEvent.Builder.class);
+              com.google.cloud.deploy.v1.RolloutUpdateEvent.class,
+              com.google.cloud.deploy.v1.RolloutUpdateEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.RolloutUpdateEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -998,9 +1136,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto.internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.RolloutUpdatePayloadProto
+          .internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor;
     }
 
     @java.lang.Override
@@ -1019,8 +1157,11 @@ public com.google.cloud.deploy.v1.RolloutUpdateEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.RolloutUpdateEvent buildPartial() {
-      com.google.cloud.deploy.v1.RolloutUpdateEvent result = new com.google.cloud.deploy.v1.RolloutUpdateEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.RolloutUpdateEvent result =
+          new com.google.cloud.deploy.v1.RolloutUpdateEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1057,38 +1198,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.RolloutUpdateEvent result)
     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) {
+        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) {
+        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.cloud.deploy.v1.RolloutUpdateEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.RolloutUpdateEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.RolloutUpdateEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1159,52 +1301,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              pipelineUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              releaseUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              rollout_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              targetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 34
-            case 40: {
-              rolloutUpdateType_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 40
-            case 50: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 50
-            case 56: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 56
-            case 66: {
-              release_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                pipelineUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                releaseUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                rollout_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                targetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 34
+            case 40:
+              {
+                rolloutUpdateType_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 40
+            case 50:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 50
+            case 56:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+            case 66:
+              {
+                release_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1214,22 +1365,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when a rollout update event occurs.
      * 
* * string message = 6; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -1238,20 +1392,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a rollout update event occurs.
      * 
* * string message = 6; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -1259,28 +1414,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a rollout update event occurs.
      * 
* * string message = 6; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when a rollout update event occurs.
      * 
* * string message = 6; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -1290,17 +1452,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when a rollout update event occurs.
      * 
* * string message = 6; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -1310,18 +1476,20 @@ public Builder setMessageBytes( private java.lang.Object pipelineUid_ = ""; /** + * + * *
      * Unique identifier of the pipeline.
      * 
* * string pipeline_uid = 1; + * * @return The pipelineUid. */ public java.lang.String getPipelineUid() { java.lang.Object ref = pipelineUid_; 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(); pipelineUid_ = s; return s; @@ -1330,20 +1498,21 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the pipeline.
      * 
* * string pipeline_uid = 1; + * * @return The bytes for pipelineUid. */ - public com.google.protobuf.ByteString - getPipelineUidBytes() { + public com.google.protobuf.ByteString getPipelineUidBytes() { java.lang.Object ref = pipelineUid_; 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); pipelineUid_ = b; return b; } else { @@ -1351,28 +1520,35 @@ public java.lang.String getPipelineUid() { } } /** + * + * *
      * Unique identifier of the pipeline.
      * 
* * string pipeline_uid = 1; + * * @param value The pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pipelineUid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Unique identifier of the pipeline.
      * 
* * string pipeline_uid = 1; + * * @return This builder for chaining. */ public Builder clearPipelineUid() { @@ -1382,17 +1558,21 @@ public Builder clearPipelineUid() { return this; } /** + * + * *
      * Unique identifier of the pipeline.
      * 
* * string pipeline_uid = 1; + * * @param value The bytes for pipelineUid to set. * @return This builder for chaining. */ - public Builder setPipelineUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPipelineUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pipelineUid_ = value; bitField0_ |= 0x00000002; @@ -1402,18 +1582,20 @@ public Builder setPipelineUidBytes( private java.lang.Object releaseUid_ = ""; /** + * + * *
      * Unique identifier of the release.
      * 
* * string release_uid = 2; + * * @return The releaseUid. */ public java.lang.String getReleaseUid() { java.lang.Object ref = releaseUid_; 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(); releaseUid_ = s; return s; @@ -1422,20 +1604,21 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the release.
      * 
* * string release_uid = 2; + * * @return The bytes for releaseUid. */ - public com.google.protobuf.ByteString - getReleaseUidBytes() { + public com.google.protobuf.ByteString getReleaseUidBytes() { java.lang.Object ref = releaseUid_; 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); releaseUid_ = b; return b; } else { @@ -1443,28 +1626,35 @@ public java.lang.String getReleaseUid() { } } /** + * + * *
      * Unique identifier of the release.
      * 
* * string release_uid = 2; + * * @param value The releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } releaseUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unique identifier of the release.
      * 
* * string release_uid = 2; + * * @return This builder for chaining. */ public Builder clearReleaseUid() { @@ -1474,17 +1664,21 @@ public Builder clearReleaseUid() { return this; } /** + * + * *
      * Unique identifier of the release.
      * 
* * string release_uid = 2; + * * @param value The bytes for releaseUid to set. * @return This builder for chaining. */ - public Builder setReleaseUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); releaseUid_ = value; bitField0_ |= 0x00000004; @@ -1494,18 +1688,20 @@ public Builder setReleaseUidBytes( private java.lang.Object release_ = ""; /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @return The release. */ public java.lang.String getRelease() { java.lang.Object ref = release_; 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(); release_ = s; return s; @@ -1514,20 +1710,21 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @return The bytes for release. */ - public com.google.protobuf.ByteString - getReleaseBytes() { + public com.google.protobuf.ByteString getReleaseBytes() { java.lang.Object ref = release_; 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); release_ = b; return b; } else { @@ -1535,28 +1732,35 @@ public java.lang.String getRelease() { } } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @param value The release to set. * @return This builder for chaining. */ - public Builder setRelease( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelease(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } release_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @return This builder for chaining. */ public Builder clearRelease() { @@ -1566,17 +1770,21 @@ public Builder clearRelease() { return this; } /** + * + * *
      * The name of the `Release`.
      * 
* * string release = 8; + * * @param value The bytes for release to set. * @return This builder for chaining. */ - public Builder setReleaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReleaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); release_ = value; bitField0_ |= 0x00000008; @@ -1586,6 +1794,8 @@ public Builder setReleaseBytes( private java.lang.Object rollout_ = ""; /** + * + * *
      * The name of the rollout.
      * rollout_uid is not in this log message because we write some of these log
@@ -1593,13 +1803,13 @@ public Builder setReleaseBytes(
      * 
* * string rollout = 3; + * * @return The rollout. */ public java.lang.String getRollout() { java.lang.Object ref = rollout_; 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(); rollout_ = s; return s; @@ -1608,6 +1818,8 @@ public java.lang.String getRollout() { } } /** + * + * *
      * The name of the rollout.
      * rollout_uid is not in this log message because we write some of these log
@@ -1615,15 +1827,14 @@ public java.lang.String getRollout() {
      * 
* * string rollout = 3; + * * @return The bytes for rollout. */ - public com.google.protobuf.ByteString - getRolloutBytes() { + public com.google.protobuf.ByteString getRolloutBytes() { java.lang.Object ref = rollout_; 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); rollout_ = b; return b; } else { @@ -1631,6 +1842,8 @@ public java.lang.String getRollout() { } } /** + * + * *
      * The name of the rollout.
      * rollout_uid is not in this log message because we write some of these log
@@ -1638,18 +1851,22 @@ public java.lang.String getRollout() {
      * 
* * string rollout = 3; + * * @param value The rollout to set. * @return This builder for chaining. */ - public Builder setRollout( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRollout(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rollout_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The name of the rollout.
      * rollout_uid is not in this log message because we write some of these log
@@ -1657,6 +1874,7 @@ public Builder setRollout(
      * 
* * string rollout = 3; + * * @return This builder for chaining. */ public Builder clearRollout() { @@ -1666,6 +1884,8 @@ public Builder clearRollout() { return this; } /** + * + * *
      * The name of the rollout.
      * rollout_uid is not in this log message because we write some of these log
@@ -1673,12 +1893,14 @@ public Builder clearRollout() {
      * 
* * string rollout = 3; + * * @param value The bytes for rollout to set. * @return This builder for chaining. */ - public Builder setRolloutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRolloutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rollout_ = value; bitField0_ |= 0x00000010; @@ -1688,18 +1910,20 @@ public Builder setRolloutBytes( private java.lang.Object targetId_ = ""; /** + * + * *
      * ID of the target.
      * 
* * string target_id = 4; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -1708,20 +1932,21 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * ID of the target.
      * 
* * string target_id = 4; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -1729,28 +1954,35 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * ID of the target.
      * 
* * string target_id = 4; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * ID of the target.
      * 
* * string target_id = 4; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -1760,17 +1992,21 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * ID of the target.
      * 
* * string target_id = 4; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000020; @@ -1780,22 +2016,29 @@ public Builder setTargetIdBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a rollout update event.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a rollout update event.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1806,11 +2049,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a rollout update event.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ @java.lang.Override @@ -1819,11 +2065,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a rollout update event.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1837,11 +2086,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a rollout update event.
      * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1853,22 +2105,31 @@ public Builder clearType() { private int rolloutUpdateType_ = 0; /** + * + * *
      * The type of the rollout update.
      * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @return The enum numeric value on the wire for rolloutUpdateType. */ - @java.lang.Override public int getRolloutUpdateTypeValue() { + @java.lang.Override + public int getRolloutUpdateTypeValue() { return rolloutUpdateType_; } /** + * + * *
      * The type of the rollout update.
      * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @param value The enum numeric value on the wire for rolloutUpdateType to set. * @return This builder for chaining. */ @@ -1879,28 +2140,41 @@ public Builder setRolloutUpdateTypeValue(int value) { return this; } /** + * + * *
      * The type of the rollout update.
      * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @return The rolloutUpdateType. */ @java.lang.Override public com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType getRolloutUpdateType() { - com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType result = com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.forNumber(rolloutUpdateType_); - return result == null ? com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType result = + com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.forNumber( + rolloutUpdateType_); + return result == null + ? com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the rollout update.
      * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @param value The rolloutUpdateType to set. * @return This builder for chaining. */ - public Builder setRolloutUpdateType(com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType value) { + public Builder setRolloutUpdateType( + com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType value) { if (value == null) { throw new NullPointerException(); } @@ -1910,11 +2184,15 @@ public Builder setRolloutUpdateType(com.google.cloud.deploy.v1.RolloutUpdateEven return this; } /** + * + * *
      * The type of the rollout update.
      * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @return This builder for chaining. */ public Builder clearRolloutUpdateType() { @@ -1923,9 +2201,9 @@ public Builder clearRolloutUpdateType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1935,12 +2213,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RolloutUpdateEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RolloutUpdateEvent) private static final com.google.cloud.deploy.v1.RolloutUpdateEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RolloutUpdateEvent(); } @@ -1949,27 +2227,27 @@ public static com.google.cloud.deploy.v1.RolloutUpdateEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RolloutUpdateEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RolloutUpdateEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1984,6 +2262,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RolloutUpdateEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEventOrBuilder.java similarity index 73% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEventOrBuilder.java index 254f06e98d9b..35a89eb60cb6 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdateEventOrBuilder.java @@ -1,93 +1,131 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/rollout_update_payload.proto package com.google.cloud.deploy.v1; -public interface RolloutUpdateEventOrBuilder extends +public interface RolloutUpdateEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RolloutUpdateEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when a rollout update event occurs.
    * 
* * string message = 6; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when a rollout update event occurs.
    * 
* * string message = 6; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Unique identifier of the pipeline.
    * 
* * string pipeline_uid = 1; + * * @return The pipelineUid. */ java.lang.String getPipelineUid(); /** + * + * *
    * Unique identifier of the pipeline.
    * 
* * string pipeline_uid = 1; + * * @return The bytes for pipelineUid. */ - com.google.protobuf.ByteString - getPipelineUidBytes(); + com.google.protobuf.ByteString getPipelineUidBytes(); /** + * + * *
    * Unique identifier of the release.
    * 
* * string release_uid = 2; + * * @return The releaseUid. */ java.lang.String getReleaseUid(); /** + * + * *
    * Unique identifier of the release.
    * 
* * string release_uid = 2; + * * @return The bytes for releaseUid. */ - com.google.protobuf.ByteString - getReleaseUidBytes(); + com.google.protobuf.ByteString getReleaseUidBytes(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The release. */ java.lang.String getRelease(); /** + * + * *
    * The name of the `Release`.
    * 
* * string release = 8; + * * @return The bytes for release. */ - com.google.protobuf.ByteString - getReleaseBytes(); + com.google.protobuf.ByteString getReleaseBytes(); /** + * + * *
    * The name of the rollout.
    * rollout_uid is not in this log message because we write some of these log
@@ -95,10 +133,13 @@ public interface RolloutUpdateEventOrBuilder extends
    * 
* * string rollout = 3; + * * @return The rollout. */ java.lang.String getRollout(); /** + * + * *
    * The name of the rollout.
    * rollout_uid is not in this log message because we write some of these log
@@ -106,65 +147,84 @@ public interface RolloutUpdateEventOrBuilder extends
    * 
* * string rollout = 3; + * * @return The bytes for rollout. */ - com.google.protobuf.ByteString - getRolloutBytes(); + com.google.protobuf.ByteString getRolloutBytes(); /** + * + * *
    * ID of the target.
    * 
* * string target_id = 4; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * ID of the target.
    * 
* * string target_id = 4; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Type of this notification, e.g. for a rollout update event.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a rollout update event.
    * 
* * .google.cloud.deploy.v1.Type type = 7; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); /** + * + * *
    * The type of the rollout update.
    * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @return The enum numeric value on the wire for rolloutUpdateType. */ int getRolloutUpdateTypeValue(); /** + * + * *
    * The type of the rollout update.
    * 
* - * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * + * * @return The rolloutUpdateType. */ com.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType getRolloutUpdateType(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdatePayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdatePayloadProto.java new file mode 100644 index 000000000000..d46c6be0882b --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdatePayloadProto.java @@ -0,0 +1,89 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/rollout_update_payload.proto + +package com.google.cloud.deploy.v1; + +public final class RolloutUpdatePayloadProto { + private RolloutUpdatePayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/deploy/v1/rollout_update_" + + "payload.proto\022\026google.cloud.deploy.v1\032&g" + + "oogle/cloud/deploy/v1/log_enums.proto\"\227\004" + + "\n\022RolloutUpdateEvent\022\017\n\007message\030\006 \001(\t\022\024\n" + + "\014pipeline_uid\030\001 \001(\t\022\023\n\013release_uid\030\002 \001(\t" + + "\022\017\n\007release\030\010 \001(\t\022\017\n\007rollout\030\003 \001(\t\022\021\n\tta" + + "rget_id\030\004 \001(\t\022*\n\004type\030\007 \001(\0162\034.google.clo" + + "ud.deploy.v1.Type\022Y\n\023rollout_update_type" + + "\030\005 \001(\0162<.google.cloud.deploy.v1.RolloutU" + + "pdateEvent.RolloutUpdateType\"\210\002\n\021Rollout" + + "UpdateType\022#\n\037ROLLOUT_UPDATE_TYPE_UNSPEC" + + "IFIED\020\000\022\013\n\007PENDING\020\001\022\023\n\017PENDING_RELEASE\020" + + "\002\022\017\n\013IN_PROGRESS\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCA" + + "NCELLED\020\005\022\n\n\006HALTED\020\006\022\r\n\tSUCCEEDED\020\007\022\n\n\006" + + "FAILED\020\010\022\025\n\021APPROVAL_REQUIRED\020\t\022\014\n\010APPRO" + + "VED\020\n\022\014\n\010REJECTED\020\013\022\024\n\020ADVANCE_REQUIRED\020" + + "\014\022\014\n\010ADVANCED\020\rBm\n\032com.google.cloud.depl" + + "oy.v1B\031RolloutUpdatePayloadProtoP\001Z2clou" + + "d.google.com/go/deploy/apiv1/deploypb;de" + + "ploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor, + new java.lang.String[] { + "Message", + "PipelineUid", + "ReleaseUid", + "Release", + "Rollout", + "TargetId", + "Type", + "RolloutUpdateType", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java index 30537e901588..abd5bef9efaa 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * RuntimeConfig contains the runtime specific configurations for a deployment
  * strategy.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.RuntimeConfig}
  */
-public final class RuntimeConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RuntimeConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.RuntimeConfig)
     RuntimeConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RuntimeConfig.newBuilder() to construct.
   private RuntimeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RuntimeConfig() {
-  }
+
+  private RuntimeConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RuntimeConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.RuntimeConfig.class, com.google.cloud.deploy.v1.RuntimeConfig.Builder.class);
+            com.google.cloud.deploy.v1.RuntimeConfig.class,
+            com.google.cloud.deploy.v1.RuntimeConfig.Builder.class);
   }
 
   private int runtimeConfigCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object runtimeConfig_;
+
   public enum RuntimeConfigCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     KUBERNETES(1),
     CLOUD_RUN(2),
     RUNTIMECONFIG_NOT_SET(0);
     private final int value;
+
     private RuntimeConfigCase(int value) {
       this.value = value;
     }
@@ -68,30 +90,36 @@ public static RuntimeConfigCase valueOf(int value) {
 
     public static RuntimeConfigCase forNumber(int value) {
       switch (value) {
-        case 1: return KUBERNETES;
-        case 2: return CLOUD_RUN;
-        case 0: return RUNTIMECONFIG_NOT_SET;
-        default: return null;
+        case 1:
+          return KUBERNETES;
+        case 2:
+          return CLOUD_RUN;
+        case 0:
+          return RUNTIMECONFIG_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RuntimeConfigCase
-  getRuntimeConfigCase() {
-    return RuntimeConfigCase.forNumber(
-        runtimeConfigCase_);
+  public RuntimeConfigCase getRuntimeConfigCase() {
+    return RuntimeConfigCase.forNumber(runtimeConfigCase_);
   }
 
   public static final int KUBERNETES_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Kubernetes runtime configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * * @return Whether the kubernetes field is set. */ @java.lang.Override @@ -99,21 +127,26 @@ public boolean hasKubernetes() { return runtimeConfigCase_ == 1; } /** + * + * *
    * Kubernetes runtime configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * * @return The kubernetes. */ @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig getKubernetes() { if (runtimeConfigCase_ == 1) { - return (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_; + return (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_; } return com.google.cloud.deploy.v1.KubernetesConfig.getDefaultInstance(); } /** + * + * *
    * Kubernetes runtime configuration.
    * 
@@ -123,18 +156,21 @@ public com.google.cloud.deploy.v1.KubernetesConfig getKubernetes() { @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuilder() { if (runtimeConfigCase_ == 1) { - return (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_; + return (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_; } return com.google.cloud.deploy.v1.KubernetesConfig.getDefaultInstance(); } public static final int CLOUD_RUN_FIELD_NUMBER = 2; /** + * + * *
    * Cloud Run runtime configuration.
    * 
* * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * * @return Whether the cloudRun field is set. */ @java.lang.Override @@ -142,21 +178,26 @@ public boolean hasCloudRun() { return runtimeConfigCase_ == 2; } /** + * + * *
    * Cloud Run runtime configuration.
    * 
* * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * * @return The cloudRun. */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunConfig getCloudRun() { if (runtimeConfigCase_ == 2) { - return (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_; + return (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_; } return com.google.cloud.deploy.v1.CloudRunConfig.getDefaultInstance(); } /** + * + * *
    * Cloud Run runtime configuration.
    * 
@@ -166,12 +207,13 @@ public com.google.cloud.deploy.v1.CloudRunConfig getCloudRun() { @java.lang.Override public com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder() { if (runtimeConfigCase_ == 2) { - return (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_; + return (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_; } return com.google.cloud.deploy.v1.CloudRunConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +225,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 (runtimeConfigCase_ == 1) { output.writeMessage(1, (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_); } @@ -201,12 +242,14 @@ public int getSerializedSize() { size = 0; if (runtimeConfigCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_); } if (runtimeConfigCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,7 +259,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.RuntimeConfig)) { return super.equals(obj); @@ -226,12 +269,10 @@ public boolean equals(final java.lang.Object obj) { if (!getRuntimeConfigCase().equals(other.getRuntimeConfigCase())) return false; switch (runtimeConfigCase_) { case 1: - if (!getKubernetes() - .equals(other.getKubernetes())) return false; + if (!getKubernetes().equals(other.getKubernetes())) return false; break; case 2: - if (!getCloudRun() - .equals(other.getCloudRun())) return false; + if (!getCloudRun().equals(other.getCloudRun())) return false; break; case 0: default: @@ -264,99 +305,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.RuntimeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.RuntimeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.RuntimeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.RuntimeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.RuntimeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RuntimeConfig contains the runtime specific configurations for a deployment
    * strategy.
@@ -364,33 +410,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.RuntimeConfig}
    */
-  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.cloud.deploy.v1.RuntimeConfig)
       com.google.cloud.deploy.v1.RuntimeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.RuntimeConfig.class, com.google.cloud.deploy.v1.RuntimeConfig.Builder.class);
+              com.google.cloud.deploy.v1.RuntimeConfig.class,
+              com.google.cloud.deploy.v1.RuntimeConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.RuntimeConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -407,9 +452,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -428,8 +473,11 @@ public com.google.cloud.deploy.v1.RuntimeConfig build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.RuntimeConfig buildPartial() {
-      com.google.cloud.deploy.v1.RuntimeConfig result = new com.google.cloud.deploy.v1.RuntimeConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.RuntimeConfig result =
+          new com.google.cloud.deploy.v1.RuntimeConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -442,12 +490,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.RuntimeConfig result) {
     private void buildPartialOneofs(com.google.cloud.deploy.v1.RuntimeConfig result) {
       result.runtimeConfigCase_ = runtimeConfigCase_;
       result.runtimeConfig_ = this.runtimeConfig_;
-      if (runtimeConfigCase_ == 1 &&
-          kubernetesBuilder_ != null) {
+      if (runtimeConfigCase_ == 1 && kubernetesBuilder_ != null) {
         result.runtimeConfig_ = kubernetesBuilder_.build();
       }
-      if (runtimeConfigCase_ == 2 &&
-          cloudRunBuilder_ != null) {
+      if (runtimeConfigCase_ == 2 && cloudRunBuilder_ != null) {
         result.runtimeConfig_ = cloudRunBuilder_.build();
       }
     }
@@ -456,38 +502,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.RuntimeConfig result)
     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) {
+        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) {
+        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.cloud.deploy.v1.RuntimeConfig) {
-        return mergeFrom((com.google.cloud.deploy.v1.RuntimeConfig)other);
+        return mergeFrom((com.google.cloud.deploy.v1.RuntimeConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,17 +544,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.deploy.v1.RuntimeConfig other) {
       if (other == com.google.cloud.deploy.v1.RuntimeConfig.getDefaultInstance()) return this;
       switch (other.getRuntimeConfigCase()) {
-        case KUBERNETES: {
-          mergeKubernetes(other.getKubernetes());
-          break;
-        }
-        case CLOUD_RUN: {
-          mergeCloudRun(other.getCloudRun());
-          break;
-        }
-        case RUNTIMECONFIG_NOT_SET: {
-          break;
-        }
+        case KUBERNETES:
+          {
+            mergeKubernetes(other.getKubernetes());
+            break;
+          }
+        case CLOUD_RUN:
+          {
+            mergeCloudRun(other.getCloudRun());
+            break;
+          }
+        case RUNTIMECONFIG_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -535,26 +585,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getKubernetesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              runtimeConfigCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCloudRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              runtimeConfigCase_ = 2;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getKubernetesFieldBuilder().getBuilder(), extensionRegistry);
+                runtimeConfigCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCloudRunFieldBuilder().getBuilder(), extensionRegistry);
+                runtimeConfigCase_ = 2;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -564,12 +613,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int runtimeConfigCase_ = 0;
     private java.lang.Object runtimeConfig_;
-    public RuntimeConfigCase
-        getRuntimeConfigCase() {
-      return RuntimeConfigCase.forNumber(
-          runtimeConfigCase_);
+
+    public RuntimeConfigCase getRuntimeConfigCase() {
+      return RuntimeConfigCase.forNumber(runtimeConfigCase_);
     }
 
     public Builder clearRuntimeConfig() {
@@ -582,13 +631,19 @@ public Builder clearRuntimeConfig() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.KubernetesConfig, com.google.cloud.deploy.v1.KubernetesConfig.Builder, com.google.cloud.deploy.v1.KubernetesConfigOrBuilder> kubernetesBuilder_;
+            com.google.cloud.deploy.v1.KubernetesConfig,
+            com.google.cloud.deploy.v1.KubernetesConfig.Builder,
+            com.google.cloud.deploy.v1.KubernetesConfigOrBuilder>
+        kubernetesBuilder_;
     /**
+     *
+     *
      * 
      * Kubernetes runtime configuration.
      * 
* * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * * @return Whether the kubernetes field is set. */ @java.lang.Override @@ -596,11 +651,14 @@ public boolean hasKubernetes() { return runtimeConfigCase_ == 1; } /** + * + * *
      * Kubernetes runtime configuration.
      * 
* * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * * @return The kubernetes. */ @java.lang.Override @@ -618,6 +676,8 @@ public com.google.cloud.deploy.v1.KubernetesConfig getKubernetes() { } } /** + * + * *
      * Kubernetes runtime configuration.
      * 
@@ -638,6 +698,8 @@ public Builder setKubernetes(com.google.cloud.deploy.v1.KubernetesConfig value) return this; } /** + * + * *
      * Kubernetes runtime configuration.
      * 
@@ -656,6 +718,8 @@ public Builder setKubernetes( return this; } /** + * + * *
      * Kubernetes runtime configuration.
      * 
@@ -664,10 +728,13 @@ public Builder setKubernetes( */ public Builder mergeKubernetes(com.google.cloud.deploy.v1.KubernetesConfig value) { if (kubernetesBuilder_ == null) { - if (runtimeConfigCase_ == 1 && - runtimeConfig_ != com.google.cloud.deploy.v1.KubernetesConfig.getDefaultInstance()) { - runtimeConfig_ = com.google.cloud.deploy.v1.KubernetesConfig.newBuilder((com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_) - .mergeFrom(value).buildPartial(); + if (runtimeConfigCase_ == 1 + && runtimeConfig_ != com.google.cloud.deploy.v1.KubernetesConfig.getDefaultInstance()) { + runtimeConfig_ = + com.google.cloud.deploy.v1.KubernetesConfig.newBuilder( + (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_) + .mergeFrom(value) + .buildPartial(); } else { runtimeConfig_ = value; } @@ -683,6 +750,8 @@ public Builder mergeKubernetes(com.google.cloud.deploy.v1.KubernetesConfig value return this; } /** + * + * *
      * Kubernetes runtime configuration.
      * 
@@ -706,6 +775,8 @@ public Builder clearKubernetes() { return this; } /** + * + * *
      * Kubernetes runtime configuration.
      * 
@@ -716,6 +787,8 @@ public com.google.cloud.deploy.v1.KubernetesConfig.Builder getKubernetesBuilder( return getKubernetesFieldBuilder().getBuilder(); } /** + * + * *
      * Kubernetes runtime configuration.
      * 
@@ -734,6 +807,8 @@ public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuild } } /** + * + * *
      * Kubernetes runtime configuration.
      * 
@@ -741,14 +816,19 @@ public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuild * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig, com.google.cloud.deploy.v1.KubernetesConfig.Builder, com.google.cloud.deploy.v1.KubernetesConfigOrBuilder> + com.google.cloud.deploy.v1.KubernetesConfig, + com.google.cloud.deploy.v1.KubernetesConfig.Builder, + com.google.cloud.deploy.v1.KubernetesConfigOrBuilder> getKubernetesFieldBuilder() { if (kubernetesBuilder_ == null) { if (!(runtimeConfigCase_ == 1)) { runtimeConfig_ = com.google.cloud.deploy.v1.KubernetesConfig.getDefaultInstance(); } - kubernetesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.KubernetesConfig, com.google.cloud.deploy.v1.KubernetesConfig.Builder, com.google.cloud.deploy.v1.KubernetesConfigOrBuilder>( + kubernetesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.KubernetesConfig, + com.google.cloud.deploy.v1.KubernetesConfig.Builder, + com.google.cloud.deploy.v1.KubernetesConfigOrBuilder>( (com.google.cloud.deploy.v1.KubernetesConfig) runtimeConfig_, getParentForChildren(), isClean()); @@ -760,13 +840,19 @@ public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunConfig, com.google.cloud.deploy.v1.CloudRunConfig.Builder, com.google.cloud.deploy.v1.CloudRunConfigOrBuilder> cloudRunBuilder_; + com.google.cloud.deploy.v1.CloudRunConfig, + com.google.cloud.deploy.v1.CloudRunConfig.Builder, + com.google.cloud.deploy.v1.CloudRunConfigOrBuilder> + cloudRunBuilder_; /** + * + * *
      * Cloud Run runtime configuration.
      * 
* * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * * @return Whether the cloudRun field is set. */ @java.lang.Override @@ -774,11 +860,14 @@ public boolean hasCloudRun() { return runtimeConfigCase_ == 2; } /** + * + * *
      * Cloud Run runtime configuration.
      * 
* * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * * @return The cloudRun. */ @java.lang.Override @@ -796,6 +885,8 @@ public com.google.cloud.deploy.v1.CloudRunConfig getCloudRun() { } } /** + * + * *
      * Cloud Run runtime configuration.
      * 
@@ -816,14 +907,15 @@ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunConfig value) { return this; } /** + * + * *
      * Cloud Run runtime configuration.
      * 
* * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; */ - public Builder setCloudRun( - com.google.cloud.deploy.v1.CloudRunConfig.Builder builderForValue) { + public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunConfig.Builder builderForValue) { if (cloudRunBuilder_ == null) { runtimeConfig_ = builderForValue.build(); onChanged(); @@ -834,6 +926,8 @@ public Builder setCloudRun( return this; } /** + * + * *
      * Cloud Run runtime configuration.
      * 
@@ -842,10 +936,13 @@ public Builder setCloudRun( */ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunConfig value) { if (cloudRunBuilder_ == null) { - if (runtimeConfigCase_ == 2 && - runtimeConfig_ != com.google.cloud.deploy.v1.CloudRunConfig.getDefaultInstance()) { - runtimeConfig_ = com.google.cloud.deploy.v1.CloudRunConfig.newBuilder((com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_) - .mergeFrom(value).buildPartial(); + if (runtimeConfigCase_ == 2 + && runtimeConfig_ != com.google.cloud.deploy.v1.CloudRunConfig.getDefaultInstance()) { + runtimeConfig_ = + com.google.cloud.deploy.v1.CloudRunConfig.newBuilder( + (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_) + .mergeFrom(value) + .buildPartial(); } else { runtimeConfig_ = value; } @@ -861,6 +958,8 @@ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunConfig value) { return this; } /** + * + * *
      * Cloud Run runtime configuration.
      * 
@@ -884,6 +983,8 @@ public Builder clearCloudRun() { return this; } /** + * + * *
      * Cloud Run runtime configuration.
      * 
@@ -894,6 +995,8 @@ public com.google.cloud.deploy.v1.CloudRunConfig.Builder getCloudRunBuilder() { return getCloudRunFieldBuilder().getBuilder(); } /** + * + * *
      * Cloud Run runtime configuration.
      * 
@@ -912,6 +1015,8 @@ public com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder() } } /** + * + * *
      * Cloud Run runtime configuration.
      * 
@@ -919,14 +1024,19 @@ public com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder() * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunConfig, com.google.cloud.deploy.v1.CloudRunConfig.Builder, com.google.cloud.deploy.v1.CloudRunConfigOrBuilder> + com.google.cloud.deploy.v1.CloudRunConfig, + com.google.cloud.deploy.v1.CloudRunConfig.Builder, + com.google.cloud.deploy.v1.CloudRunConfigOrBuilder> getCloudRunFieldBuilder() { if (cloudRunBuilder_ == null) { if (!(runtimeConfigCase_ == 2)) { runtimeConfig_ = com.google.cloud.deploy.v1.CloudRunConfig.getDefaultInstance(); } - cloudRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunConfig, com.google.cloud.deploy.v1.CloudRunConfig.Builder, com.google.cloud.deploy.v1.CloudRunConfigOrBuilder>( + cloudRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CloudRunConfig, + com.google.cloud.deploy.v1.CloudRunConfig.Builder, + com.google.cloud.deploy.v1.CloudRunConfigOrBuilder>( (com.google.cloud.deploy.v1.CloudRunConfig) runtimeConfig_, getParentForChildren(), isClean()); @@ -936,9 +1046,9 @@ public com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder() onChanged(); return cloudRunBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -948,12 +1058,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.RuntimeConfig) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.RuntimeConfig) private static final com.google.cloud.deploy.v1.RuntimeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.RuntimeConfig(); } @@ -962,27 +1072,27 @@ public static com.google.cloud.deploy.v1.RuntimeConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RuntimeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RuntimeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -997,6 +1107,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.RuntimeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java index 299985132c23..23456247c7b4 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface RuntimeConfigOrBuilder extends +public interface RuntimeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RuntimeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Kubernetes runtime configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * * @return Whether the kubernetes field is set. */ boolean hasKubernetes(); /** + * + * *
    * Kubernetes runtime configuration.
    * 
* * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * * @return The kubernetes. */ com.google.cloud.deploy.v1.KubernetesConfig getKubernetes(); /** + * + * *
    * Kubernetes runtime configuration.
    * 
@@ -35,24 +59,32 @@ public interface RuntimeConfigOrBuilder extends com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuilder(); /** + * + * *
    * Cloud Run runtime configuration.
    * 
* * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * * @return Whether the cloudRun field is set. */ boolean hasCloudRun(); /** + * + * *
    * Cloud Run runtime configuration.
    * 
* * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * * @return The cloudRun. */ com.google.cloud.deploy.v1.CloudRunConfig getCloudRun(); /** + * + * *
    * Cloud Run runtime configuration.
    * 
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java index 1f2ce75a4562..bbaf58e10670 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.SerialPipeline} */ -public final class SerialPipeline extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SerialPipeline extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.SerialPipeline) SerialPipelineOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SerialPipeline.newBuilder() to construct. private SerialPipeline(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SerialPipeline() { stages_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SerialPipeline(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SerialPipeline.class, com.google.cloud.deploy.v1.SerialPipeline.Builder.class); + com.google.cloud.deploy.v1.SerialPipeline.class, + com.google.cloud.deploy.v1.SerialPipeline.Builder.class); } public static final int STAGES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List stages_; /** + * + * *
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -59,6 +81,8 @@ public java.util.List getStagesList() {
     return stages_;
   }
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -67,11 +91,13 @@ public java.util.List getStagesList() {
    * repeated .google.cloud.deploy.v1.Stage stages = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getStagesOrBuilderList() {
     return stages_;
   }
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -84,6 +110,8 @@ public int getStagesCount() {
     return stages_.size();
   }
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -96,6 +124,8 @@ public com.google.cloud.deploy.v1.Stage getStages(int index) {
     return stages_.get(index);
   }
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -104,12 +134,12 @@ public com.google.cloud.deploy.v1.Stage getStages(int index) {
    * repeated .google.cloud.deploy.v1.Stage stages = 1;
    */
   @java.lang.Override
-  public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(
-      int index) {
+  public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) {
     return stages_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -121,8 +151,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 < stages_.size(); i++) {
       output.writeMessage(1, stages_.get(i));
     }
@@ -136,8 +165,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < stages_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, stages_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, stages_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -147,15 +175,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.cloud.deploy.v1.SerialPipeline)) {
       return super.equals(obj);
     }
-    com.google.cloud.deploy.v1.SerialPipeline other = (com.google.cloud.deploy.v1.SerialPipeline) obj;
+    com.google.cloud.deploy.v1.SerialPipeline other =
+        (com.google.cloud.deploy.v1.SerialPipeline) obj;
 
-    if (!getStagesList()
-        .equals(other.getStagesList())) return false;
+    if (!getStagesList().equals(other.getStagesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -176,132 +204,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.deploy.v1.SerialPipeline parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.deploy.v1.SerialPipeline parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.deploy.v1.SerialPipeline parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.SerialPipeline parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.deploy.v1.SerialPipeline prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.SerialPipeline} */ - 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.cloud.deploy.v1.SerialPipeline) com.google.cloud.deploy.v1.SerialPipelineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SerialPipeline.class, com.google.cloud.deploy.v1.SerialPipeline.Builder.class); + com.google.cloud.deploy.v1.SerialPipeline.class, + com.google.cloud.deploy.v1.SerialPipeline.Builder.class); } // Construct using com.google.cloud.deploy.v1.SerialPipeline.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; } @java.lang.Override @@ -338,9 +370,12 @@ public com.google.cloud.deploy.v1.SerialPipeline build() { @java.lang.Override public com.google.cloud.deploy.v1.SerialPipeline buildPartial() { - com.google.cloud.deploy.v1.SerialPipeline result = new com.google.cloud.deploy.v1.SerialPipeline(this); + com.google.cloud.deploy.v1.SerialPipeline result = + new com.google.cloud.deploy.v1.SerialPipeline(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -365,38 +400,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.SerialPipeline result) { 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) { + 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) { + 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.cloud.deploy.v1.SerialPipeline) { - return mergeFrom((com.google.cloud.deploy.v1.SerialPipeline)other); + return mergeFrom((com.google.cloud.deploy.v1.SerialPipeline) other); } else { super.mergeFrom(other); return this; @@ -423,9 +459,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.SerialPipeline other) { stagesBuilder_ = null; stages_ = other.stages_; bitField0_ = (bitField0_ & ~0x00000001); - stagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStagesFieldBuilder() : null; + stagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStagesFieldBuilder() + : null; } else { stagesBuilder_.addAllMessages(other.stages_); } @@ -457,25 +494,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.deploy.v1.Stage m = - input.readMessage( - com.google.cloud.deploy.v1.Stage.parser(), - extensionRegistry); - if (stagesBuilder_ == null) { - ensureStagesIsMutable(); - stages_.add(m); - } else { - stagesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.deploy.v1.Stage m = + input.readMessage(com.google.cloud.deploy.v1.Stage.parser(), extensionRegistry); + if (stagesBuilder_ == null) { + ensureStagesIsMutable(); + stages_.add(m); + } else { + stagesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -485,21 +522,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List stages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureStagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stages_ = new java.util.ArrayList(stages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.Stage, com.google.cloud.deploy.v1.Stage.Builder, com.google.cloud.deploy.v1.StageOrBuilder> stagesBuilder_; + com.google.cloud.deploy.v1.Stage, + com.google.cloud.deploy.v1.Stage.Builder, + com.google.cloud.deploy.v1.StageOrBuilder> + stagesBuilder_; /** + * + * *
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -515,6 +559,8 @@ public java.util.List getStagesList() {
       }
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -530,6 +576,8 @@ public int getStagesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -545,6 +593,8 @@ public com.google.cloud.deploy.v1.Stage getStages(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -552,8 +602,7 @@ public com.google.cloud.deploy.v1.Stage getStages(int index) {
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public Builder setStages(
-        int index, com.google.cloud.deploy.v1.Stage value) {
+    public Builder setStages(int index, com.google.cloud.deploy.v1.Stage value) {
       if (stagesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -567,6 +616,8 @@ public Builder setStages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -574,8 +625,7 @@ public Builder setStages(
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public Builder setStages(
-        int index, com.google.cloud.deploy.v1.Stage.Builder builderForValue) {
+    public Builder setStages(int index, com.google.cloud.deploy.v1.Stage.Builder builderForValue) {
       if (stagesBuilder_ == null) {
         ensureStagesIsMutable();
         stages_.set(index, builderForValue.build());
@@ -586,6 +636,8 @@ public Builder setStages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -607,6 +659,8 @@ public Builder addStages(com.google.cloud.deploy.v1.Stage value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -614,8 +668,7 @@ public Builder addStages(com.google.cloud.deploy.v1.Stage value) {
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public Builder addStages(
-        int index, com.google.cloud.deploy.v1.Stage value) {
+    public Builder addStages(int index, com.google.cloud.deploy.v1.Stage value) {
       if (stagesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -629,6 +682,8 @@ public Builder addStages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -636,8 +691,7 @@ public Builder addStages(
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public Builder addStages(
-        com.google.cloud.deploy.v1.Stage.Builder builderForValue) {
+    public Builder addStages(com.google.cloud.deploy.v1.Stage.Builder builderForValue) {
       if (stagesBuilder_ == null) {
         ensureStagesIsMutable();
         stages_.add(builderForValue.build());
@@ -648,6 +702,8 @@ public Builder addStages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -655,8 +711,7 @@ public Builder addStages(
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public Builder addStages(
-        int index, com.google.cloud.deploy.v1.Stage.Builder builderForValue) {
+    public Builder addStages(int index, com.google.cloud.deploy.v1.Stage.Builder builderForValue) {
       if (stagesBuilder_ == null) {
         ensureStagesIsMutable();
         stages_.add(index, builderForValue.build());
@@ -667,6 +722,8 @@ public Builder addStages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -678,8 +735,7 @@ public Builder addAllStages(
         java.lang.Iterable values) {
       if (stagesBuilder_ == null) {
         ensureStagesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, stages_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stages_);
         onChanged();
       } else {
         stagesBuilder_.addAllMessages(values);
@@ -687,6 +743,8 @@ public Builder addAllStages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -705,6 +763,8 @@ public Builder clearStages() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -723,6 +783,8 @@ public Builder removeStages(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -730,11 +792,12 @@ public Builder removeStages(int index) {
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public com.google.cloud.deploy.v1.Stage.Builder getStagesBuilder(
-        int index) {
+    public com.google.cloud.deploy.v1.Stage.Builder getStagesBuilder(int index) {
       return getStagesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -742,14 +805,16 @@ public com.google.cloud.deploy.v1.Stage.Builder getStagesBuilder(
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(
-        int index) {
+    public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) {
       if (stagesBuilder_ == null) {
-        return stages_.get(index);  } else {
+        return stages_.get(index);
+      } else {
         return stagesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -757,8 +822,8 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public java.util.List 
-         getStagesOrBuilderList() {
+    public java.util.List
+        getStagesOrBuilderList() {
       if (stagesBuilder_ != null) {
         return stagesBuilder_.getMessageOrBuilderList();
       } else {
@@ -766,6 +831,8 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -774,10 +841,12 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
     public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder() {
-      return getStagesFieldBuilder().addBuilder(
-          com.google.cloud.deploy.v1.Stage.getDefaultInstance());
+      return getStagesFieldBuilder()
+          .addBuilder(com.google.cloud.deploy.v1.Stage.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -785,12 +854,13 @@ public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder() {
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder(
-        int index) {
-      return getStagesFieldBuilder().addBuilder(
-          index, com.google.cloud.deploy.v1.Stage.getDefaultInstance());
+    public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder(int index) {
+      return getStagesFieldBuilder()
+          .addBuilder(index, com.google.cloud.deploy.v1.Stage.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -798,27 +868,29 @@ public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder(
      *
      * repeated .google.cloud.deploy.v1.Stage stages = 1;
      */
-    public java.util.List 
-         getStagesBuilderList() {
+    public java.util.List getStagesBuilderList() {
       return getStagesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.deploy.v1.Stage, com.google.cloud.deploy.v1.Stage.Builder, com.google.cloud.deploy.v1.StageOrBuilder> 
+            com.google.cloud.deploy.v1.Stage,
+            com.google.cloud.deploy.v1.Stage.Builder,
+            com.google.cloud.deploy.v1.StageOrBuilder>
         getStagesFieldBuilder() {
       if (stagesBuilder_ == null) {
-        stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.deploy.v1.Stage, com.google.cloud.deploy.v1.Stage.Builder, com.google.cloud.deploy.v1.StageOrBuilder>(
-                stages_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        stagesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.deploy.v1.Stage,
+                com.google.cloud.deploy.v1.Stage.Builder,
+                com.google.cloud.deploy.v1.StageOrBuilder>(
+                stages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         stages_ = null;
       }
       return stagesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -828,12 +900,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.SerialPipeline)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.SerialPipeline)
   private static final com.google.cloud.deploy.v1.SerialPipeline DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.SerialPipeline();
   }
@@ -842,27 +914,27 @@ public static com.google.cloud.deploy.v1.SerialPipeline getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public SerialPipeline parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public SerialPipeline parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -877,6 +949,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.deploy.v1.SerialPipeline getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
similarity index 63%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
index bf9499500c46..f9805c14a5a8 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
-public interface SerialPipelineOrBuilder extends
+public interface SerialPipelineOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.SerialPipeline)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -15,9 +33,10 @@ public interface SerialPipelineOrBuilder extends
    *
    * repeated .google.cloud.deploy.v1.Stage stages = 1;
    */
-  java.util.List 
-      getStagesList();
+  java.util.List getStagesList();
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -27,6 +46,8 @@ public interface SerialPipelineOrBuilder extends
    */
   com.google.cloud.deploy.v1.Stage getStages(int index);
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -36,6 +57,8 @@ public interface SerialPipelineOrBuilder extends
    */
   int getStagesCount();
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -43,9 +66,10 @@ public interface SerialPipelineOrBuilder extends
    *
    * repeated .google.cloud.deploy.v1.Stage stages = 1;
    */
-  java.util.List 
-      getStagesOrBuilderList();
+  java.util.List getStagesOrBuilderList();
   /**
+   *
+   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -53,6 +77,5 @@ public interface SerialPipelineOrBuilder extends
    *
    * repeated .google.cloud.deploy.v1.Stage stages = 1;
    */
-  com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(
-      int index);
+  com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java
similarity index 71%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java
index 77fe2c8af3d1..34ed70f2db62 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java
@@ -1,129 +1,166 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
 /**
+ *
+ *
  * 
  * Skaffold Config modules and their remote source.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldModules} */ -public final class SkaffoldModules extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SkaffoldModules extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.SkaffoldModules) SkaffoldModulesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SkaffoldModules.newBuilder() to construct. private SkaffoldModules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SkaffoldModules() { - configs_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + configs_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SkaffoldModules(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldModules.class, com.google.cloud.deploy.v1.SkaffoldModules.Builder.class); + com.google.cloud.deploy.v1.SkaffoldModules.class, + com.google.cloud.deploy.v1.SkaffoldModules.Builder.class); } - public interface SkaffoldGitSourceOrBuilder extends + public interface SkaffoldGitSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Git repository the package should be cloned from.
      * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repo. */ java.lang.String getRepo(); /** + * + * *
      * Required. Git repository the package should be cloned from.
      * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repo. */ - com.google.protobuf.ByteString - getRepoBytes(); + com.google.protobuf.ByteString getRepoBytes(); /** + * + * *
      * Optional. Relative path from the repository root to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Optional. Relative path from the repository root to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * Optional. Git ref the package should be cloned from.
      * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ref. */ java.lang.String getRef(); /** + * + * *
      * Optional. Git ref the package should be cloned from.
      * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for ref. */ - com.google.protobuf.ByteString - getRefBytes(); + com.google.protobuf.ByteString getRefBytes(); } /** + * + * *
    * Git repository containing Skaffold Config modules.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource} */ - public static final class SkaffoldGitSource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SkaffoldGitSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) SkaffoldGitSourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SkaffoldGitSource.newBuilder() to construct. private SkaffoldGitSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SkaffoldGitSource() { repo_ = ""; path_ = ""; @@ -132,33 +169,38 @@ private SkaffoldGitSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SkaffoldGitSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.class, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder.class); + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.class, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder.class); } public static final int REPO_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object repo_ = ""; /** + * + * *
      * Required. Git repository the package should be cloned from.
      * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repo. */ @java.lang.Override @@ -167,29 +209,29 @@ public java.lang.String getRepo() { 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(); repo_ = s; return s; } } /** + * + * *
      * Required. Git repository the package should be cloned from.
      * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repo. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepoBytes() { + public com.google.protobuf.ByteString getRepoBytes() { java.lang.Object ref = repo_; 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); repo_ = b; return b; } else { @@ -198,14 +240,18 @@ public java.lang.String getRepo() { } public static final int PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** + * + * *
      * Optional. Relative path from the repository root to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ @java.lang.Override @@ -214,29 +260,29 @@ 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; } } /** + * + * *
      * Optional. Relative path from the repository root to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -245,14 +291,18 @@ public java.lang.String getPath() { } public static final int REF_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object ref_ = ""; /** + * + * *
      * Optional. Git ref the package should be cloned from.
      * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ref. */ @java.lang.Override @@ -261,29 +311,29 @@ public java.lang.String getRef() { 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(); ref_ = s; return s; } } /** + * + * *
      * Optional. Git ref the package should be cloned from.
      * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for ref. */ @java.lang.Override - public com.google.protobuf.ByteString - getRefBytes() { + public com.google.protobuf.ByteString getRefBytes() { java.lang.Object ref = ref_; 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); ref_ = b; return b; } else { @@ -292,6 +342,7 @@ public java.lang.String getRef() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,8 +354,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(repo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, repo_); } @@ -340,19 +390,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.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource)) { return super.equals(obj); } - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource other = (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) obj; + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource other = + (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) obj; - if (!getRepo() - .equals(other.getRepo())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getRef() - .equals(other.getRef())) return false; + if (!getRepo().equals(other.getRepo())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getRef().equals(other.getRef())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -376,89 +424,94 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource 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.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource 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 @@ -468,39 +521,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Git repository containing Skaffold Config modules.
      * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource} */ - 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.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.class, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder.class); + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.class, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder.class); } // Construct using com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -512,13 +567,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; } @java.lang.Override - public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource + getDefaultInstanceForType() { return com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance(); } @@ -533,13 +589,17 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource build() { @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource buildPartial() { - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource result = new com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource result = + new com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource result) { + private void buildPartial0( + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.repo_ = repo_; @@ -556,38 +616,41 @@ private void buildPartial0(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGi 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.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) { - return mergeFrom((com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource)other); + return mergeFrom((com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) other); } else { super.mergeFrom(other); return this; @@ -595,7 +658,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource other) { - if (other == com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance()) return this; + if (other + == com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance()) + return this; if (!other.getRepo().isEmpty()) { repo_ = other.repo_; bitField0_ |= 0x00000001; @@ -637,27 +702,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - repo_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - ref_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + repo_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + ref_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -667,22 +736,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object repo_ = ""; /** + * + * *
        * Required. Git repository the package should be cloned from.
        * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repo. */ public java.lang.String getRepo() { java.lang.Object ref = repo_; 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(); repo_ = s; return s; @@ -691,20 +763,21 @@ public java.lang.String getRepo() { } } /** + * + * *
        * Required. Git repository the package should be cloned from.
        * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repo. */ - public com.google.protobuf.ByteString - getRepoBytes() { + public com.google.protobuf.ByteString getRepoBytes() { java.lang.Object ref = repo_; 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); repo_ = b; return b; } else { @@ -712,28 +785,35 @@ public java.lang.String getRepo() { } } /** + * + * *
        * Required. Git repository the package should be cloned from.
        * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The repo to set. * @return This builder for chaining. */ - public Builder setRepo( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRepo(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } repo_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. Git repository the package should be cloned from.
        * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRepo() { @@ -743,17 +823,21 @@ public Builder clearRepo() { return this; } /** + * + * *
        * Required. Git repository the package should be cloned from.
        * 
* * string repo = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for repo to set. * @return This builder for chaining. */ - public Builder setRepoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRepoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); repo_ = value; bitField0_ |= 0x00000001; @@ -763,18 +847,20 @@ public Builder setRepoBytes( private java.lang.Object path_ = ""; /** + * + * *
        * Optional. Relative path from the repository root to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -783,20 +869,21 @@ public java.lang.String getPath() { } } /** + * + * *
        * Optional. Relative path from the repository root to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -804,28 +891,35 @@ public java.lang.String getPath() { } } /** + * + * *
        * Optional. Relative path from the repository root to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } path_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. Relative path from the repository root to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPath() { @@ -835,17 +929,21 @@ public Builder clearPath() { return this; } /** + * + * *
        * Optional. Relative path from the repository root to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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(); } + public Builder setPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); path_ = value; bitField0_ |= 0x00000002; @@ -855,18 +953,20 @@ public Builder setPathBytes( private java.lang.Object ref_ = ""; /** + * + * *
        * Optional. Git ref the package should be cloned from.
        * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ref. */ public java.lang.String getRef() { java.lang.Object ref = ref_; 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(); ref_ = s; return s; @@ -875,20 +975,21 @@ public java.lang.String getRef() { } } /** + * + * *
        * Optional. Git ref the package should be cloned from.
        * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for ref. */ - public com.google.protobuf.ByteString - getRefBytes() { + public com.google.protobuf.ByteString getRefBytes() { java.lang.Object ref = ref_; 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); ref_ = b; return b; } else { @@ -896,28 +997,35 @@ public java.lang.String getRef() { } } /** + * + * *
        * Optional. Git ref the package should be cloned from.
        * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The ref to set. * @return This builder for chaining. */ - public Builder setRef( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRef(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ref_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. Git ref the package should be cloned from.
        * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRef() { @@ -927,23 +1035,28 @@ public Builder clearRef() { return this; } /** + * + * *
        * Optional. Git ref the package should be cloned from.
        * 
* * string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for ref to set. * @return This builder for chaining. */ - public Builder setRefBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRefBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ref_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -956,41 +1069,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) - private static final com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource DEFAULT_INSTANCE; + private static final com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource(); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getDefaultInstance() { + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SkaffoldGitSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SkaffoldGitSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,17 +1118,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SkaffoldGCSSourceOrBuilder extends + public interface SkaffoldGCSSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Cloud Storage source paths to copy recursively. For example,
      * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1020,10 +1139,13 @@ public interface SkaffoldGCSSourceOrBuilder extends
      * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
      * Required. Cloud Storage source paths to copy recursively. For example,
      * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1031,47 +1153,55 @@ public interface SkaffoldGCSSourceOrBuilder extends
      * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); /** + * + * *
      * Optional. Relative path from the source to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Optional. Relative path from the source to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } /** + * + * *
    * Cloud Storage bucket containing Skaffold Config modules.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource} */ - public static final class SkaffoldGCSSource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SkaffoldGCSSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) SkaffoldGCSSourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SkaffoldGCSSource.newBuilder() to construct. private SkaffoldGCSSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SkaffoldGCSSource() { source_ = ""; path_ = ""; @@ -1079,28 +1209,32 @@ private SkaffoldGCSSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SkaffoldGCSSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.class, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder.class); + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.class, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object source_ = ""; /** + * + * *
      * Required. Cloud Storage source paths to copy recursively. For example,
      * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1108,6 +1242,7 @@ protected java.lang.Object newInstance(
      * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The source. */ @java.lang.Override @@ -1116,14 +1251,15 @@ public java.lang.String getSource() { 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(); source_ = s; return s; } } /** + * + * *
      * Required. Cloud Storage source paths to copy recursively. For example,
      * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1131,16 +1267,15 @@ public java.lang.String getSource() {
      * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; 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); source_ = b; return b; } else { @@ -1149,14 +1284,18 @@ public java.lang.String getSource() { } public static final int PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** + * + * *
      * Optional. Relative path from the source to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ @java.lang.Override @@ -1165,29 +1304,29 @@ 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; } } /** + * + * *
      * Optional. Relative path from the source to the Skaffold file.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1196,6 +1335,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1207,8 +1347,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(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -1238,17 +1377,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.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource)) { return super.equals(obj); } - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource other = (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) obj; + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource other = + (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) obj; - if (!getSource() - .equals(other.getSource())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getSource().equals(other.getSource())) return false; + if (!getPath().equals(other.getPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1270,89 +1408,94 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource 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.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource 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 @@ -1362,39 +1505,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Cloud Storage bucket containing Skaffold Config modules.
      * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource} */ - 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.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.class, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder.class); + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.class, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder.class); } // Construct using com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1405,13 +1550,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; } @java.lang.Override - public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource + getDefaultInstanceForType() { return com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance(); } @@ -1426,13 +1572,17 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource build() { @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource buildPartial() { - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource result = new com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource result = + new com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource result) { + private void buildPartial0( + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.source_ = source_; @@ -1446,38 +1596,41 @@ private void buildPartial0(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGC 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.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) { - return mergeFrom((com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource)other); + return mergeFrom((com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) other); } else { super.mergeFrom(other); return this; @@ -1485,7 +1638,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource other) { - if (other == com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance()) return this; + if (other + == com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance()) + return this; if (!other.getSource().isEmpty()) { source_ = other.source_; bitField0_ |= 0x00000001; @@ -1522,22 +1677,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1547,10 +1705,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object source_ = ""; /** + * + * *
        * Required. Cloud Storage source paths to copy recursively. For example,
        * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1558,13 +1719,13 @@ public Builder mergeFrom(
        * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; 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(); source_ = s; return s; @@ -1573,6 +1734,8 @@ public java.lang.String getSource() { } } /** + * + * *
        * Required. Cloud Storage source paths to copy recursively. For example,
        * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1580,15 +1743,14 @@ public java.lang.String getSource() {
        * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; 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); source_ = b; return b; } else { @@ -1596,6 +1758,8 @@ public java.lang.String getSource() { } } /** + * + * *
        * Required. Cloud Storage source paths to copy recursively. For example,
        * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1603,18 +1767,22 @@ public java.lang.String getSource() {
        * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } source_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. Cloud Storage source paths to copy recursively. For example,
        * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1622,6 +1790,7 @@ public Builder setSource(
        * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSource() { @@ -1631,6 +1800,8 @@ public Builder clearSource() { return this; } /** + * + * *
        * Required. Cloud Storage source paths to copy recursively. For example,
        * providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
@@ -1638,12 +1809,14 @@ public Builder clearSource() {
        * 
* * string source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); source_ = value; bitField0_ |= 0x00000001; @@ -1653,18 +1826,20 @@ public Builder setSourceBytes( private java.lang.Object path_ = ""; /** + * + * *
        * Optional. Relative path from the source to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1673,20 +1848,21 @@ public java.lang.String getPath() { } } /** + * + * *
        * Optional. Relative path from the source to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1694,28 +1870,35 @@ public java.lang.String getPath() { } } /** + * + * *
        * Optional. Relative path from the source to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } path_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. Relative path from the source to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPath() { @@ -1725,23 +1908,28 @@ public Builder clearPath() { return this; } /** + * + * *
        * Optional. Relative path from the source to the Skaffold file.
        * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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(); } + public Builder setPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); path_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1754,41 +1942,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) - private static final com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource DEFAULT_INSTANCE; + private static final com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource(); } - public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getDefaultInstance() { + public static com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SkaffoldGCSSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SkaffoldGCSSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1800,22 +1991,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getDefaultInstanceForType() { + public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GIT(2), GOOGLE_CLOUD_STORAGE(3), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -1831,56 +2026,68 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GIT; - case 3: return GOOGLE_CLOUD_STORAGE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GIT; + case 3: + return GOOGLE_CLOUD_STORAGE; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public static final int CONFIGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList configs_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the configs. */ - public com.google.protobuf.ProtocolStringList - getConfigsList() { + public com.google.protobuf.ProtocolStringList getConfigsList() { return configs_; } /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of configs. */ public int getConfigsCount() { return configs_.size(); } /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The configs at the given index. */ @@ -1888,26 +2095,31 @@ public java.lang.String getConfigs(int index) { return configs_.get(index); } /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the configs at the given index. */ - public com.google.protobuf.ByteString - getConfigsBytes(int index) { + public com.google.protobuf.ByteString getConfigsBytes(int index) { return configs_.getByteString(index); } public static final int GIT_FIELD_NUMBER = 2; /** + * + * *
    * Remote git repository containing the Skaffold Config modules.
    * 
* * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * * @return Whether the git field is set. */ @java.lang.Override @@ -1915,21 +2127,26 @@ public boolean hasGit() { return sourceCase_ == 2; } /** + * + * *
    * Remote git repository containing the Skaffold Config modules.
    * 
* * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * * @return The git. */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getGit() { if (sourceCase_ == 2) { - return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_; + return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_; } return com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance(); } /** + * + * *
    * Remote git repository containing the Skaffold Config modules.
    * 
@@ -1939,18 +2156,22 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getGit() { @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder getGitOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_; + return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_; } return com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance(); } public static final int GOOGLE_CLOUD_STORAGE_FIELD_NUMBER = 3; /** + * + * *
    * Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * * @return Whether the googleCloudStorage field is set. */ @java.lang.Override @@ -1958,36 +2179,45 @@ public boolean hasGoogleCloudStorage() { return sourceCase_ == 3; } /** + * + * *
    * Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * * @return The googleCloudStorage. */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getGoogleCloudStorage() { if (sourceCase_ == 3) { - return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_; + return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_; } return com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance(); } /** + * + * *
    * Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder getGoogleCloudStorageOrBuilder() { + public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder + getGoogleCloudStorageOrBuilder() { if (sourceCase_ == 3) { - return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_; + return (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_; } return com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1999,16 +2229,17 @@ 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 < configs_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, configs_.getRaw(i)); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_); + output.writeMessage( + 2, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_); } if (sourceCase_ == 3) { - output.writeMessage(3, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_); + output.writeMessage( + 3, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_); } getUnknownFields().writeTo(output); } @@ -2028,12 +2259,14 @@ public int getSerializedSize() { size += 1 * getConfigsList().size(); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_); } if (sourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2043,24 +2276,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.cloud.deploy.v1.SkaffoldModules)) { return super.equals(obj); } - com.google.cloud.deploy.v1.SkaffoldModules other = (com.google.cloud.deploy.v1.SkaffoldModules) obj; + com.google.cloud.deploy.v1.SkaffoldModules other = + (com.google.cloud.deploy.v1.SkaffoldModules) obj; - if (!getConfigsList() - .equals(other.getConfigsList())) return false; + if (!getConfigsList().equals(other.getConfigsList())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGit() - .equals(other.getGit())) return false; + if (!getGit().equals(other.getGit())) return false; break; case 3: - if (!getGoogleCloudStorage() - .equals(other.getGoogleCloudStorage())) return false; + if (!getGoogleCloudStorage().equals(other.getGoogleCloudStorage())) return false; break; case 0: default: @@ -2097,138 +2328,141 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldModules parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.SkaffoldModules parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.SkaffoldModules parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldModules parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.SkaffoldModules prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Skaffold Config modules and their remote source.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldModules} */ - 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.cloud.deploy.v1.SkaffoldModules) com.google.cloud.deploy.v1.SkaffoldModulesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldModules.class, com.google.cloud.deploy.v1.SkaffoldModules.Builder.class); + com.google.cloud.deploy.v1.SkaffoldModules.class, + com.google.cloud.deploy.v1.SkaffoldModules.Builder.class); } // Construct using com.google.cloud.deploy.v1.SkaffoldModules.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - configs_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + configs_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (gitBuilder_ != null) { gitBuilder_.clear(); } @@ -2241,9 +2475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; } @java.lang.Override @@ -2262,8 +2496,11 @@ public com.google.cloud.deploy.v1.SkaffoldModules build() { @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules buildPartial() { - com.google.cloud.deploy.v1.SkaffoldModules result = new com.google.cloud.deploy.v1.SkaffoldModules(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.SkaffoldModules result = + new com.google.cloud.deploy.v1.SkaffoldModules(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2280,12 +2517,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.SkaffoldModules result) { private void buildPartialOneofs(com.google.cloud.deploy.v1.SkaffoldModules result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; - if (sourceCase_ == 2 && - gitBuilder_ != null) { + if (sourceCase_ == 2 && gitBuilder_ != null) { result.source_ = gitBuilder_.build(); } - if (sourceCase_ == 3 && - googleCloudStorageBuilder_ != null) { + if (sourceCase_ == 3 && googleCloudStorageBuilder_ != null) { result.source_ = googleCloudStorageBuilder_.build(); } } @@ -2294,38 +2529,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.SkaffoldModules resul 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) { + 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) { + 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.cloud.deploy.v1.SkaffoldModules) { - return mergeFrom((com.google.cloud.deploy.v1.SkaffoldModules)other); + return mergeFrom((com.google.cloud.deploy.v1.SkaffoldModules) other); } else { super.mergeFrom(other); return this; @@ -2345,17 +2581,20 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.SkaffoldModules other) { onChanged(); } switch (other.getSourceCase()) { - case GIT: { - mergeGit(other.getGit()); - break; - } - case GOOGLE_CLOUD_STORAGE: { - mergeGoogleCloudStorage(other.getGoogleCloudStorage()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GIT: + { + mergeGit(other.getGit()); + break; + } + case GOOGLE_CLOUD_STORAGE: + { + mergeGoogleCloudStorage(other.getGoogleCloudStorage()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2383,32 +2622,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureConfigsIsMutable(); - configs_.add(s); - break; - } // case 10 - case 18: { - input.readMessage( - getGitFieldBuilder().getBuilder(), - extensionRegistry); - sourceCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getGoogleCloudStorageFieldBuilder().getBuilder(), - extensionRegistry); - sourceCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureConfigsIsMutable(); + configs_.add(s); + break; + } // case 10 + case 18: + { + input.readMessage(getGitFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getGoogleCloudStorageFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2418,12 +2658,12 @@ public Builder mergeFrom( } // finally return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -2437,6 +2677,7 @@ public Builder clearSource() { private com.google.protobuf.LazyStringArrayList configs_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureConfigsIsMutable() { if (!configs_.isModifiable()) { configs_ = new com.google.protobuf.LazyStringArrayList(configs_); @@ -2444,35 +2685,43 @@ private void ensureConfigsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the configs. */ - public com.google.protobuf.ProtocolStringList - getConfigsList() { + public com.google.protobuf.ProtocolStringList getConfigsList() { configs_.makeImmutable(); return configs_; } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of configs. */ public int getConfigsCount() { return configs_.size(); } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The configs at the given index. */ @@ -2480,31 +2729,37 @@ public java.lang.String getConfigs(int index) { return configs_.get(index); } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the configs at the given index. */ - public com.google.protobuf.ByteString - getConfigsBytes(int index) { + public com.google.protobuf.ByteString getConfigsBytes(int index) { return configs_.getByteString(index); } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The configs to set. * @return This builder for chaining. */ - public Builder setConfigs( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConfigs(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureConfigsIsMutable(); configs_.set(index, value); bitField0_ |= 0x00000001; @@ -2512,17 +2767,21 @@ public Builder setConfigs( return this; } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The configs to add. * @return This builder for chaining. */ - public Builder addConfigs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addConfigs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureConfigsIsMutable(); configs_.add(value); bitField0_ |= 0x00000001; @@ -2530,50 +2789,58 @@ public Builder addConfigs( return this; } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The configs to add. * @return This builder for chaining. */ - public Builder addAllConfigs( - java.lang.Iterable values) { + public Builder addAllConfigs(java.lang.Iterable values) { ensureConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, configs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configs_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearConfigs() { - configs_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + configs_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Optional. The Skaffold Config modules to use from the specified source.
      * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the configs to add. * @return This builder for chaining. */ - public Builder addConfigsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addConfigsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureConfigsIsMutable(); configs_.add(value); @@ -2583,13 +2850,19 @@ public Builder addConfigsBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder> gitBuilder_; + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder> + gitBuilder_; /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
* * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * * @return Whether the git field is set. */ @java.lang.Override @@ -2597,11 +2870,14 @@ public boolean hasGit() { return sourceCase_ == 2; } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
* * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * * @return The git. */ @java.lang.Override @@ -2619,6 +2895,8 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getGit() { } } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
@@ -2639,6 +2917,8 @@ public Builder setGit(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSour return this; } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
@@ -2657,6 +2937,8 @@ public Builder setGit( return this; } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
@@ -2665,10 +2947,15 @@ public Builder setGit( */ public Builder mergeGit(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource value) { if (gitBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance()) { - source_ = com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.newBuilder((com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource + .getDefaultInstance()) { + source_ = + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.newBuilder( + (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -2684,6 +2971,8 @@ public Builder mergeGit(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSo return this; } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
@@ -2707,6 +2996,8 @@ public Builder clearGit() { return this; } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
@@ -2717,6 +3008,8 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder getG return getGitFieldBuilder().getBuilder(); } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
@@ -2735,6 +3028,8 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder get } } /** + * + * *
      * Remote git repository containing the Skaffold Config modules.
      * 
@@ -2742,14 +3037,20 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder get * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder> + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder> getGitFieldBuilder() { if (gitBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance(); + source_ = + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.getDefaultInstance(); } - gitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder>( + gitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder>( (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource) source_, getParentForChildren(), isClean()); @@ -2761,13 +3062,20 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder> googleCloudStorageBuilder_; + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder> + googleCloudStorageBuilder_; /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * * @return Whether the googleCloudStorage field is set. */ @java.lang.Override @@ -2775,11 +3083,15 @@ public boolean hasGoogleCloudStorage() { return sourceCase_ == 3; } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * * @return The googleCloudStorage. */ @java.lang.Override @@ -2797,13 +3109,17 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getGoogleClo } } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ - public Builder setGoogleCloudStorage(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource value) { + public Builder setGoogleCloudStorage( + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource value) { if (googleCloudStorageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2817,11 +3133,14 @@ public Builder setGoogleCloudStorage(com.google.cloud.deploy.v1.SkaffoldModules. return this; } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ public Builder setGoogleCloudStorage( com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder builderForValue) { @@ -2835,18 +3154,27 @@ public Builder setGoogleCloudStorage( return this; } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ - public Builder mergeGoogleCloudStorage(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource value) { + public Builder mergeGoogleCloudStorage( + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource value) { if (googleCloudStorageBuilder_ == null) { - if (sourceCase_ == 3 && - source_ != com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance()) { - source_ = com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.newBuilder((com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 3 + && source_ + != com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource + .getDefaultInstance()) { + source_ = + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.newBuilder( + (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -2862,11 +3190,14 @@ public Builder mergeGoogleCloudStorage(com.google.cloud.deploy.v1.SkaffoldModule return this; } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ public Builder clearGoogleCloudStorage() { if (googleCloudStorageBuilder_ == null) { @@ -2885,24 +3216,32 @@ public Builder clearGoogleCloudStorage() { return this; } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ - public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder getGoogleCloudStorageBuilder() { + public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder + getGoogleCloudStorageBuilder() { return getGoogleCloudStorageFieldBuilder().getBuilder(); } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ @java.lang.Override - public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder getGoogleCloudStorageOrBuilder() { + public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder + getGoogleCloudStorageOrBuilder() { if ((sourceCase_ == 3) && (googleCloudStorageBuilder_ != null)) { return googleCloudStorageBuilder_.getMessageOrBuilder(); } else { @@ -2913,21 +3252,30 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder get } } /** + * + * *
      * Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder> + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder> getGoogleCloudStorageFieldBuilder() { if (googleCloudStorageBuilder_ == null) { if (!(sourceCase_ == 3)) { - source_ = com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance(); + source_ = + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.getDefaultInstance(); } - googleCloudStorageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder, com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder>( + googleCloudStorageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder, + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder>( (com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource) source_, getParentForChildren(), isClean()); @@ -2937,9 +3285,9 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder get onChanged(); return googleCloudStorageBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2949,12 +3297,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.SkaffoldModules) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.SkaffoldModules) private static final com.google.cloud.deploy.v1.SkaffoldModules DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.SkaffoldModules(); } @@ -2963,27 +3311,27 @@ public static com.google.cloud.deploy.v1.SkaffoldModules getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SkaffoldModules parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SkaffoldModules parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2998,6 +3346,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.SkaffoldModules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java index 6cb97d59ec3c..fa3ef30ba544 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java @@ -1,72 +1,106 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface SkaffoldModulesOrBuilder extends +public interface SkaffoldModulesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.SkaffoldModules) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the configs. */ - java.util.List - getConfigsList(); + java.util.List getConfigsList(); /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of configs. */ int getConfigsCount(); /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The configs at the given index. */ java.lang.String getConfigs(int index); /** + * + * *
    * Optional. The Skaffold Config modules to use from the specified source.
    * 
* * repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the configs at the given index. */ - com.google.protobuf.ByteString - getConfigsBytes(int index); + com.google.protobuf.ByteString getConfigsBytes(int index); /** + * + * *
    * Remote git repository containing the Skaffold Config modules.
    * 
* * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * * @return Whether the git field is set. */ boolean hasGit(); /** + * + * *
    * Remote git repository containing the Skaffold Config modules.
    * 
* * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * * @return The git. */ com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getGit(); /** + * + * *
    * Remote git repository containing the Skaffold Config modules.
    * 
@@ -76,31 +110,43 @@ public interface SkaffoldModulesOrBuilder extends com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder getGitOrBuilder(); /** + * + * *
    * Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * * @return Whether the googleCloudStorage field is set. */ boolean hasGoogleCloudStorage(); /** + * + * *
    * Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * * @return The googleCloudStorage. */ com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getGoogleCloudStorage(); /** + * + * *
    * Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * */ - com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder getGoogleCloudStorageOrBuilder(); + com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder + getGoogleCloudStorageOrBuilder(); com.google.cloud.deploy.v1.SkaffoldModules.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldSupportState.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldSupportState.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldSupportState.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldSupportState.java index fcb5cbe98ab7..0d60f220079b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldSupportState.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldSupportState.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The support state of a specific Skaffold version.
  * 
* * Protobuf enum {@code google.cloud.deploy.v1.SkaffoldSupportState} */ -public enum SkaffoldSupportState - implements com.google.protobuf.ProtocolMessageEnum { +public enum SkaffoldSupportState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value. This value is unused.
    * 
@@ -21,6 +39,8 @@ public enum SkaffoldSupportState */ SKAFFOLD_SUPPORT_STATE_UNSPECIFIED(0), /** + * + * *
    * This Skaffold version is currently supported.
    * 
@@ -29,6 +49,8 @@ public enum SkaffoldSupportState */ SKAFFOLD_SUPPORT_STATE_SUPPORTED(1), /** + * + * *
    * This Skaffold version is in maintenance mode.
    * 
@@ -37,6 +59,8 @@ public enum SkaffoldSupportState */ SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE(2), /** + * + * *
    * This Skaffold version is no longer supported.
    * 
@@ -48,6 +72,8 @@ public enum SkaffoldSupportState ; /** + * + * *
    * Default value. This value is unused.
    * 
@@ -56,6 +82,8 @@ public enum SkaffoldSupportState */ public static final int SKAFFOLD_SUPPORT_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * This Skaffold version is currently supported.
    * 
@@ -64,6 +92,8 @@ public enum SkaffoldSupportState */ public static final int SKAFFOLD_SUPPORT_STATE_SUPPORTED_VALUE = 1; /** + * + * *
    * This Skaffold version is in maintenance mode.
    * 
@@ -72,6 +102,8 @@ public enum SkaffoldSupportState */ public static final int SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE_VALUE = 2; /** + * + * *
    * This Skaffold version is no longer supported.
    * 
@@ -80,7 +112,6 @@ public enum SkaffoldSupportState */ public static final int SKAFFOLD_SUPPORT_STATE_UNSUPPORTED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,11 +136,16 @@ public static SkaffoldSupportState valueOf(int value) { */ public static SkaffoldSupportState forNumber(int value) { switch (value) { - case 0: return SKAFFOLD_SUPPORT_STATE_UNSPECIFIED; - case 1: return SKAFFOLD_SUPPORT_STATE_SUPPORTED; - case 2: return SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE; - case 3: return SKAFFOLD_SUPPORT_STATE_UNSUPPORTED; - default: return null; + case 0: + return SKAFFOLD_SUPPORT_STATE_UNSPECIFIED; + case 1: + return SKAFFOLD_SUPPORT_STATE_SUPPORTED; + case 2: + return SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE; + case 3: + return SKAFFOLD_SUPPORT_STATE_UNSUPPORTED; + default: + return null; } } @@ -117,28 +153,28 @@ public static SkaffoldSupportState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - SkaffoldSupportState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SkaffoldSupportState findValueByNumber(int number) { - return SkaffoldSupportState.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 SkaffoldSupportState findValueByNumber(int number) { + return SkaffoldSupportState.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor().getEnumTypes().get(0); } @@ -147,8 +183,7 @@ public SkaffoldSupportState findValueByNumber(int number) { public static SkaffoldSupportState 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; @@ -164,4 +199,3 @@ private SkaffoldSupportState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.deploy.v1.SkaffoldSupportState) } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java index eb2fb33d3f60..c5750afaea0c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Details of a supported Skaffold version.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldVersion} */ -public final class SkaffoldVersion extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SkaffoldVersion extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.SkaffoldVersion) SkaffoldVersionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SkaffoldVersion.newBuilder() to construct. private SkaffoldVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SkaffoldVersion() { version_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SkaffoldVersion(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldVersion.class, com.google.cloud.deploy.v1.SkaffoldVersion.Builder.class); + com.google.cloud.deploy.v1.SkaffoldVersion.class, + com.google.cloud.deploy.v1.SkaffoldVersion.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Release version number. For example, "1.20.3".
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Release version number. For example, "1.20.3".
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -93,11 +116,14 @@ public java.lang.String getVersion() { public static final int MAINTENANCE_MODE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp maintenanceModeTime_; /** + * + * *
    * The time at which this version of Skaffold will enter maintenance mode.
    * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return Whether the maintenanceModeTime field is set. */ @java.lang.Override @@ -105,18 +131,25 @@ public boolean hasMaintenanceModeTime() { return maintenanceModeTime_ != null; } /** + * + * *
    * The time at which this version of Skaffold will enter maintenance mode.
    * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return The maintenanceModeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMaintenanceModeTime() { - return maintenanceModeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_; + return maintenanceModeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maintenanceModeTime_; } /** + * + * *
    * The time at which this version of Skaffold will enter maintenance mode.
    * 
@@ -125,17 +158,22 @@ public com.google.protobuf.Timestamp getMaintenanceModeTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder() { - return maintenanceModeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_; + return maintenanceModeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maintenanceModeTime_; } public static final int SUPPORT_EXPIRATION_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp supportExpirationTime_; /** + * + * *
    * The time at which this version of Skaffold will no longer be supported.
    * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return Whether the supportExpirationTime field is set. */ @java.lang.Override @@ -143,18 +181,25 @@ public boolean hasSupportExpirationTime() { return supportExpirationTime_ != null; } /** + * + * *
    * The time at which this version of Skaffold will no longer be supported.
    * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return The supportExpirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSupportExpirationTime() { - return supportExpirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_; + return supportExpirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportExpirationTime_; } /** + * + * *
    * The time at which this version of Skaffold will no longer be supported.
    * 
@@ -163,17 +208,22 @@ public com.google.protobuf.Timestamp getSupportExpirationTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder() { - return supportExpirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_; + return supportExpirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportExpirationTime_; } public static final int SUPPORT_END_DATE_FIELD_NUMBER = 2; private com.google.type.Date supportEndDate_; /** + * + * *
    * Date when this version is expected to no longer be supported.
    * 
* * .google.type.Date support_end_date = 2; + * * @return Whether the supportEndDate field is set. */ @java.lang.Override @@ -181,11 +231,14 @@ public boolean hasSupportEndDate() { return supportEndDate_ != null; } /** + * + * *
    * Date when this version is expected to no longer be supported.
    * 
* * .google.type.Date support_end_date = 2; + * * @return The supportEndDate. */ @java.lang.Override @@ -193,6 +246,8 @@ public com.google.type.Date getSupportEndDate() { return supportEndDate_ == null ? com.google.type.Date.getDefaultInstance() : supportEndDate_; } /** + * + * *
    * Date when this version is expected to no longer be supported.
    * 
@@ -205,6 +260,7 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +272,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(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -243,16 +298,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (supportEndDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSupportEndDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSupportEndDate()); } if (maintenanceModeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMaintenanceModeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaintenanceModeTime()); } if (supportExpirationTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getSupportExpirationTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSupportExpirationTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -262,29 +315,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.cloud.deploy.v1.SkaffoldVersion)) { return super.equals(obj); } - com.google.cloud.deploy.v1.SkaffoldVersion other = (com.google.cloud.deploy.v1.SkaffoldVersion) obj; + com.google.cloud.deploy.v1.SkaffoldVersion other = + (com.google.cloud.deploy.v1.SkaffoldVersion) obj; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (hasMaintenanceModeTime() != other.hasMaintenanceModeTime()) return false; if (hasMaintenanceModeTime()) { - if (!getMaintenanceModeTime() - .equals(other.getMaintenanceModeTime())) return false; + if (!getMaintenanceModeTime().equals(other.getMaintenanceModeTime())) return false; } if (hasSupportExpirationTime() != other.hasSupportExpirationTime()) return false; if (hasSupportExpirationTime()) { - if (!getSupportExpirationTime() - .equals(other.getSupportExpirationTime())) return false; + if (!getSupportExpirationTime().equals(other.getSupportExpirationTime())) return false; } if (hasSupportEndDate() != other.hasSupportEndDate()) return false; if (hasSupportEndDate()) { - if (!getSupportEndDate() - .equals(other.getSupportEndDate())) return false; + if (!getSupportEndDate().equals(other.getSupportEndDate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -316,132 +366,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.SkaffoldVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.SkaffoldVersion parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.SkaffoldVersion parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.SkaffoldVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.SkaffoldVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of a supported Skaffold version.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.SkaffoldVersion} */ - 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.cloud.deploy.v1.SkaffoldVersion) com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.SkaffoldVersion.class, com.google.cloud.deploy.v1.SkaffoldVersion.Builder.class); + com.google.cloud.deploy.v1.SkaffoldVersion.class, + com.google.cloud.deploy.v1.SkaffoldVersion.Builder.class); } // Construct using com.google.cloud.deploy.v1.SkaffoldVersion.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; } @java.lang.Override @@ -487,8 +541,11 @@ public com.google.cloud.deploy.v1.SkaffoldVersion build() { @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldVersion buildPartial() { - com.google.cloud.deploy.v1.SkaffoldVersion result = new com.google.cloud.deploy.v1.SkaffoldVersion(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.SkaffoldVersion result = + new com.google.cloud.deploy.v1.SkaffoldVersion(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -499,19 +556,20 @@ private void buildPartial0(com.google.cloud.deploy.v1.SkaffoldVersion result) { result.version_ = version_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.maintenanceModeTime_ = maintenanceModeTimeBuilder_ == null - ? maintenanceModeTime_ - : maintenanceModeTimeBuilder_.build(); + result.maintenanceModeTime_ = + maintenanceModeTimeBuilder_ == null + ? maintenanceModeTime_ + : maintenanceModeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.supportExpirationTime_ = supportExpirationTimeBuilder_ == null - ? supportExpirationTime_ - : supportExpirationTimeBuilder_.build(); + result.supportExpirationTime_ = + supportExpirationTimeBuilder_ == null + ? supportExpirationTime_ + : supportExpirationTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.supportEndDate_ = supportEndDateBuilder_ == null - ? supportEndDate_ - : supportEndDateBuilder_.build(); + result.supportEndDate_ = + supportEndDateBuilder_ == null ? supportEndDate_ : supportEndDateBuilder_.build(); } } @@ -519,38 +577,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.SkaffoldVersion result) { 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) { + 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) { + 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.cloud.deploy.v1.SkaffoldVersion) { - return mergeFrom((com.google.cloud.deploy.v1.SkaffoldVersion)other); + return mergeFrom((com.google.cloud.deploy.v1.SkaffoldVersion) other); } else { super.mergeFrom(other); return this; @@ -599,38 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSupportEndDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: { - input.readMessage( - getMaintenanceModeTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - input.readMessage( - getSupportExpirationTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getSupportEndDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + input.readMessage( + getMaintenanceModeTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + input.readMessage( + getSupportExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -640,22 +700,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object version_ = ""; /** + * + * *
      * Release version number. For example, "1.20.3".
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -664,20 +727,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Release version number. For example, "1.20.3".
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -685,28 +749,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Release version number. For example, "1.20.3".
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Release version number. For example, "1.20.3".
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -716,17 +787,21 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Release version number. For example, "1.20.3".
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -736,34 +811,47 @@ public Builder setVersionBytes( private com.google.protobuf.Timestamp maintenanceModeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> maintenanceModeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + maintenanceModeTimeBuilder_; /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return Whether the maintenanceModeTime field is set. */ public boolean hasMaintenanceModeTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return The maintenanceModeTime. */ public com.google.protobuf.Timestamp getMaintenanceModeTime() { if (maintenanceModeTimeBuilder_ == null) { - return maintenanceModeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_; + return maintenanceModeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maintenanceModeTime_; } else { return maintenanceModeTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
@@ -784,14 +872,15 @@ public Builder setMaintenanceModeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; */ - public Builder setMaintenanceModeTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMaintenanceModeTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (maintenanceModeTimeBuilder_ == null) { maintenanceModeTime_ = builderForValue.build(); } else { @@ -802,6 +891,8 @@ public Builder setMaintenanceModeTime( return this; } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
@@ -810,9 +901,9 @@ public Builder setMaintenanceModeTime( */ public Builder mergeMaintenanceModeTime(com.google.protobuf.Timestamp value) { if (maintenanceModeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - maintenanceModeTime_ != null && - maintenanceModeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && maintenanceModeTime_ != null + && maintenanceModeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMaintenanceModeTimeBuilder().mergeFrom(value); } else { maintenanceModeTime_ = value; @@ -825,6 +916,8 @@ public Builder mergeMaintenanceModeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
@@ -842,6 +935,8 @@ public Builder clearMaintenanceModeTime() { return this; } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
@@ -854,6 +949,8 @@ public com.google.protobuf.Timestamp.Builder getMaintenanceModeTimeBuilder() { return getMaintenanceModeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
@@ -864,11 +961,14 @@ public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder() if (maintenanceModeTimeBuilder_ != null) { return maintenanceModeTimeBuilder_.getMessageOrBuilder(); } else { - return maintenanceModeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : maintenanceModeTime_; + return maintenanceModeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maintenanceModeTime_; } } /** + * + * *
      * The time at which this version of Skaffold will enter maintenance mode.
      * 
@@ -876,14 +976,17 @@ public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder() * .google.protobuf.Timestamp maintenance_mode_time = 3; */ 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> getMaintenanceModeTimeFieldBuilder() { if (maintenanceModeTimeBuilder_ == null) { - maintenanceModeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getMaintenanceModeTime(), - getParentForChildren(), - isClean()); + maintenanceModeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getMaintenanceModeTime(), getParentForChildren(), isClean()); maintenanceModeTime_ = null; } return maintenanceModeTimeBuilder_; @@ -891,34 +994,47 @@ public com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder() private com.google.protobuf.Timestamp supportExpirationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> supportExpirationTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + supportExpirationTimeBuilder_; /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return Whether the supportExpirationTime field is set. */ public boolean hasSupportExpirationTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return The supportExpirationTime. */ public com.google.protobuf.Timestamp getSupportExpirationTime() { if (supportExpirationTimeBuilder_ == null) { - return supportExpirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_; + return supportExpirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportExpirationTime_; } else { return supportExpirationTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
@@ -939,14 +1055,15 @@ public Builder setSupportExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
* * .google.protobuf.Timestamp support_expiration_time = 4; */ - public Builder setSupportExpirationTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setSupportExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (supportExpirationTimeBuilder_ == null) { supportExpirationTime_ = builderForValue.build(); } else { @@ -957,6 +1074,8 @@ public Builder setSupportExpirationTime( return this; } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
@@ -965,9 +1084,9 @@ public Builder setSupportExpirationTime( */ public Builder mergeSupportExpirationTime(com.google.protobuf.Timestamp value) { if (supportExpirationTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - supportExpirationTime_ != null && - supportExpirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && supportExpirationTime_ != null + && supportExpirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSupportExpirationTimeBuilder().mergeFrom(value); } else { supportExpirationTime_ = value; @@ -980,6 +1099,8 @@ public Builder mergeSupportExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
@@ -997,6 +1118,8 @@ public Builder clearSupportExpirationTime() { return this; } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
@@ -1009,6 +1132,8 @@ public com.google.protobuf.Timestamp.Builder getSupportExpirationTimeBuilder() { return getSupportExpirationTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
@@ -1019,11 +1144,14 @@ public com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder( if (supportExpirationTimeBuilder_ != null) { return supportExpirationTimeBuilder_.getMessageOrBuilder(); } else { - return supportExpirationTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : supportExpirationTime_; + return supportExpirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportExpirationTime_; } } /** + * + * *
      * The time at which this version of Skaffold will no longer be supported.
      * 
@@ -1031,14 +1159,17 @@ public com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder( * .google.protobuf.Timestamp support_expiration_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> getSupportExpirationTimeFieldBuilder() { if (supportExpirationTimeBuilder_ == null) { - supportExpirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getSupportExpirationTime(), - getParentForChildren(), - isClean()); + supportExpirationTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getSupportExpirationTime(), getParentForChildren(), isClean()); supportExpirationTime_ = null; } return supportExpirationTimeBuilder_; @@ -1046,34 +1177,45 @@ public com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder( private com.google.type.Date supportEndDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> supportEndDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + supportEndDateBuilder_; /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
* * .google.type.Date support_end_date = 2; + * * @return Whether the supportEndDate field is set. */ public boolean hasSupportEndDate() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
* * .google.type.Date support_end_date = 2; + * * @return The supportEndDate. */ public com.google.type.Date getSupportEndDate() { if (supportEndDateBuilder_ == null) { - return supportEndDate_ == null ? com.google.type.Date.getDefaultInstance() : supportEndDate_; + return supportEndDate_ == null + ? com.google.type.Date.getDefaultInstance() + : supportEndDate_; } else { return supportEndDateBuilder_.getMessage(); } } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -1094,14 +1236,15 @@ public Builder setSupportEndDate(com.google.type.Date value) { return this; } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
* * .google.type.Date support_end_date = 2; */ - public Builder setSupportEndDate( - com.google.type.Date.Builder builderForValue) { + public Builder setSupportEndDate(com.google.type.Date.Builder builderForValue) { if (supportEndDateBuilder_ == null) { supportEndDate_ = builderForValue.build(); } else { @@ -1112,6 +1255,8 @@ public Builder setSupportEndDate( return this; } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -1120,9 +1265,9 @@ public Builder setSupportEndDate( */ public Builder mergeSupportEndDate(com.google.type.Date value) { if (supportEndDateBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - supportEndDate_ != null && - supportEndDate_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && supportEndDate_ != null + && supportEndDate_ != com.google.type.Date.getDefaultInstance()) { getSupportEndDateBuilder().mergeFrom(value); } else { supportEndDate_ = value; @@ -1135,6 +1280,8 @@ public Builder mergeSupportEndDate(com.google.type.Date value) { return this; } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -1152,6 +1299,8 @@ public Builder clearSupportEndDate() { return this; } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -1164,6 +1313,8 @@ public com.google.type.Date.Builder getSupportEndDateBuilder() { return getSupportEndDateFieldBuilder().getBuilder(); } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -1174,11 +1325,14 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { if (supportEndDateBuilder_ != null) { return supportEndDateBuilder_.getMessageOrBuilder(); } else { - return supportEndDate_ == null ? - com.google.type.Date.getDefaultInstance() : supportEndDate_; + return supportEndDate_ == null + ? com.google.type.Date.getDefaultInstance() + : supportEndDate_; } } /** + * + * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -1186,21 +1340,20 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { * .google.type.Date support_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> getSupportEndDateFieldBuilder() { if (supportEndDateBuilder_ == null) { - supportEndDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getSupportEndDate(), - getParentForChildren(), - isClean()); + supportEndDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getSupportEndDate(), getParentForChildren(), isClean()); supportEndDate_ = null; } return supportEndDateBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1210,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.SkaffoldVersion) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.SkaffoldVersion) private static final com.google.cloud.deploy.v1.SkaffoldVersion DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.SkaffoldVersion(); } @@ -1224,27 +1377,27 @@ public static com.google.cloud.deploy.v1.SkaffoldVersion getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SkaffoldVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SkaffoldVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,6 +1412,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.SkaffoldVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java similarity index 78% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java index 9c7cb8da699e..a3df63e95560 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface SkaffoldVersionOrBuilder extends +public interface SkaffoldVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.SkaffoldVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Release version number. For example, "1.20.3".
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Release version number. For example, "1.20.3".
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The time at which this version of Skaffold will enter maintenance mode.
    * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return Whether the maintenanceModeTime field is set. */ boolean hasMaintenanceModeTime(); /** + * + * *
    * The time at which this version of Skaffold will enter maintenance mode.
    * 
* * .google.protobuf.Timestamp maintenance_mode_time = 3; + * * @return The maintenanceModeTime. */ com.google.protobuf.Timestamp getMaintenanceModeTime(); /** + * + * *
    * The time at which this version of Skaffold will enter maintenance mode.
    * 
@@ -55,24 +84,32 @@ public interface SkaffoldVersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getMaintenanceModeTimeOrBuilder(); /** + * + * *
    * The time at which this version of Skaffold will no longer be supported.
    * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return Whether the supportExpirationTime field is set. */ boolean hasSupportExpirationTime(); /** + * + * *
    * The time at which this version of Skaffold will no longer be supported.
    * 
* * .google.protobuf.Timestamp support_expiration_time = 4; + * * @return The supportExpirationTime. */ com.google.protobuf.Timestamp getSupportExpirationTime(); /** + * + * *
    * The time at which this version of Skaffold will no longer be supported.
    * 
@@ -82,24 +119,32 @@ public interface SkaffoldVersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getSupportExpirationTimeOrBuilder(); /** + * + * *
    * Date when this version is expected to no longer be supported.
    * 
* * .google.type.Date support_end_date = 2; + * * @return Whether the supportEndDate field is set. */ boolean hasSupportEndDate(); /** + * + * *
    * Date when this version is expected to no longer be supported.
    * 
* * .google.type.Date support_end_date = 2; + * * @return The supportEndDate. */ com.google.type.Date getSupportEndDate(); /** + * + * *
    * Date when this version is expected to no longer be supported.
    * 
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java index 5e7d7c2b79bb..9161d8af697a 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java @@ -1,55 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Stage specifies a location to which to deploy.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Stage} */ -public final class Stage extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Stage extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Stage) StageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Stage.newBuilder() to construct. private Stage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Stage() { targetId_ = ""; - profiles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); deployParameters_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Stage(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Stage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Stage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.deploy.v1.Stage.class, com.google.cloud.deploy.v1.Stage.Builder.class); } public static final int TARGET_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * The target_id to which this stage points. This field refers exclusively to
    * the last segment of a target name. For example, this field would just be
@@ -60,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string target_id = 1; + * * @return The targetId. */ @java.lang.Override @@ -68,14 +89,15 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * The target_id to which this stage points. This field refers exclusively to
    * the last segment of a target name. For example, this field would just be
@@ -86,16 +108,15 @@ public java.lang.String getTargetId() {
    * 
* * string target_id = 1; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -104,41 +125,50 @@ public java.lang.String getTargetId() { } public static final int PROFILES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @return A list containing the profiles. */ - public com.google.protobuf.ProtocolStringList - getProfilesList() { + public com.google.protobuf.ProtocolStringList getProfilesList() { return profiles_; } /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @return The count of profiles. */ public int getProfilesCount() { return profiles_.size(); } /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @param index The index of the element to return. * @return The profiles at the given index. */ @@ -146,28 +176,34 @@ public java.lang.String getProfiles(int index) { return profiles_.get(index); } /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. */ - public com.google.protobuf.ByteString - getProfilesBytes(int index) { + public com.google.protobuf.ByteString getProfilesBytes(int index) { return profiles_.getByteString(index); } public static final int STRATEGY_FIELD_NUMBER = 5; private com.google.cloud.deploy.v1.Strategy strategy_; /** + * + * *
    * Optional. The strategy to use for a `Rollout` to this stage.
    * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the strategy field is set. */ @java.lang.Override @@ -175,11 +211,15 @@ public boolean hasStrategy() { return strategy_ != null; } /** + * + * *
    * Optional. The strategy to use for a `Rollout` to this stage.
    * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The strategy. */ @java.lang.Override @@ -187,11 +227,14 @@ public com.google.cloud.deploy.v1.Strategy getStrategy() { return strategy_ == null ? com.google.cloud.deploy.v1.Strategy.getDefaultInstance() : strategy_; } /** + * + * *
    * Optional. The strategy to use for a `Rollout` to this stage.
    * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.StrategyOrBuilder getStrategyOrBuilder() { @@ -199,59 +242,80 @@ public com.google.cloud.deploy.v1.StrategyOrBuilder getStrategyOrBuilder() { } public static final int DEPLOY_PARAMETERS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List deployParameters_; /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getDeployParametersList() { return deployParameters_; } /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getDeployParametersOrBuilderList() { return deployParameters_; } /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getDeployParametersCount() { return deployParameters_.size(); } /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployParameters getDeployParameters(int index) { return deployParameters_.get(index); } /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeployParametersOrBuilder getDeployParametersOrBuilder( @@ -260,6 +324,7 @@ public com.google.cloud.deploy.v1.DeployParametersOrBuilder getDeployParametersO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,8 +336,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(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetId_); } @@ -306,12 +370,10 @@ public int getSerializedSize() { size += 1 * getProfilesList().size(); } if (strategy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getStrategy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStrategy()); } for (int i = 0; i < deployParameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, deployParameters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, deployParameters_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -321,24 +383,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.cloud.deploy.v1.Stage)) { return super.equals(obj); } com.google.cloud.deploy.v1.Stage other = (com.google.cloud.deploy.v1.Stage) obj; - if (!getTargetId() - .equals(other.getTargetId())) return false; - if (!getProfilesList() - .equals(other.getProfilesList())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; + if (!getProfilesList().equals(other.getProfilesList())) return false; if (hasStrategy() != other.hasStrategy()) return false; if (hasStrategy()) { - if (!getStrategy() - .equals(other.getStrategy())) return false; + if (!getStrategy().equals(other.getStrategy())) return false; } - if (!getDeployParametersList() - .equals(other.getDeployParametersList())) return false; + if (!getDeployParametersList().equals(other.getDeployParametersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,139 +427,141 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Stage parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Stage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Stage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Stage parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Stage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Stage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Stage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Stage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Stage parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Stage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Stage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Stage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Stage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Stage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Stage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Stage specifies a location to which to deploy.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Stage} */ - 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.cloud.deploy.v1.Stage) com.google.cloud.deploy.v1.StageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Stage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Stage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Stage.class, com.google.cloud.deploy.v1.Stage.Builder.class); + com.google.cloud.deploy.v1.Stage.class, + com.google.cloud.deploy.v1.Stage.Builder.class); } // Construct using com.google.cloud.deploy.v1.Stage.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; targetId_ = ""; - profiles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); strategy_ = null; if (strategyBuilder_ != null) { strategyBuilder_.dispose(); @@ -518,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Stage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Stage_descriptor; } @java.lang.Override @@ -541,7 +601,9 @@ public com.google.cloud.deploy.v1.Stage build() { public com.google.cloud.deploy.v1.Stage buildPartial() { com.google.cloud.deploy.v1.Stage result = new com.google.cloud.deploy.v1.Stage(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -568,9 +630,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.Stage result) { result.profiles_ = profiles_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.strategy_ = strategyBuilder_ == null - ? strategy_ - : strategyBuilder_.build(); + result.strategy_ = strategyBuilder_ == null ? strategy_ : strategyBuilder_.build(); } } @@ -578,38 +638,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Stage result) { 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) { + 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) { + 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.cloud.deploy.v1.Stage) { - return mergeFrom((com.google.cloud.deploy.v1.Stage)other); + return mergeFrom((com.google.cloud.deploy.v1.Stage) other); } else { super.mergeFrom(other); return this; @@ -654,9 +715,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Stage other) { deployParametersBuilder_ = null; deployParameters_ = other.deployParameters_; bitField0_ = (bitField0_ & ~0x00000008); - deployParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeployParametersFieldBuilder() : null; + deployParametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDeployParametersFieldBuilder() + : null; } else { deployParametersBuilder_.addAllMessages(other.deployParameters_); } @@ -688,43 +750,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - targetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureProfilesIsMutable(); - profiles_.add(s); - break; - } // case 18 - case 42: { - input.readMessage( - getStrategyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 42 - case 50: { - com.google.cloud.deploy.v1.DeployParameters m = - input.readMessage( - com.google.cloud.deploy.v1.DeployParameters.parser(), - extensionRegistry); - if (deployParametersBuilder_ == null) { - ensureDeployParametersIsMutable(); - deployParameters_.add(m); - } else { - deployParametersBuilder_.addMessage(m); - } - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + targetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureProfilesIsMutable(); + profiles_.add(s); + break; + } // case 18 + case 42: + { + input.readMessage(getStrategyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: + { + com.google.cloud.deploy.v1.DeployParameters m = + input.readMessage( + com.google.cloud.deploy.v1.DeployParameters.parser(), extensionRegistry); + if (deployParametersBuilder_ == null) { + ensureDeployParametersIsMutable(); + deployParameters_.add(m); + } else { + deployParametersBuilder_.addMessage(m); + } + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -734,10 +798,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object targetId_ = ""; /** + * + * *
      * The target_id to which this stage points. This field refers exclusively to
      * the last segment of a target name. For example, this field would just be
@@ -748,13 +815,13 @@ public Builder mergeFrom(
      * 
* * string target_id = 1; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -763,6 +830,8 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * The target_id to which this stage points. This field refers exclusively to
      * the last segment of a target name. For example, this field would just be
@@ -773,15 +842,14 @@ public java.lang.String getTargetId() {
      * 
* * string target_id = 1; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -789,6 +857,8 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * The target_id to which this stage points. This field refers exclusively to
      * the last segment of a target name. For example, this field would just be
@@ -799,18 +869,22 @@ public java.lang.String getTargetId() {
      * 
* * string target_id = 1; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The target_id to which this stage points. This field refers exclusively to
      * the last segment of a target name. For example, this field would just be
@@ -821,6 +895,7 @@ public Builder setTargetId(
      * 
* * string target_id = 1; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -830,6 +905,8 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * The target_id to which this stage points. This field refers exclusively to
      * the last segment of a target name. For example, this field would just be
@@ -840,12 +917,14 @@ public Builder clearTargetId() {
      * 
* * string target_id = 1; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000001; @@ -855,6 +934,7 @@ public Builder setTargetIdBytes( private com.google.protobuf.LazyStringArrayList profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureProfilesIsMutable() { if (!profiles_.isModifiable()) { profiles_ = new com.google.protobuf.LazyStringArrayList(profiles_); @@ -862,38 +942,46 @@ private void ensureProfilesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @return A list containing the profiles. */ - public com.google.protobuf.ProtocolStringList - getProfilesList() { + public com.google.protobuf.ProtocolStringList getProfilesList() { profiles_.makeImmutable(); return profiles_; } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @return The count of profiles. */ public int getProfilesCount() { return profiles_.size(); } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @param index The index of the element to return. * @return The profiles at the given index. */ @@ -901,33 +989,39 @@ public java.lang.String getProfiles(int index) { return profiles_.get(index); } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. */ - public com.google.protobuf.ByteString - getProfilesBytes(int index) { + public com.google.protobuf.ByteString getProfilesBytes(int index) { return profiles_.getByteString(index); } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @param index The index to set the value at. * @param value The profiles to set. * @return This builder for chaining. */ - public Builder setProfiles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProfiles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProfilesIsMutable(); profiles_.set(index, value); bitField0_ |= 0x00000002; @@ -935,18 +1029,22 @@ public Builder setProfiles( return this; } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @param value The profiles to add. * @return This builder for chaining. */ - public Builder addProfiles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProfiles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProfilesIsMutable(); profiles_.add(value); bitField0_ |= 0x00000002; @@ -954,53 +1052,61 @@ public Builder addProfiles( return this; } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @param values The profiles to add. * @return This builder for chaining. */ - public Builder addAllProfiles( - java.lang.Iterable values) { + public Builder addAllProfiles(java.lang.Iterable values) { ensureProfilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, profiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, profiles_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @return This builder for chaining. */ public Builder clearProfiles() { - profiles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + profiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Skaffold profiles to use when rendering the manifest for this stage's
      * `Target`.
      * 
* * repeated string profiles = 2; + * * @param value The bytes of the profiles to add. * @return This builder for chaining. */ - public Builder addProfilesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProfilesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureProfilesIsMutable(); profiles_.add(value); @@ -1011,39 +1117,58 @@ public Builder addProfilesBytes( private com.google.cloud.deploy.v1.Strategy strategy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Strategy, com.google.cloud.deploy.v1.Strategy.Builder, com.google.cloud.deploy.v1.StrategyOrBuilder> strategyBuilder_; + com.google.cloud.deploy.v1.Strategy, + com.google.cloud.deploy.v1.Strategy.Builder, + com.google.cloud.deploy.v1.StrategyOrBuilder> + strategyBuilder_; /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the strategy field is set. */ public boolean hasStrategy() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The strategy. */ public com.google.cloud.deploy.v1.Strategy getStrategy() { if (strategyBuilder_ == null) { - return strategy_ == null ? com.google.cloud.deploy.v1.Strategy.getDefaultInstance() : strategy_; + return strategy_ == null + ? com.google.cloud.deploy.v1.Strategy.getDefaultInstance() + : strategy_; } else { return strategyBuilder_.getMessage(); } } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStrategy(com.google.cloud.deploy.v1.Strategy value) { if (strategyBuilder_ == null) { @@ -1059,14 +1184,17 @@ public Builder setStrategy(com.google.cloud.deploy.v1.Strategy value) { return this; } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setStrategy( - com.google.cloud.deploy.v1.Strategy.Builder builderForValue) { + public Builder setStrategy(com.google.cloud.deploy.v1.Strategy.Builder builderForValue) { if (strategyBuilder_ == null) { strategy_ = builderForValue.build(); } else { @@ -1077,17 +1205,21 @@ public Builder setStrategy( return this; } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStrategy(com.google.cloud.deploy.v1.Strategy value) { if (strategyBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - strategy_ != null && - strategy_ != com.google.cloud.deploy.v1.Strategy.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && strategy_ != null + && strategy_ != com.google.cloud.deploy.v1.Strategy.getDefaultInstance()) { getStrategyBuilder().mergeFrom(value); } else { strategy_ = value; @@ -1100,11 +1232,15 @@ public Builder mergeStrategy(com.google.cloud.deploy.v1.Strategy value) { return this; } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStrategy() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1117,11 +1253,15 @@ public Builder clearStrategy() { return this; } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Strategy.Builder getStrategyBuilder() { bitField0_ |= 0x00000004; @@ -1129,59 +1269,80 @@ public com.google.cloud.deploy.v1.Strategy.Builder getStrategyBuilder() { return getStrategyFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.StrategyOrBuilder getStrategyOrBuilder() { if (strategyBuilder_ != null) { return strategyBuilder_.getMessageOrBuilder(); } else { - return strategy_ == null ? - com.google.cloud.deploy.v1.Strategy.getDefaultInstance() : strategy_; + return strategy_ == null + ? com.google.cloud.deploy.v1.Strategy.getDefaultInstance() + : strategy_; } } /** + * + * *
      * Optional. The strategy to use for a `Rollout` to this stage.
      * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Strategy, com.google.cloud.deploy.v1.Strategy.Builder, com.google.cloud.deploy.v1.StrategyOrBuilder> + com.google.cloud.deploy.v1.Strategy, + com.google.cloud.deploy.v1.Strategy.Builder, + com.google.cloud.deploy.v1.StrategyOrBuilder> getStrategyFieldBuilder() { if (strategyBuilder_ == null) { - strategyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Strategy, com.google.cloud.deploy.v1.Strategy.Builder, com.google.cloud.deploy.v1.StrategyOrBuilder>( - getStrategy(), - getParentForChildren(), - isClean()); + strategyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Strategy, + com.google.cloud.deploy.v1.Strategy.Builder, + com.google.cloud.deploy.v1.StrategyOrBuilder>( + getStrategy(), getParentForChildren(), isClean()); strategy_ = null; } return strategyBuilder_; } private java.util.List deployParameters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDeployParametersIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - deployParameters_ = new java.util.ArrayList(deployParameters_); + deployParameters_ = + new java.util.ArrayList(deployParameters_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.DeployParameters, com.google.cloud.deploy.v1.DeployParameters.Builder, com.google.cloud.deploy.v1.DeployParametersOrBuilder> deployParametersBuilder_; + com.google.cloud.deploy.v1.DeployParameters, + com.google.cloud.deploy.v1.DeployParameters.Builder, + com.google.cloud.deploy.v1.DeployParametersOrBuilder> + deployParametersBuilder_; /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getDeployParametersList() { if (deployParametersBuilder_ == null) { @@ -1191,11 +1352,15 @@ public java.util.List getDeployPara } } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getDeployParametersCount() { if (deployParametersBuilder_ == null) { @@ -1205,11 +1370,15 @@ public int getDeployParametersCount() { } } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.DeployParameters getDeployParameters(int index) { if (deployParametersBuilder_ == null) { @@ -1219,11 +1388,15 @@ public com.google.cloud.deploy.v1.DeployParameters getDeployParameters(int index } } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDeployParameters( int index, com.google.cloud.deploy.v1.DeployParameters value) { @@ -1240,11 +1413,15 @@ public Builder setDeployParameters( return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDeployParameters( int index, com.google.cloud.deploy.v1.DeployParameters.Builder builderForValue) { @@ -1258,11 +1435,15 @@ public Builder setDeployParameters( return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addDeployParameters(com.google.cloud.deploy.v1.DeployParameters value) { if (deployParametersBuilder_ == null) { @@ -1278,11 +1459,15 @@ public Builder addDeployParameters(com.google.cloud.deploy.v1.DeployParameters v return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addDeployParameters( int index, com.google.cloud.deploy.v1.DeployParameters value) { @@ -1299,11 +1484,15 @@ public Builder addDeployParameters( return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addDeployParameters( com.google.cloud.deploy.v1.DeployParameters.Builder builderForValue) { @@ -1317,11 +1506,15 @@ public Builder addDeployParameters( return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addDeployParameters( int index, com.google.cloud.deploy.v1.DeployParameters.Builder builderForValue) { @@ -1335,18 +1528,21 @@ public Builder addDeployParameters( return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllDeployParameters( java.lang.Iterable values) { if (deployParametersBuilder_ == null) { ensureDeployParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, deployParameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deployParameters_); onChanged(); } else { deployParametersBuilder_.addAllMessages(values); @@ -1354,11 +1550,15 @@ public Builder addAllDeployParameters( return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDeployParameters() { if (deployParametersBuilder_ == null) { @@ -1371,11 +1571,15 @@ public Builder clearDeployParameters() { return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeDeployParameters(int index) { if (deployParametersBuilder_ == null) { @@ -1388,39 +1592,52 @@ public Builder removeDeployParameters(int index) { return this; } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.DeployParameters.Builder getDeployParametersBuilder( int index) { return getDeployParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.DeployParametersOrBuilder getDeployParametersOrBuilder( int index) { if (deployParametersBuilder_ == null) { - return deployParameters_.get(index); } else { + return deployParameters_.get(index); + } else { return deployParametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getDeployParametersOrBuilderList() { + public java.util.List + getDeployParametersOrBuilderList() { if (deployParametersBuilder_ != null) { return deployParametersBuilder_.getMessageOrBuilderList(); } else { @@ -1428,45 +1645,63 @@ public com.google.cloud.deploy.v1.DeployParametersOrBuilder getDeployParametersO } } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.DeployParameters.Builder addDeployParametersBuilder() { - return getDeployParametersFieldBuilder().addBuilder( - com.google.cloud.deploy.v1.DeployParameters.getDefaultInstance()); + return getDeployParametersFieldBuilder() + .addBuilder(com.google.cloud.deploy.v1.DeployParameters.getDefaultInstance()); } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.DeployParameters.Builder addDeployParametersBuilder( int index) { - return getDeployParametersFieldBuilder().addBuilder( - index, com.google.cloud.deploy.v1.DeployParameters.getDefaultInstance()); + return getDeployParametersFieldBuilder() + .addBuilder(index, com.google.cloud.deploy.v1.DeployParameters.getDefaultInstance()); } /** + * + * *
      * Optional. The deploy parameters to use for the target in this stage.
      * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getDeployParametersBuilderList() { + public java.util.List + getDeployParametersBuilderList() { return getDeployParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.DeployParameters, com.google.cloud.deploy.v1.DeployParameters.Builder, com.google.cloud.deploy.v1.DeployParametersOrBuilder> + com.google.cloud.deploy.v1.DeployParameters, + com.google.cloud.deploy.v1.DeployParameters.Builder, + com.google.cloud.deploy.v1.DeployParametersOrBuilder> getDeployParametersFieldBuilder() { if (deployParametersBuilder_ == null) { - deployParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.DeployParameters, com.google.cloud.deploy.v1.DeployParameters.Builder, com.google.cloud.deploy.v1.DeployParametersOrBuilder>( + deployParametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.deploy.v1.DeployParameters, + com.google.cloud.deploy.v1.DeployParameters.Builder, + com.google.cloud.deploy.v1.DeployParametersOrBuilder>( deployParameters_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1475,9 +1710,9 @@ public com.google.cloud.deploy.v1.DeployParameters.Builder addDeployParametersBu } return deployParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1487,12 +1722,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Stage) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Stage) private static final com.google.cloud.deploy.v1.Stage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Stage(); } @@ -1501,27 +1736,27 @@ public static com.google.cloud.deploy.v1.Stage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Stage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1536,6 +1771,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Stage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java similarity index 66% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java index 701d99df6341..295cd6a9a19c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface StageOrBuilder extends +public interface StageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Stage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The target_id to which this stage points. This field refers exclusively to
    * the last segment of a target name. For example, this field would just be
@@ -18,10 +36,13 @@ public interface StageOrBuilder extends
    * 
* * string target_id = 1; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * The target_id to which this stage points. This field refers exclusively to
    * the last segment of a target name. For example, this field would just be
@@ -32,124 +53,163 @@ public interface StageOrBuilder extends
    * 
* * string target_id = 1; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @return A list containing the profiles. */ - java.util.List - getProfilesList(); + java.util.List getProfilesList(); /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @return The count of profiles. */ int getProfilesCount(); /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @param index The index of the element to return. * @return The profiles at the given index. */ java.lang.String getProfiles(int index); /** + * + * *
    * Skaffold profiles to use when rendering the manifest for this stage's
    * `Target`.
    * 
* * repeated string profiles = 2; + * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. */ - com.google.protobuf.ByteString - getProfilesBytes(int index); + com.google.protobuf.ByteString getProfilesBytes(int index); /** + * + * *
    * Optional. The strategy to use for a `Rollout` to this stage.
    * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the strategy field is set. */ boolean hasStrategy(); /** + * + * *
    * Optional. The strategy to use for a `Rollout` to this stage.
    * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The strategy. */ com.google.cloud.deploy.v1.Strategy getStrategy(); /** + * + * *
    * Optional. The strategy to use for a `Rollout` to this stage.
    * 
* - * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.StrategyOrBuilder getStrategyOrBuilder(); /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getDeployParametersList(); + java.util.List getDeployParametersList(); /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.DeployParameters getDeployParameters(int index); /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getDeployParametersCount(); /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getDeployParametersOrBuilderList(); /** + * + * *
    * Optional. The deploy parameters to use for the target in this stage.
    * 
* - * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.deploy.v1.DeployParametersOrBuilder getDeployParametersOrBuilder( - int index); + com.google.cloud.deploy.v1.DeployParametersOrBuilder getDeployParametersOrBuilder(int index); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java index 90e1185faef3..ec8290afb978 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Standard represents the standard deployment strategy.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Standard} */ -public final class Standard extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Standard extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Standard) StandardOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Standard.newBuilder() to construct. private Standard(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Standard() { - } + + private Standard() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Standard(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Standard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Standard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Standard.class, com.google.cloud.deploy.v1.Standard.Builder.class); + com.google.cloud.deploy.v1.Standard.class, + com.google.cloud.deploy.v1.Standard.Builder.class); } public static final int VERIFY_FIELD_NUMBER = 1; private boolean verify_ = false; /** + * + * *
    * Whether to verify a deployment.
    * 
* * bool verify = 1; + * * @return The verify. */ @java.lang.Override @@ -60,12 +81,17 @@ public boolean getVerify() { public static final int PREDEPLOY_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.Predeploy predeploy_; /** + * + * *
    * Optional. Configuration for the predeploy job. If this is not configured,
    * predeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ @java.lang.Override @@ -73,40 +99,58 @@ public boolean hasPredeploy() { return predeploy_ != null; } /** + * + * *
    * Optional. Configuration for the predeploy job. If this is not configured,
    * predeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ @java.lang.Override public com.google.cloud.deploy.v1.Predeploy getPredeploy() { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } /** + * + * *
    * Optional. Configuration for the predeploy job. If this is not configured,
    * predeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } public static final int POSTDEPLOY_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.Postdeploy postdeploy_; /** + * + * *
    * Optional. Configuration for the postdeploy job. If this is not configured,
    * postdeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ @java.lang.Override @@ -114,32 +158,46 @@ public boolean hasPostdeploy() { return postdeploy_ != null; } /** + * + * *
    * Optional. Configuration for the postdeploy job. If this is not configured,
    * postdeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ @java.lang.Override public com.google.cloud.deploy.v1.Postdeploy getPostdeploy() { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } /** + * + * *
    * Optional. Configuration for the postdeploy job. If this is not configured,
    * postdeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder() { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +209,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 (verify_ != false) { output.writeBool(1, verify_); } @@ -172,16 +229,13 @@ public int getSerializedSize() { size = 0; if (verify_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, verify_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, verify_); } if (predeploy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPredeploy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPredeploy()); } if (postdeploy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPostdeploy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPostdeploy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,24 +245,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.cloud.deploy.v1.Standard)) { return super.equals(obj); } com.google.cloud.deploy.v1.Standard other = (com.google.cloud.deploy.v1.Standard) obj; - if (getVerify() - != other.getVerify()) return false; + if (getVerify() != other.getVerify()) return false; if (hasPredeploy() != other.hasPredeploy()) return false; if (hasPredeploy()) { - if (!getPredeploy() - .equals(other.getPredeploy())) return false; + if (!getPredeploy().equals(other.getPredeploy())) return false; } if (hasPostdeploy() != other.hasPostdeploy()) return false; if (hasPostdeploy()) { - if (!getPostdeploy() - .equals(other.getPostdeploy())) return false; + if (!getPostdeploy().equals(other.getPostdeploy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,8 +273,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VERIFY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVerify()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVerify()); if (hasPredeploy()) { hash = (37 * hash) + PREDEPLOY_FIELD_NUMBER; hash = (53 * hash) + getPredeploy().hashCode(); @@ -237,132 +287,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Standard parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Standard parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Standard parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Standard parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Standard parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Standard parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Standard parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Standard parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Standard parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Standard parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Standard parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Standard parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Standard parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Standard parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Standard prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Standard represents the standard deployment strategy.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Standard} */ - 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.cloud.deploy.v1.Standard) com.google.cloud.deploy.v1.StandardOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Standard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Standard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Standard.class, com.google.cloud.deploy.v1.Standard.Builder.class); + com.google.cloud.deploy.v1.Standard.class, + com.google.cloud.deploy.v1.Standard.Builder.class); } // Construct using com.google.cloud.deploy.v1.Standard.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Standard_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Standard_descriptor; } @java.lang.Override @@ -404,7 +457,9 @@ public com.google.cloud.deploy.v1.Standard build() { @java.lang.Override public com.google.cloud.deploy.v1.Standard buildPartial() { com.google.cloud.deploy.v1.Standard result = new com.google.cloud.deploy.v1.Standard(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -415,14 +470,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.Standard result) { result.verify_ = verify_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.predeploy_ = predeployBuilder_ == null - ? predeploy_ - : predeployBuilder_.build(); + result.predeploy_ = predeployBuilder_ == null ? predeploy_ : predeployBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.postdeploy_ = postdeployBuilder_ == null - ? postdeploy_ - : postdeployBuilder_.build(); + result.postdeploy_ = postdeployBuilder_ == null ? postdeploy_ : postdeployBuilder_.build(); } } @@ -430,38 +481,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.Standard result) { 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) { + 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) { + 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.cloud.deploy.v1.Standard) { - return mergeFrom((com.google.cloud.deploy.v1.Standard)other); + return mergeFrom((com.google.cloud.deploy.v1.Standard) other); } else { super.mergeFrom(other); return this; @@ -505,31 +557,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - verify_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getPredeployFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getPostdeployFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + verify_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getPredeployFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getPostdeployFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,15 +591,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean verify_ ; + private boolean verify_; /** + * + * *
      * Whether to verify a deployment.
      * 
* * bool verify = 1; + * * @return The verify. */ @java.lang.Override @@ -555,11 +611,14 @@ public boolean getVerify() { return verify_; } /** + * + * *
      * Whether to verify a deployment.
      * 
* * bool verify = 1; + * * @param value The verify to set. * @return This builder for chaining. */ @@ -571,11 +630,14 @@ public Builder setVerify(boolean value) { return this; } /** + * + * *
      * Whether to verify a deployment.
      * 
* * bool verify = 1; + * * @return This builder for chaining. */ public Builder clearVerify() { @@ -587,42 +649,61 @@ public Builder clearVerify() { private com.google.cloud.deploy.v1.Predeploy predeploy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder> predeployBuilder_; + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder> + predeployBuilder_; /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ public boolean hasPredeploy() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ public com.google.cloud.deploy.v1.Predeploy getPredeploy() { if (predeployBuilder_ == null) { - return predeploy_ == null ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } else { return predeployBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy value) { if (predeployBuilder_ == null) { @@ -638,15 +719,18 @@ public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPredeploy( - com.google.cloud.deploy.v1.Predeploy.Builder builderForValue) { + public Builder setPredeploy(com.google.cloud.deploy.v1.Predeploy.Builder builderForValue) { if (predeployBuilder_ == null) { predeploy_ = builderForValue.build(); } else { @@ -657,18 +741,22 @@ public Builder setPredeploy( return this; } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePredeploy(com.google.cloud.deploy.v1.Predeploy value) { if (predeployBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - predeploy_ != null && - predeploy_ != com.google.cloud.deploy.v1.Predeploy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && predeploy_ != null + && predeploy_ != com.google.cloud.deploy.v1.Predeploy.getDefaultInstance()) { getPredeployBuilder().mergeFrom(value); } else { predeploy_ = value; @@ -681,12 +769,16 @@ public Builder mergePredeploy(com.google.cloud.deploy.v1.Predeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPredeploy() { bitField0_ = (bitField0_ & ~0x00000002); @@ -699,12 +791,16 @@ public Builder clearPredeploy() { return this; } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Predeploy.Builder getPredeployBuilder() { bitField0_ |= 0x00000002; @@ -712,38 +808,50 @@ public com.google.cloud.deploy.v1.Predeploy.Builder getPredeployBuilder() { return getPredeployFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { if (predeployBuilder_ != null) { return predeployBuilder_.getMessageOrBuilder(); } else { - return predeploy_ == null ? - com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() : predeploy_; + return predeploy_ == null + ? com.google.cloud.deploy.v1.Predeploy.getDefaultInstance() + : predeploy_; } } /** + * + * *
      * Optional. Configuration for the predeploy job. If this is not configured,
      * predeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder> + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder> getPredeployFieldBuilder() { if (predeployBuilder_ == null) { - predeployBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Predeploy, com.google.cloud.deploy.v1.Predeploy.Builder, com.google.cloud.deploy.v1.PredeployOrBuilder>( - getPredeploy(), - getParentForChildren(), - isClean()); + predeployBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Predeploy, + com.google.cloud.deploy.v1.Predeploy.Builder, + com.google.cloud.deploy.v1.PredeployOrBuilder>( + getPredeploy(), getParentForChildren(), isClean()); predeploy_ = null; } return predeployBuilder_; @@ -751,42 +859,61 @@ public com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder() { private com.google.cloud.deploy.v1.Postdeploy postdeploy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder> postdeployBuilder_; + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder> + postdeployBuilder_; /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ public boolean hasPostdeploy() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ public com.google.cloud.deploy.v1.Postdeploy getPostdeploy() { if (postdeployBuilder_ == null) { - return postdeploy_ == null ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } else { return postdeployBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { if (postdeployBuilder_ == null) { @@ -802,15 +929,18 @@ public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setPostdeploy( - com.google.cloud.deploy.v1.Postdeploy.Builder builderForValue) { + public Builder setPostdeploy(com.google.cloud.deploy.v1.Postdeploy.Builder builderForValue) { if (postdeployBuilder_ == null) { postdeploy_ = builderForValue.build(); } else { @@ -821,18 +951,22 @@ public Builder setPostdeploy( return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { if (postdeployBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - postdeploy_ != null && - postdeploy_ != com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && postdeploy_ != null + && postdeploy_ != com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance()) { getPostdeployBuilder().mergeFrom(value); } else { postdeploy_ = value; @@ -845,12 +979,16 @@ public Builder mergePostdeploy(com.google.cloud.deploy.v1.Postdeploy value) { return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPostdeploy() { bitField0_ = (bitField0_ & ~0x00000004); @@ -863,12 +1001,16 @@ public Builder clearPostdeploy() { return this; } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Postdeploy.Builder getPostdeployBuilder() { bitField0_ |= 0x00000004; @@ -876,45 +1018,57 @@ public com.google.cloud.deploy.v1.Postdeploy.Builder getPostdeployBuilder() { return getPostdeployFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder() { if (postdeployBuilder_ != null) { return postdeployBuilder_.getMessageOrBuilder(); } else { - return postdeploy_ == null ? - com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() : postdeploy_; + return postdeploy_ == null + ? com.google.cloud.deploy.v1.Postdeploy.getDefaultInstance() + : postdeploy_; } } /** + * + * *
      * Optional. Configuration for the postdeploy job. If this is not configured,
      * postdeploy job will not be present.
      * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder> + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder> getPostdeployFieldBuilder() { if (postdeployBuilder_ == null) { - postdeployBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Postdeploy, com.google.cloud.deploy.v1.Postdeploy.Builder, com.google.cloud.deploy.v1.PostdeployOrBuilder>( - getPostdeploy(), - getParentForChildren(), - isClean()); + postdeployBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Postdeploy, + com.google.cloud.deploy.v1.Postdeploy.Builder, + com.google.cloud.deploy.v1.PostdeployOrBuilder>( + getPostdeploy(), getParentForChildren(), isClean()); postdeploy_ = null; } return postdeployBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -924,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Standard) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Standard) private static final com.google.cloud.deploy.v1.Standard DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Standard(); } @@ -938,27 +1092,27 @@ public static com.google.cloud.deploy.v1.Standard getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Standard parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Standard parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -973,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Standard getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java similarity index 56% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java index 822c436ca64c..e9a2d0b49f18 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java @@ -1,79 +1,126 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface StandardOrBuilder extends +public interface StandardOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Standard) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether to verify a deployment.
    * 
* * bool verify = 1; + * * @return The verify. */ boolean getVerify(); /** + * + * *
    * Optional. Configuration for the predeploy job. If this is not configured,
    * predeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the predeploy field is set. */ boolean hasPredeploy(); /** + * + * *
    * Optional. Configuration for the predeploy job. If this is not configured,
    * predeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The predeploy. */ com.google.cloud.deploy.v1.Predeploy getPredeploy(); /** + * + * *
    * Optional. Configuration for the predeploy job. If this is not configured,
    * predeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PredeployOrBuilder getPredeployOrBuilder(); /** + * + * *
    * Optional. Configuration for the postdeploy job. If this is not configured,
    * postdeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the postdeploy field is set. */ boolean hasPostdeploy(); /** + * + * *
    * Optional. Configuration for the postdeploy job. If this is not configured,
    * postdeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The postdeploy. */ com.google.cloud.deploy.v1.Postdeploy getPostdeploy(); /** + * + * *
    * Optional. Configuration for the postdeploy job. If this is not configured,
    * postdeploy job will not be present.
    * 
* - * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.PostdeployOrBuilder getPostdeployOrBuilder(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java index 5acaa8ddc990..edebdd0655ad 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java @@ -1,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Strategy contains deployment strategy information.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.Strategy} */ -public final class Strategy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Strategy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Strategy) StrategyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Strategy.newBuilder() to construct. private Strategy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Strategy() { - } + + private Strategy() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Strategy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Strategy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Strategy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Strategy.class, com.google.cloud.deploy.v1.Strategy.Builder.class); + com.google.cloud.deploy.v1.Strategy.class, + com.google.cloud.deploy.v1.Strategy.Builder.class); } private int deploymentStrategyCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object deploymentStrategy_; + public enum DeploymentStrategyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STANDARD(1), CANARY(2), DEPLOYMENTSTRATEGY_NOT_SET(0); private final int value; + private DeploymentStrategyCase(int value) { this.value = value; } @@ -67,31 +89,37 @@ public static DeploymentStrategyCase valueOf(int value) { public static DeploymentStrategyCase forNumber(int value) { switch (value) { - case 1: return STANDARD; - case 2: return CANARY; - case 0: return DEPLOYMENTSTRATEGY_NOT_SET; - default: return null; + case 1: + return STANDARD; + case 2: + return CANARY; + case 0: + return DEPLOYMENTSTRATEGY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DeploymentStrategyCase - getDeploymentStrategyCase() { - return DeploymentStrategyCase.forNumber( - deploymentStrategyCase_); + public DeploymentStrategyCase getDeploymentStrategyCase() { + return DeploymentStrategyCase.forNumber(deploymentStrategyCase_); } public static final int STANDARD_FIELD_NUMBER = 1; /** + * + * *
    * Standard deployment strategy executes a single deploy and allows
    * verifying the deployment.
    * 
* * .google.cloud.deploy.v1.Standard standard = 1; + * * @return Whether the standard field is set. */ @java.lang.Override @@ -99,22 +127,27 @@ public boolean hasStandard() { return deploymentStrategyCase_ == 1; } /** + * + * *
    * Standard deployment strategy executes a single deploy and allows
    * verifying the deployment.
    * 
* * .google.cloud.deploy.v1.Standard standard = 1; + * * @return The standard. */ @java.lang.Override public com.google.cloud.deploy.v1.Standard getStandard() { if (deploymentStrategyCase_ == 1) { - return (com.google.cloud.deploy.v1.Standard) deploymentStrategy_; + return (com.google.cloud.deploy.v1.Standard) deploymentStrategy_; } return com.google.cloud.deploy.v1.Standard.getDefaultInstance(); } /** + * + * *
    * Standard deployment strategy executes a single deploy and allows
    * verifying the deployment.
@@ -125,19 +158,22 @@ public com.google.cloud.deploy.v1.Standard getStandard() {
   @java.lang.Override
   public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() {
     if (deploymentStrategyCase_ == 1) {
-       return (com.google.cloud.deploy.v1.Standard) deploymentStrategy_;
+      return (com.google.cloud.deploy.v1.Standard) deploymentStrategy_;
     }
     return com.google.cloud.deploy.v1.Standard.getDefaultInstance();
   }
 
   public static final int CANARY_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Canary deployment strategy provides progressive percentage based
    * deployments to a Target.
    * 
* * .google.cloud.deploy.v1.Canary canary = 2; + * * @return Whether the canary field is set. */ @java.lang.Override @@ -145,22 +181,27 @@ public boolean hasCanary() { return deploymentStrategyCase_ == 2; } /** + * + * *
    * Canary deployment strategy provides progressive percentage based
    * deployments to a Target.
    * 
* * .google.cloud.deploy.v1.Canary canary = 2; + * * @return The canary. */ @java.lang.Override public com.google.cloud.deploy.v1.Canary getCanary() { if (deploymentStrategyCase_ == 2) { - return (com.google.cloud.deploy.v1.Canary) deploymentStrategy_; + return (com.google.cloud.deploy.v1.Canary) deploymentStrategy_; } return com.google.cloud.deploy.v1.Canary.getDefaultInstance(); } /** + * + * *
    * Canary deployment strategy provides progressive percentage based
    * deployments to a Target.
@@ -171,12 +212,13 @@ public com.google.cloud.deploy.v1.Canary getCanary() {
   @java.lang.Override
   public com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder() {
     if (deploymentStrategyCase_ == 2) {
-       return (com.google.cloud.deploy.v1.Canary) deploymentStrategy_;
+      return (com.google.cloud.deploy.v1.Canary) deploymentStrategy_;
     }
     return com.google.cloud.deploy.v1.Canary.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,8 +230,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 (deploymentStrategyCase_ == 1) {
       output.writeMessage(1, (com.google.cloud.deploy.v1.Standard) deploymentStrategy_);
     }
@@ -206,12 +247,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (deploymentStrategyCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.cloud.deploy.v1.Standard) deploymentStrategy_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.cloud.deploy.v1.Standard) deploymentStrategy_);
     }
     if (deploymentStrategyCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.cloud.deploy.v1.Canary) deploymentStrategy_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.cloud.deploy.v1.Canary) deploymentStrategy_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -221,7 +264,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.deploy.v1.Strategy)) {
       return super.equals(obj);
@@ -231,12 +274,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getDeploymentStrategyCase().equals(other.getDeploymentStrategyCase())) return false;
     switch (deploymentStrategyCase_) {
       case 1:
-        if (!getStandard()
-            .equals(other.getStandard())) return false;
+        if (!getStandard().equals(other.getStandard())) return false;
         break;
       case 2:
-        if (!getCanary()
-            .equals(other.getCanary())) return false;
+        if (!getCanary().equals(other.getCanary())) return false;
         break;
       case 0:
       default:
@@ -269,132 +310,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.deploy.v1.Strategy parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.deploy.v1.Strategy parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.deploy.v1.Strategy parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.deploy.v1.Strategy parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.cloud.deploy.v1.Strategy parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.deploy.v1.Strategy parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.deploy.v1.Strategy parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.deploy.v1.Strategy prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Strategy contains deployment strategy information.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.Strategy} */ - 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.cloud.deploy.v1.Strategy) com.google.cloud.deploy.v1.StrategyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Strategy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Strategy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.Strategy.class, com.google.cloud.deploy.v1.Strategy.Builder.class); + com.google.cloud.deploy.v1.Strategy.class, + com.google.cloud.deploy.v1.Strategy.Builder.class); } // Construct using com.google.cloud.deploy.v1.Strategy.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +455,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Strategy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Strategy_descriptor; } @java.lang.Override @@ -433,7 +477,9 @@ public com.google.cloud.deploy.v1.Strategy build() { @java.lang.Override public com.google.cloud.deploy.v1.Strategy buildPartial() { com.google.cloud.deploy.v1.Strategy result = new com.google.cloud.deploy.v1.Strategy(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -446,12 +492,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.Strategy result) { private void buildPartialOneofs(com.google.cloud.deploy.v1.Strategy result) { result.deploymentStrategyCase_ = deploymentStrategyCase_; result.deploymentStrategy_ = this.deploymentStrategy_; - if (deploymentStrategyCase_ == 1 && - standardBuilder_ != null) { + if (deploymentStrategyCase_ == 1 && standardBuilder_ != null) { result.deploymentStrategy_ = standardBuilder_.build(); } - if (deploymentStrategyCase_ == 2 && - canaryBuilder_ != null) { + if (deploymentStrategyCase_ == 2 && canaryBuilder_ != null) { result.deploymentStrategy_ = canaryBuilder_.build(); } } @@ -460,38 +504,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.Strategy result) { 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) { + 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) { + 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.cloud.deploy.v1.Strategy) { - return mergeFrom((com.google.cloud.deploy.v1.Strategy)other); + return mergeFrom((com.google.cloud.deploy.v1.Strategy) other); } else { super.mergeFrom(other); return this; @@ -501,17 +546,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.deploy.v1.Strategy other) { if (other == com.google.cloud.deploy.v1.Strategy.getDefaultInstance()) return this; switch (other.getDeploymentStrategyCase()) { - case STANDARD: { - mergeStandard(other.getStandard()); - break; - } - case CANARY: { - mergeCanary(other.getCanary()); - break; - } - case DEPLOYMENTSTRATEGY_NOT_SET: { - break; - } + case STANDARD: + { + mergeStandard(other.getStandard()); + break; + } + case CANARY: + { + mergeCanary(other.getCanary()); + break; + } + case DEPLOYMENTSTRATEGY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -539,26 +587,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStandardFieldBuilder().getBuilder(), - extensionRegistry); - deploymentStrategyCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getCanaryFieldBuilder().getBuilder(), - extensionRegistry); - deploymentStrategyCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStandardFieldBuilder().getBuilder(), extensionRegistry); + deploymentStrategyCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getCanaryFieldBuilder().getBuilder(), extensionRegistry); + deploymentStrategyCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,12 +615,12 @@ public Builder mergeFrom( } // finally return this; } + private int deploymentStrategyCase_ = 0; private java.lang.Object deploymentStrategy_; - public DeploymentStrategyCase - getDeploymentStrategyCase() { - return DeploymentStrategyCase.forNumber( - deploymentStrategyCase_); + + public DeploymentStrategyCase getDeploymentStrategyCase() { + return DeploymentStrategyCase.forNumber(deploymentStrategyCase_); } public Builder clearDeploymentStrategy() { @@ -586,14 +633,20 @@ public Builder clearDeploymentStrategy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Standard, com.google.cloud.deploy.v1.Standard.Builder, com.google.cloud.deploy.v1.StandardOrBuilder> standardBuilder_; + com.google.cloud.deploy.v1.Standard, + com.google.cloud.deploy.v1.Standard.Builder, + com.google.cloud.deploy.v1.StandardOrBuilder> + standardBuilder_; /** + * + * *
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
      * 
* * .google.cloud.deploy.v1.Standard standard = 1; + * * @return Whether the standard field is set. */ @java.lang.Override @@ -601,12 +654,15 @@ public boolean hasStandard() { return deploymentStrategyCase_ == 1; } /** + * + * *
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
      * 
* * .google.cloud.deploy.v1.Standard standard = 1; + * * @return The standard. */ @java.lang.Override @@ -624,6 +680,8 @@ public com.google.cloud.deploy.v1.Standard getStandard() { } } /** + * + * *
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
@@ -645,6 +703,8 @@ public Builder setStandard(com.google.cloud.deploy.v1.Standard value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
@@ -652,8 +712,7 @@ public Builder setStandard(com.google.cloud.deploy.v1.Standard value) {
      *
      * .google.cloud.deploy.v1.Standard standard = 1;
      */
-    public Builder setStandard(
-        com.google.cloud.deploy.v1.Standard.Builder builderForValue) {
+    public Builder setStandard(com.google.cloud.deploy.v1.Standard.Builder builderForValue) {
       if (standardBuilder_ == null) {
         deploymentStrategy_ = builderForValue.build();
         onChanged();
@@ -664,6 +723,8 @@ public Builder setStandard(
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
@@ -673,10 +734,13 @@ public Builder setStandard(
      */
     public Builder mergeStandard(com.google.cloud.deploy.v1.Standard value) {
       if (standardBuilder_ == null) {
-        if (deploymentStrategyCase_ == 1 &&
-            deploymentStrategy_ != com.google.cloud.deploy.v1.Standard.getDefaultInstance()) {
-          deploymentStrategy_ = com.google.cloud.deploy.v1.Standard.newBuilder((com.google.cloud.deploy.v1.Standard) deploymentStrategy_)
-              .mergeFrom(value).buildPartial();
+        if (deploymentStrategyCase_ == 1
+            && deploymentStrategy_ != com.google.cloud.deploy.v1.Standard.getDefaultInstance()) {
+          deploymentStrategy_ =
+              com.google.cloud.deploy.v1.Standard.newBuilder(
+                      (com.google.cloud.deploy.v1.Standard) deploymentStrategy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           deploymentStrategy_ = value;
         }
@@ -692,6 +756,8 @@ public Builder mergeStandard(com.google.cloud.deploy.v1.Standard value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
@@ -716,6 +782,8 @@ public Builder clearStandard() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
@@ -727,6 +795,8 @@ public com.google.cloud.deploy.v1.Standard.Builder getStandardBuilder() {
       return getStandardFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
@@ -746,6 +816,8 @@ public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Standard deployment strategy executes a single deploy and allows
      * verifying the deployment.
@@ -754,14 +826,19 @@ public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() {
      * .google.cloud.deploy.v1.Standard standard = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.Standard, com.google.cloud.deploy.v1.Standard.Builder, com.google.cloud.deploy.v1.StandardOrBuilder> 
+            com.google.cloud.deploy.v1.Standard,
+            com.google.cloud.deploy.v1.Standard.Builder,
+            com.google.cloud.deploy.v1.StandardOrBuilder>
         getStandardFieldBuilder() {
       if (standardBuilder_ == null) {
         if (!(deploymentStrategyCase_ == 1)) {
           deploymentStrategy_ = com.google.cloud.deploy.v1.Standard.getDefaultInstance();
         }
-        standardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.deploy.v1.Standard, com.google.cloud.deploy.v1.Standard.Builder, com.google.cloud.deploy.v1.StandardOrBuilder>(
+        standardBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.deploy.v1.Standard,
+                com.google.cloud.deploy.v1.Standard.Builder,
+                com.google.cloud.deploy.v1.StandardOrBuilder>(
                 (com.google.cloud.deploy.v1.Standard) deploymentStrategy_,
                 getParentForChildren(),
                 isClean());
@@ -773,14 +850,20 @@ public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.Canary, com.google.cloud.deploy.v1.Canary.Builder, com.google.cloud.deploy.v1.CanaryOrBuilder> canaryBuilder_;
+            com.google.cloud.deploy.v1.Canary,
+            com.google.cloud.deploy.v1.Canary.Builder,
+            com.google.cloud.deploy.v1.CanaryOrBuilder>
+        canaryBuilder_;
     /**
+     *
+     *
      * 
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
      * 
* * .google.cloud.deploy.v1.Canary canary = 2; + * * @return Whether the canary field is set. */ @java.lang.Override @@ -788,12 +871,15 @@ public boolean hasCanary() { return deploymentStrategyCase_ == 2; } /** + * + * *
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
      * 
* * .google.cloud.deploy.v1.Canary canary = 2; + * * @return The canary. */ @java.lang.Override @@ -811,6 +897,8 @@ public com.google.cloud.deploy.v1.Canary getCanary() { } } /** + * + * *
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
@@ -832,6 +920,8 @@ public Builder setCanary(com.google.cloud.deploy.v1.Canary value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
@@ -839,8 +929,7 @@ public Builder setCanary(com.google.cloud.deploy.v1.Canary value) {
      *
      * .google.cloud.deploy.v1.Canary canary = 2;
      */
-    public Builder setCanary(
-        com.google.cloud.deploy.v1.Canary.Builder builderForValue) {
+    public Builder setCanary(com.google.cloud.deploy.v1.Canary.Builder builderForValue) {
       if (canaryBuilder_ == null) {
         deploymentStrategy_ = builderForValue.build();
         onChanged();
@@ -851,6 +940,8 @@ public Builder setCanary(
       return this;
     }
     /**
+     *
+     *
      * 
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
@@ -860,10 +951,13 @@ public Builder setCanary(
      */
     public Builder mergeCanary(com.google.cloud.deploy.v1.Canary value) {
       if (canaryBuilder_ == null) {
-        if (deploymentStrategyCase_ == 2 &&
-            deploymentStrategy_ != com.google.cloud.deploy.v1.Canary.getDefaultInstance()) {
-          deploymentStrategy_ = com.google.cloud.deploy.v1.Canary.newBuilder((com.google.cloud.deploy.v1.Canary) deploymentStrategy_)
-              .mergeFrom(value).buildPartial();
+        if (deploymentStrategyCase_ == 2
+            && deploymentStrategy_ != com.google.cloud.deploy.v1.Canary.getDefaultInstance()) {
+          deploymentStrategy_ =
+              com.google.cloud.deploy.v1.Canary.newBuilder(
+                      (com.google.cloud.deploy.v1.Canary) deploymentStrategy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           deploymentStrategy_ = value;
         }
@@ -879,6 +973,8 @@ public Builder mergeCanary(com.google.cloud.deploy.v1.Canary value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
@@ -903,6 +999,8 @@ public Builder clearCanary() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
@@ -914,6 +1012,8 @@ public com.google.cloud.deploy.v1.Canary.Builder getCanaryBuilder() {
       return getCanaryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
@@ -933,6 +1033,8 @@ public com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Canary deployment strategy provides progressive percentage based
      * deployments to a Target.
@@ -941,14 +1043,19 @@ public com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder() {
      * .google.cloud.deploy.v1.Canary canary = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.deploy.v1.Canary, com.google.cloud.deploy.v1.Canary.Builder, com.google.cloud.deploy.v1.CanaryOrBuilder> 
+            com.google.cloud.deploy.v1.Canary,
+            com.google.cloud.deploy.v1.Canary.Builder,
+            com.google.cloud.deploy.v1.CanaryOrBuilder>
         getCanaryFieldBuilder() {
       if (canaryBuilder_ == null) {
         if (!(deploymentStrategyCase_ == 2)) {
           deploymentStrategy_ = com.google.cloud.deploy.v1.Canary.getDefaultInstance();
         }
-        canaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.deploy.v1.Canary, com.google.cloud.deploy.v1.Canary.Builder, com.google.cloud.deploy.v1.CanaryOrBuilder>(
+        canaryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.deploy.v1.Canary,
+                com.google.cloud.deploy.v1.Canary.Builder,
+                com.google.cloud.deploy.v1.CanaryOrBuilder>(
                 (com.google.cloud.deploy.v1.Canary) deploymentStrategy_,
                 getParentForChildren(),
                 isClean());
@@ -958,9 +1065,9 @@ public com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder() {
       onChanged();
       return canaryBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -970,12 +1077,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Strategy)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Strategy)
   private static final com.google.cloud.deploy.v1.Strategy DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Strategy();
   }
@@ -984,27 +1091,27 @@ public static com.google.cloud.deploy.v1.Strategy getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Strategy parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Strategy parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1019,6 +1126,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.deploy.v1.Strategy getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java
index 36f362f1afdf..511beb9e6f58 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
-public interface StrategyOrBuilder extends
+public interface StrategyOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Strategy)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Standard deployment strategy executes a single deploy and allows
    * verifying the deployment.
    * 
* * .google.cloud.deploy.v1.Standard standard = 1; + * * @return Whether the standard field is set. */ boolean hasStandard(); /** + * + * *
    * Standard deployment strategy executes a single deploy and allows
    * verifying the deployment.
    * 
* * .google.cloud.deploy.v1.Standard standard = 1; + * * @return The standard. */ com.google.cloud.deploy.v1.Standard getStandard(); /** + * + * *
    * Standard deployment strategy executes a single deploy and allows
    * verifying the deployment.
@@ -38,26 +62,34 @@ public interface StrategyOrBuilder extends
   com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder();
 
   /**
+   *
+   *
    * 
    * Canary deployment strategy provides progressive percentage based
    * deployments to a Target.
    * 
* * .google.cloud.deploy.v1.Canary canary = 2; + * * @return Whether the canary field is set. */ boolean hasCanary(); /** + * + * *
    * Canary deployment strategy provides progressive percentage based
    * deployments to a Target.
    * 
* * .google.cloud.deploy.v1.Canary canary = 2; + * * @return The canary. */ com.google.cloud.deploy.v1.Canary getCanary(); /** + * + * *
    * Canary deployment strategy provides progressive percentage based
    * deployments to a Target.
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java
similarity index 69%
rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java
rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java
index 6dbfbe8c5197..732b8dcc0d0a 100644
--- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java
+++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
 /**
+ *
+ *
  * 
  * A `Target` resource in the Cloud Deploy API.
  *
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.Target}
  */
-public final class Target extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Target extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.Target)
     TargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Target.newBuilder() to construct.
   private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Target() {
     name_ = "";
     targetId_ = "";
@@ -33,20 +51,18 @@ private Target() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Target();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Target_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 5:
         return internalGetAnnotations();
@@ -55,23 +71,28 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 20:
         return internalGetDeployParameters();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.Target.class, com.google.cloud.deploy.v1.Target.Builder.class);
+            com.google.cloud.deploy.v1.Target.class,
+            com.google.cloud.deploy.v1.Target.Builder.class);
   }
 
   private int deploymentTargetCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object deploymentTarget_;
+
   public enum DeploymentTargetCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GKE(15),
     ANTHOS_CLUSTER(17),
@@ -80,6 +101,7 @@ public enum DeploymentTargetCase
     CUSTOM_TARGET(21),
     DEPLOYMENTTARGET_NOT_SET(0);
     private final int value;
+
     private DeploymentTargetCase(int value) {
       this.value = value;
     }
@@ -95,36 +117,46 @@ public static DeploymentTargetCase valueOf(int value) {
 
     public static DeploymentTargetCase forNumber(int value) {
       switch (value) {
-        case 15: return GKE;
-        case 17: return ANTHOS_CLUSTER;
-        case 18: return RUN;
-        case 19: return MULTI_TARGET;
-        case 21: return CUSTOM_TARGET;
-        case 0: return DEPLOYMENTTARGET_NOT_SET;
-        default: return null;
+        case 15:
+          return GKE;
+        case 17:
+          return ANTHOS_CLUSTER;
+        case 18:
+          return RUN;
+        case 19:
+          return MULTI_TARGET;
+        case 21:
+          return CUSTOM_TARGET;
+        case 0:
+          return DEPLOYMENTTARGET_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DeploymentTargetCase
-  getDeploymentTargetCase() {
-    return DeploymentTargetCase.forNumber(
-        deploymentTargetCase_);
+  public DeploymentTargetCase getDeploymentTargetCase() {
+    return DeploymentTargetCase.forNumber(deploymentTargetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Optional. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ @java.lang.Override @@ -133,30 +165,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; } } /** + * + * *
    * Optional. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -165,14 +197,18 @@ public java.lang.String getName() { } public static final int TARGET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object targetId_ = ""; /** + * + * *
    * Output only. Resource id of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ @java.lang.Override @@ -181,29 +217,29 @@ public java.lang.String getTargetId() { 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(); targetId_ = s; return s; } } /** + * + * *
    * Output only. Resource id of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -212,14 +248,18 @@ public java.lang.String getTargetId() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. Unique identifier of the `Target`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -228,29 +268,29 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier of the `Target`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -259,14 +299,18 @@ public java.lang.String getUid() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description of the `Target`. Max length is 255 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -275,29 +319,29 @@ 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; } } /** + * + * *
    * Optional. Description of the `Target`. Max length is 255 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -306,32 +350,35 @@ public java.lang.String getDescription() { } public static final int ANNOTATIONS_FIELD_NUMBER = 5; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -339,23 +386,25 @@ public int getAnnotationsCount() {
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -363,13 +412,16 @@ public java.util.Map getAnnotations() {
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -377,20 +429,23 @@ public java.util.Map getAnnotationsMap() {
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -398,14 +453,15 @@ java.lang.String getAnnotationsOrDefault(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -413,32 +469,34 @@ public java.lang.String getAnnotationsOrThrow( } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -456,20 +514,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -491,6 +550,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -508,17 +569,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -536,11 +599,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -550,11 +613,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int REQUIRE_APPROVAL_FIELD_NUMBER = 13;
   private boolean requireApproval_ = false;
   /**
+   *
+   *
    * 
    * Optional. Whether or not the `Target` requires approval.
    * 
* * bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireApproval. */ @java.lang.Override @@ -565,11 +631,15 @@ public boolean getRequireApproval() { public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time at which the `Target` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -577,11 +647,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time at which the `Target` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -589,11 +663,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time at which the `Target` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -603,11 +680,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Most recent time at which the `Target` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -615,11 +696,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Most recent time at which the `Target` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -627,11 +712,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Most recent time at which the `Target` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -640,11 +728,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int GKE_FIELD_NUMBER = 15; /** + * + * *
    * Optional. Information specifying a GKE Cluster.
    * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gke field is set. */ @java.lang.Override @@ -652,42 +744,54 @@ public boolean hasGke() { return deploymentTargetCase_ == 15; } /** + * + * *
    * Optional. Information specifying a GKE Cluster.
    * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gke. */ @java.lang.Override public com.google.cloud.deploy.v1.GkeCluster getGke() { if (deploymentTargetCase_ == 15) { - return (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_; + return (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_; } return com.google.cloud.deploy.v1.GkeCluster.getDefaultInstance(); } /** + * + * *
    * Optional. Information specifying a GKE Cluster.
    * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() { if (deploymentTargetCase_ == 15) { - return (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_; + return (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_; } return com.google.cloud.deploy.v1.GkeCluster.getDefaultInstance(); } public static final int ANTHOS_CLUSTER_FIELD_NUMBER = 17; /** + * + * *
    * Optional. Information specifying an Anthos Cluster.
    * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the anthosCluster field is set. */ @java.lang.Override @@ -695,42 +799,56 @@ public boolean hasAnthosCluster() { return deploymentTargetCase_ == 17; } /** + * + * *
    * Optional. Information specifying an Anthos Cluster.
    * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The anthosCluster. */ @java.lang.Override public com.google.cloud.deploy.v1.AnthosCluster getAnthosCluster() { if (deploymentTargetCase_ == 17) { - return (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_; + return (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_; } return com.google.cloud.deploy.v1.AnthosCluster.getDefaultInstance(); } /** + * + * *
    * Optional. Information specifying an Anthos Cluster.
    * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AnthosClusterOrBuilder getAnthosClusterOrBuilder() { if (deploymentTargetCase_ == 17) { - return (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_; + return (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_; } return com.google.cloud.deploy.v1.AnthosCluster.getDefaultInstance(); } public static final int RUN_FIELD_NUMBER = 18; /** + * + * *
    * Optional. Information specifying a Cloud Run deployment target.
    * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the run field is set. */ @java.lang.Override @@ -738,42 +856,56 @@ public boolean hasRun() { return deploymentTargetCase_ == 18; } /** + * + * *
    * Optional. Information specifying a Cloud Run deployment target.
    * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The run. */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunLocation getRun() { if (deploymentTargetCase_ == 18) { - return (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_; + return (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_; } return com.google.cloud.deploy.v1.CloudRunLocation.getDefaultInstance(); } /** + * + * *
    * Optional. Information specifying a Cloud Run deployment target.
    * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunLocationOrBuilder getRunOrBuilder() { if (deploymentTargetCase_ == 18) { - return (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_; + return (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_; } return com.google.cloud.deploy.v1.CloudRunLocation.getDefaultInstance(); } public static final int MULTI_TARGET_FIELD_NUMBER = 19; /** + * + * *
    * Optional. Information specifying a multiTarget.
    * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the multiTarget field is set. */ @java.lang.Override @@ -781,42 +913,56 @@ public boolean hasMultiTarget() { return deploymentTargetCase_ == 19; } /** + * + * *
    * Optional. Information specifying a multiTarget.
    * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The multiTarget. */ @java.lang.Override public com.google.cloud.deploy.v1.MultiTarget getMultiTarget() { if (deploymentTargetCase_ == 19) { - return (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_; + return (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_; } return com.google.cloud.deploy.v1.MultiTarget.getDefaultInstance(); } /** + * + * *
    * Optional. Information specifying a multiTarget.
    * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.MultiTargetOrBuilder getMultiTargetOrBuilder() { if (deploymentTargetCase_ == 19) { - return (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_; + return (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_; } return com.google.cloud.deploy.v1.MultiTarget.getDefaultInstance(); } public static final int CUSTOM_TARGET_FIELD_NUMBER = 21; /** + * + * *
    * Optional. Information specifying a Custom Target.
    * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the customTarget field is set. */ @java.lang.Override @@ -824,39 +970,51 @@ public boolean hasCustomTarget() { return deploymentTargetCase_ == 21; } /** + * + * *
    * Optional. Information specifying a Custom Target.
    * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The customTarget. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTarget getCustomTarget() { if (deploymentTargetCase_ == 21) { - return (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_; + return (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_; } return com.google.cloud.deploy.v1.CustomTarget.getDefaultInstance(); } /** + * + * *
    * Optional. Information specifying a Custom Target.
    * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetOrBuilder getCustomTargetOrBuilder() { if (deploymentTargetCase_ == 21) { - return (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_; + return (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_; } return com.google.cloud.deploy.v1.CustomTarget.getDefaultInstance(); } public static final int ETAG_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -864,6 +1022,7 @@ public com.google.cloud.deploy.v1.CustomTargetOrBuilder getCustomTargetOrBuilder
    * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -872,14 +1031,15 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -887,16 +1047,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -905,9 +1064,12 @@ public java.lang.String getEtag() { } public static final int EXECUTION_CONFIGS_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private java.util.List executionConfigs_; /** + * + * *
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -925,6 +1087,8 @@ public java.util.List getExecutionCo
     return executionConfigs_;
   }
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -938,11 +1102,13 @@ public java.util.List getExecutionCo
    * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getExecutionConfigsOrBuilderList() {
     return executionConfigs_;
   }
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -960,6 +1126,8 @@ public int getExecutionConfigsCount() {
     return executionConfigs_.size();
   }
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -977,6 +1145,8 @@ public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index)
     return executionConfigs_.get(index);
   }
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -996,94 +1166,111 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr
   }
 
   public static final int DEPLOY_PARAMETERS_FIELD_NUMBER = 20;
+
   private static final class DeployParametersDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.deploy.v1.CloudDeployProto
+                .internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> deployParameters_;
+  private com.google.protobuf.MapField deployParameters_;
+
   private com.google.protobuf.MapField
-  internalGetDeployParameters() {
+      internalGetDeployParameters() {
     if (deployParameters_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           DeployParametersDefaultEntryHolder.defaultEntry);
     }
     return deployParameters_;
   }
+
   public int getDeployParametersCount() {
     return internalGetDeployParameters().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsDeployParameters( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsDeployParameters(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetDeployParameters().getMap().containsKey(key); } - /** - * Use {@link #getDeployParametersMap()} instead. - */ + /** Use {@link #getDeployParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDeployParameters() { return getDeployParametersMap(); } /** + * + * *
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getDeployParametersMap() { return internalGetDeployParameters().getMap(); } /** + * + * *
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getDeployParametersOrDefault( + public /* nullable */ java.lang.String getDeployParametersOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDeployParameters().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetDeployParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getDeployParametersOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetDeployParameters().getMap(); + public java.lang.String getDeployParametersOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetDeployParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1091,6 +1278,7 @@ public java.lang.String getDeployParametersOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1102,8 +1290,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_); } @@ -1116,18 +1303,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 5); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (createTime_ != null) { output.writeMessage(8, getCreateTime()); } @@ -1155,12 +1334,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deploymentTargetCase_ == 19) { output.writeMessage(19, (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetDeployParameters(), - DeployParametersDefaultEntryHolder.defaultEntry, - 20); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetDeployParameters(), DeployParametersDefaultEntryHolder.defaultEntry, 20); if (deploymentTargetCase_ == 21) { output.writeMessage(21, (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_); } @@ -1185,74 +1360,76 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, annotations__); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, labels__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, etag_); } if (requireApproval_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, requireApproval_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, requireApproval_); } if (deploymentTargetCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_); } for (int i = 0; i < executionConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, executionConfigs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(16, executionConfigs_.get(i)); } if (deploymentTargetCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 17, (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_); } if (deploymentTargetCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_); } if (deploymentTargetCase_ == 19) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_); - } - for (java.util.Map.Entry entry - : internalGetDeployParameters().getMap().entrySet()) { - com.google.protobuf.MapEntry - deployParameters__ = DeployParametersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, deployParameters__); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 19, (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_); + } + for (java.util.Map.Entry entry : + internalGetDeployParameters().getMap().entrySet()) { + com.google.protobuf.MapEntry deployParameters__ = + DeployParametersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, deployParameters__); } if (deploymentTargetCase_ == 21) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1262,64 +1439,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.cloud.deploy.v1.Target)) { return super.equals(obj); } com.google.cloud.deploy.v1.Target other = (com.google.cloud.deploy.v1.Target) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTargetId() - .equals(other.getTargetId())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (getRequireApproval() - != other.getRequireApproval()) return false; + if (!getName().equals(other.getName())) return false; + if (!getTargetId().equals(other.getTargetId())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (getRequireApproval() != other.getRequireApproval()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!getExecutionConfigsList() - .equals(other.getExecutionConfigsList())) return false; - if (!internalGetDeployParameters().equals( - other.internalGetDeployParameters())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getEtag().equals(other.getEtag())) return false; + if (!getExecutionConfigsList().equals(other.getExecutionConfigsList())) return false; + if (!internalGetDeployParameters().equals(other.internalGetDeployParameters())) return false; if (!getDeploymentTargetCase().equals(other.getDeploymentTargetCase())) return false; switch (deploymentTargetCase_) { case 15: - if (!getGke() - .equals(other.getGke())) return false; + if (!getGke().equals(other.getGke())) return false; break; case 17: - if (!getAnthosCluster() - .equals(other.getAnthosCluster())) return false; + if (!getAnthosCluster().equals(other.getAnthosCluster())) return false; break; case 18: - if (!getRun() - .equals(other.getRun())) return false; + if (!getRun().equals(other.getRun())) return false; break; case 19: - if (!getMultiTarget() - .equals(other.getMultiTarget())) return false; + if (!getMultiTarget().equals(other.getMultiTarget())) return false; break; case 21: - if (!getCustomTarget() - .equals(other.getCustomTarget())) return false; + if (!getCustomTarget().equals(other.getCustomTarget())) return false; break; case 0: default: @@ -1352,8 +1512,7 @@ public int hashCode() { hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (37 * hash) + REQUIRE_APPROVAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireApproval()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireApproval()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1401,99 +1560,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.Target parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.Target parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Target parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.Target parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.Target parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Target parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Target parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.Target parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.Target parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Target parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.Target parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.Target parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.Target parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.Target parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.Target prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A `Target` resource in the Cloud Deploy API.
    *
@@ -1503,18 +1666,17 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.Target}
    */
-  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.cloud.deploy.v1.Target)
       com.google.cloud.deploy.v1.TargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Target_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 5:
           return internalGetAnnotations();
@@ -1523,13 +1685,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 20:
           return internalGetDeployParameters();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 5:
           return internalGetMutableAnnotations();
@@ -1538,28 +1699,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 20:
           return internalGetMutableDeployParameters();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.Target.class, com.google.cloud.deploy.v1.Target.Builder.class);
+              com.google.cloud.deploy.v1.Target.class,
+              com.google.cloud.deploy.v1.Target.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.Target.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1611,9 +1771,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_Target_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_Target_descriptor;
     }
 
     @java.lang.Override
@@ -1634,7 +1794,9 @@ public com.google.cloud.deploy.v1.Target build() {
     public com.google.cloud.deploy.v1.Target buildPartial() {
       com.google.cloud.deploy.v1.Target result = new com.google.cloud.deploy.v1.Target(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1678,14 +1840,10 @@ private void buildPartial0(com.google.cloud.deploy.v1.Target result) {
         result.requireApproval_ = requireApproval_;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00004000) != 0)) {
         result.etag_ = etag_;
@@ -1699,24 +1857,19 @@ private void buildPartial0(com.google.cloud.deploy.v1.Target result) {
     private void buildPartialOneofs(com.google.cloud.deploy.v1.Target result) {
       result.deploymentTargetCase_ = deploymentTargetCase_;
       result.deploymentTarget_ = this.deploymentTarget_;
-      if (deploymentTargetCase_ == 15 &&
-          gkeBuilder_ != null) {
+      if (deploymentTargetCase_ == 15 && gkeBuilder_ != null) {
         result.deploymentTarget_ = gkeBuilder_.build();
       }
-      if (deploymentTargetCase_ == 17 &&
-          anthosClusterBuilder_ != null) {
+      if (deploymentTargetCase_ == 17 && anthosClusterBuilder_ != null) {
         result.deploymentTarget_ = anthosClusterBuilder_.build();
       }
-      if (deploymentTargetCase_ == 18 &&
-          runBuilder_ != null) {
+      if (deploymentTargetCase_ == 18 && runBuilder_ != null) {
         result.deploymentTarget_ = runBuilder_.build();
       }
-      if (deploymentTargetCase_ == 19 &&
-          multiTargetBuilder_ != null) {
+      if (deploymentTargetCase_ == 19 && multiTargetBuilder_ != null) {
         result.deploymentTarget_ = multiTargetBuilder_.build();
       }
-      if (deploymentTargetCase_ == 21 &&
-          customTargetBuilder_ != null) {
+      if (deploymentTargetCase_ == 21 && customTargetBuilder_ != null) {
         result.deploymentTarget_ = customTargetBuilder_.build();
       }
     }
@@ -1725,38 +1878,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.Target result) {
     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) {
+        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) {
+        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.cloud.deploy.v1.Target) {
-        return mergeFrom((com.google.cloud.deploy.v1.Target)other);
+        return mergeFrom((com.google.cloud.deploy.v1.Target) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1785,11 +1939,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Target other) {
         bitField0_ |= 0x00000008;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00000010;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000020;
       if (other.getRequireApproval() != false) {
         setRequireApproval(other.getRequireApproval());
@@ -1823,41 +1975,47 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Target other) {
             executionConfigsBuilder_ = null;
             executionConfigs_ = other.executionConfigs_;
             bitField0_ = (bitField0_ & ~0x00008000);
-            executionConfigsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getExecutionConfigsFieldBuilder() : null;
+            executionConfigsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getExecutionConfigsFieldBuilder()
+                    : null;
           } else {
             executionConfigsBuilder_.addAllMessages(other.executionConfigs_);
           }
         }
       }
-      internalGetMutableDeployParameters().mergeFrom(
-          other.internalGetDeployParameters());
+      internalGetMutableDeployParameters().mergeFrom(other.internalGetDeployParameters());
       bitField0_ |= 0x00010000;
       switch (other.getDeploymentTargetCase()) {
-        case GKE: {
-          mergeGke(other.getGke());
-          break;
-        }
-        case ANTHOS_CLUSTER: {
-          mergeAnthosCluster(other.getAnthosCluster());
-          break;
-        }
-        case RUN: {
-          mergeRun(other.getRun());
-          break;
-        }
-        case MULTI_TARGET: {
-          mergeMultiTarget(other.getMultiTarget());
-          break;
-        }
-        case CUSTOM_TARGET: {
-          mergeCustomTarget(other.getCustomTarget());
-          break;
-        }
-        case DEPLOYMENTTARGET_NOT_SET: {
-          break;
-        }
+        case GKE:
+          {
+            mergeGke(other.getGke());
+            break;
+          }
+        case ANTHOS_CLUSTER:
+          {
+            mergeAnthosCluster(other.getAnthosCluster());
+            break;
+          }
+        case RUN:
+          {
+            mergeRun(other.getRun());
+            break;
+          }
+        case MULTI_TARGET:
+          {
+            mergeMultiTarget(other.getMultiTarget());
+            break;
+          }
+        case CUSTOM_TARGET:
+          {
+            mergeCustomTarget(other.getCustomTarget());
+            break;
+          }
+        case DEPLOYMENTTARGET_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1885,131 +2043,141 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              targetId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 66: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 98: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 98
-            case 104: {
-              requireApproval_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 104
-            case 122: {
-              input.readMessage(
-                  getGkeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              deploymentTargetCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              com.google.cloud.deploy.v1.ExecutionConfig m =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.ExecutionConfig.parser(),
-                      extensionRegistry);
-              if (executionConfigsBuilder_ == null) {
-                ensureExecutionConfigsIsMutable();
-                executionConfigs_.add(m);
-              } else {
-                executionConfigsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 130
-            case 138: {
-              input.readMessage(
-                  getAnthosClusterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              deploymentTargetCase_ = 17;
-              break;
-            } // case 138
-            case 146: {
-              input.readMessage(
-                  getRunFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              deploymentTargetCase_ = 18;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getMultiTargetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              deploymentTargetCase_ = 19;
-              break;
-            } // case 154
-            case 162: {
-              com.google.protobuf.MapEntry
-              deployParameters__ = input.readMessage(
-                  DeployParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableDeployParameters().getMutableMap().put(
-                  deployParameters__.getKey(), deployParameters__.getValue());
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 162
-            case 170: {
-              input.readMessage(
-                  getCustomTargetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              deploymentTargetCase_ = 21;
-              break;
-            } // case 170
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                targetId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 66:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 98:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 98
+            case 104:
+              {
+                requireApproval_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 104
+            case 122:
+              {
+                input.readMessage(getGkeFieldBuilder().getBuilder(), extensionRegistry);
+                deploymentTargetCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                com.google.cloud.deploy.v1.ExecutionConfig m =
+                    input.readMessage(
+                        com.google.cloud.deploy.v1.ExecutionConfig.parser(), extensionRegistry);
+                if (executionConfigsBuilder_ == null) {
+                  ensureExecutionConfigsIsMutable();
+                  executionConfigs_.add(m);
+                } else {
+                  executionConfigsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 130
+            case 138:
+              {
+                input.readMessage(getAnthosClusterFieldBuilder().getBuilder(), extensionRegistry);
+                deploymentTargetCase_ = 17;
+                break;
+              } // case 138
+            case 146:
+              {
+                input.readMessage(getRunFieldBuilder().getBuilder(), extensionRegistry);
+                deploymentTargetCase_ = 18;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(getMultiTargetFieldBuilder().getBuilder(), extensionRegistry);
+                deploymentTargetCase_ = 19;
+                break;
+              } // case 154
+            case 162:
+              {
+                com.google.protobuf.MapEntry
+                    deployParameters__ =
+                        input.readMessage(
+                            DeployParametersDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableDeployParameters()
+                    .getMutableMap()
+                    .put(deployParameters__.getKey(), deployParameters__.getValue());
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 162
+            case 170:
+              {
+                input.readMessage(getCustomTargetFieldBuilder().getBuilder(), extensionRegistry);
+                deploymentTargetCase_ = 21;
+                break;
+              } // case 170
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2019,12 +2187,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int deploymentTargetCase_ = 0;
     private java.lang.Object deploymentTarget_;
-    public DeploymentTargetCase
-        getDeploymentTargetCase() {
-      return DeploymentTargetCase.forNumber(
-          deploymentTargetCase_);
+
+    public DeploymentTargetCase getDeploymentTargetCase() {
+      return DeploymentTargetCase.forNumber(deploymentTargetCase_);
     }
 
     public Builder clearDeploymentTarget() {
@@ -2038,19 +2206,21 @@ public Builder clearDeploymentTarget() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optional. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2059,21 +2229,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2081,30 +2252,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2114,18 +2292,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2135,18 +2317,20 @@ public Builder setNameBytes( private java.lang.Object targetId_ = ""; /** + * + * *
      * Output only. Resource id of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ public java.lang.String getTargetId() { java.lang.Object ref = targetId_; 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(); targetId_ = s; return s; @@ -2155,20 +2339,21 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Output only. Resource id of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ - public com.google.protobuf.ByteString - getTargetIdBytes() { + public com.google.protobuf.ByteString getTargetIdBytes() { java.lang.Object ref = targetId_; 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); targetId_ = b; return b; } else { @@ -2176,28 +2361,35 @@ public java.lang.String getTargetId() { } } /** + * + * *
      * Output only. Resource id of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Resource id of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -2207,17 +2399,21 @@ public Builder clearTargetId() { return this; } /** + * + * *
      * Output only. Resource id of the `Target`.
      * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for targetId to set. * @return This builder for chaining. */ - public Builder setTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetId_ = value; bitField0_ |= 0x00000002; @@ -2227,18 +2423,20 @@ public Builder setTargetIdBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Unique identifier of the `Target`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -2247,20 +2445,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Target`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -2268,28 +2467,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Unique identifier of the `Target`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier of the `Target`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -2299,17 +2505,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. Unique identifier of the `Target`.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -2319,18 +2529,20 @@ public Builder setUidBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the `Target`. Max length is 255 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2339,20 +2551,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the `Target`. Max length is 255 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2360,28 +2573,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the `Target`. Max length is 255 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Description of the `Target`. Max length is 255 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2391,17 +2611,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description of the `Target`. Max length is 255 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -2409,8 +2633,8 @@ public Builder setDescriptionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -2419,11 +2643,12 @@ public Builder setDescriptionBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -2432,10 +2657,13 @@ public Builder setDescriptionBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -2443,23 +2671,25 @@ public int getAnnotationsCount() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -2467,13 +2697,16 @@ public java.util.Map getAnnotations() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -2481,20 +2714,23 @@ public java.util.Map getAnnotationsMap() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -2502,26 +2738,29 @@ java.lang.String getAnnotationsOrDefault(
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -2529,25 +2768,25 @@ public Builder clearAnnotations() {
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00000010; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -2555,19 +2794,23 @@ public Builder removeAnnotations(
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Optional. User annotations. These attributes can only be set and used by
      * the user, and not by Cloud Deploy. See
@@ -2575,31 +2818,28 @@ public Builder putAnnotations(
      * size limitations.
      * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2608,10 +2848,13 @@ public Builder putAllAnnotations( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2629,20 +2872,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2664,6 +2908,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2681,17 +2927,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2709,23 +2957,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000020);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2742,23 +2992,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000020;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2775,17 +3024,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000020;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -2802,21 +3054,22 @@ public Builder putLabels(
      *
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000020;
       return this;
     }
 
-    private boolean requireApproval_ ;
+    private boolean requireApproval_;
     /**
+     *
+     *
      * 
      * Optional. Whether or not the `Target` requires approval.
      * 
* * bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireApproval. */ @java.lang.Override @@ -2824,11 +3077,14 @@ public boolean getRequireApproval() { return requireApproval_; } /** + * + * *
      * Optional. Whether or not the `Target` requires approval.
      * 
* * bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requireApproval to set. * @return This builder for chaining. */ @@ -2840,11 +3096,14 @@ public Builder setRequireApproval(boolean value) { return this; } /** + * + * *
      * Optional. Whether or not the `Target` requires approval.
      * 
* * bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequireApproval() { @@ -2856,39 +3115,58 @@ public Builder clearRequireApproval() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2904,14 +3182,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2922,17 +3203,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2945,11 +3230,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2962,11 +3251,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000080; @@ -2974,36 +3267,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time at which the `Target` was created.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3011,39 +3316,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3059,14 +3383,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3077,17 +3404,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3100,11 +3431,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3117,11 +3452,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000100; @@ -3129,49 +3468,68 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Most recent time at which the `Target` was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.GkeCluster, com.google.cloud.deploy.v1.GkeCluster.Builder, com.google.cloud.deploy.v1.GkeClusterOrBuilder> gkeBuilder_; + com.google.cloud.deploy.v1.GkeCluster, + com.google.cloud.deploy.v1.GkeCluster.Builder, + com.google.cloud.deploy.v1.GkeClusterOrBuilder> + gkeBuilder_; /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gke field is set. */ @java.lang.Override @@ -3179,11 +3537,15 @@ public boolean hasGke() { return deploymentTargetCase_ == 15; } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gke. */ @java.lang.Override @@ -3201,11 +3563,14 @@ public com.google.cloud.deploy.v1.GkeCluster getGke() { } } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setGke(com.google.cloud.deploy.v1.GkeCluster value) { if (gkeBuilder_ == null) { @@ -3221,14 +3586,16 @@ public Builder setGke(com.google.cloud.deploy.v1.GkeCluster value) { return this; } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setGke( - com.google.cloud.deploy.v1.GkeCluster.Builder builderForValue) { + public Builder setGke(com.google.cloud.deploy.v1.GkeCluster.Builder builderForValue) { if (gkeBuilder_ == null) { deploymentTarget_ = builderForValue.build(); onChanged(); @@ -3239,18 +3606,24 @@ public Builder setGke( return this; } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeGke(com.google.cloud.deploy.v1.GkeCluster value) { if (gkeBuilder_ == null) { - if (deploymentTargetCase_ == 15 && - deploymentTarget_ != com.google.cloud.deploy.v1.GkeCluster.getDefaultInstance()) { - deploymentTarget_ = com.google.cloud.deploy.v1.GkeCluster.newBuilder((com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_) - .mergeFrom(value).buildPartial(); + if (deploymentTargetCase_ == 15 + && deploymentTarget_ != com.google.cloud.deploy.v1.GkeCluster.getDefaultInstance()) { + deploymentTarget_ = + com.google.cloud.deploy.v1.GkeCluster.newBuilder( + (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_) + .mergeFrom(value) + .buildPartial(); } else { deploymentTarget_ = value; } @@ -3266,11 +3639,14 @@ public Builder mergeGke(com.google.cloud.deploy.v1.GkeCluster value) { return this; } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearGke() { if (gkeBuilder_ == null) { @@ -3289,21 +3665,27 @@ public Builder clearGke() { return this; } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.GkeCluster.Builder getGkeBuilder() { return getGkeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() { @@ -3317,21 +3699,29 @@ public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() { } } /** + * + * *
      * Optional. Information specifying a GKE Cluster.
      * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.GkeCluster, com.google.cloud.deploy.v1.GkeCluster.Builder, com.google.cloud.deploy.v1.GkeClusterOrBuilder> + com.google.cloud.deploy.v1.GkeCluster, + com.google.cloud.deploy.v1.GkeCluster.Builder, + com.google.cloud.deploy.v1.GkeClusterOrBuilder> getGkeFieldBuilder() { if (gkeBuilder_ == null) { if (!(deploymentTargetCase_ == 15)) { deploymentTarget_ = com.google.cloud.deploy.v1.GkeCluster.getDefaultInstance(); } - gkeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.GkeCluster, com.google.cloud.deploy.v1.GkeCluster.Builder, com.google.cloud.deploy.v1.GkeClusterOrBuilder>( + gkeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.GkeCluster, + com.google.cloud.deploy.v1.GkeCluster.Builder, + com.google.cloud.deploy.v1.GkeClusterOrBuilder>( (com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_, getParentForChildren(), isClean()); @@ -3343,13 +3733,21 @@ public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AnthosCluster, com.google.cloud.deploy.v1.AnthosCluster.Builder, com.google.cloud.deploy.v1.AnthosClusterOrBuilder> anthosClusterBuilder_; + com.google.cloud.deploy.v1.AnthosCluster, + com.google.cloud.deploy.v1.AnthosCluster.Builder, + com.google.cloud.deploy.v1.AnthosClusterOrBuilder> + anthosClusterBuilder_; /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the anthosCluster field is set. */ @java.lang.Override @@ -3357,11 +3755,16 @@ public boolean hasAnthosCluster() { return deploymentTargetCase_ == 17; } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The anthosCluster. */ @java.lang.Override @@ -3379,11 +3782,15 @@ public com.google.cloud.deploy.v1.AnthosCluster getAnthosCluster() { } } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAnthosCluster(com.google.cloud.deploy.v1.AnthosCluster value) { if (anthosClusterBuilder_ == null) { @@ -3399,11 +3806,15 @@ public Builder setAnthosCluster(com.google.cloud.deploy.v1.AnthosCluster value) return this; } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAnthosCluster( com.google.cloud.deploy.v1.AnthosCluster.Builder builderForValue) { @@ -3417,18 +3828,25 @@ public Builder setAnthosCluster( return this; } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeAnthosCluster(com.google.cloud.deploy.v1.AnthosCluster value) { if (anthosClusterBuilder_ == null) { - if (deploymentTargetCase_ == 17 && - deploymentTarget_ != com.google.cloud.deploy.v1.AnthosCluster.getDefaultInstance()) { - deploymentTarget_ = com.google.cloud.deploy.v1.AnthosCluster.newBuilder((com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_) - .mergeFrom(value).buildPartial(); + if (deploymentTargetCase_ == 17 + && deploymentTarget_ != com.google.cloud.deploy.v1.AnthosCluster.getDefaultInstance()) { + deploymentTarget_ = + com.google.cloud.deploy.v1.AnthosCluster.newBuilder( + (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_) + .mergeFrom(value) + .buildPartial(); } else { deploymentTarget_ = value; } @@ -3444,11 +3862,15 @@ public Builder mergeAnthosCluster(com.google.cloud.deploy.v1.AnthosCluster value return this; } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAnthosCluster() { if (anthosClusterBuilder_ == null) { @@ -3467,21 +3889,29 @@ public Builder clearAnthosCluster() { return this; } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.AnthosCluster.Builder getAnthosClusterBuilder() { return getAnthosClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AnthosClusterOrBuilder getAnthosClusterOrBuilder() { @@ -3495,21 +3925,30 @@ public com.google.cloud.deploy.v1.AnthosClusterOrBuilder getAnthosClusterOrBuild } } /** + * + * *
      * Optional. Information specifying an Anthos Cluster.
      * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AnthosCluster, com.google.cloud.deploy.v1.AnthosCluster.Builder, com.google.cloud.deploy.v1.AnthosClusterOrBuilder> + com.google.cloud.deploy.v1.AnthosCluster, + com.google.cloud.deploy.v1.AnthosCluster.Builder, + com.google.cloud.deploy.v1.AnthosClusterOrBuilder> getAnthosClusterFieldBuilder() { if (anthosClusterBuilder_ == null) { if (!(deploymentTargetCase_ == 17)) { deploymentTarget_ = com.google.cloud.deploy.v1.AnthosCluster.getDefaultInstance(); } - anthosClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.AnthosCluster, com.google.cloud.deploy.v1.AnthosCluster.Builder, com.google.cloud.deploy.v1.AnthosClusterOrBuilder>( + anthosClusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.AnthosCluster, + com.google.cloud.deploy.v1.AnthosCluster.Builder, + com.google.cloud.deploy.v1.AnthosClusterOrBuilder>( (com.google.cloud.deploy.v1.AnthosCluster) deploymentTarget_, getParentForChildren(), isClean()); @@ -3521,13 +3960,21 @@ public com.google.cloud.deploy.v1.AnthosClusterOrBuilder getAnthosClusterOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunLocation, com.google.cloud.deploy.v1.CloudRunLocation.Builder, com.google.cloud.deploy.v1.CloudRunLocationOrBuilder> runBuilder_; + com.google.cloud.deploy.v1.CloudRunLocation, + com.google.cloud.deploy.v1.CloudRunLocation.Builder, + com.google.cloud.deploy.v1.CloudRunLocationOrBuilder> + runBuilder_; /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the run field is set. */ @java.lang.Override @@ -3535,11 +3982,16 @@ public boolean hasRun() { return deploymentTargetCase_ == 18; } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The run. */ @java.lang.Override @@ -3557,11 +4009,15 @@ public com.google.cloud.deploy.v1.CloudRunLocation getRun() { } } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRun(com.google.cloud.deploy.v1.CloudRunLocation value) { if (runBuilder_ == null) { @@ -3577,14 +4033,17 @@ public Builder setRun(com.google.cloud.deploy.v1.CloudRunLocation value) { return this; } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setRun( - com.google.cloud.deploy.v1.CloudRunLocation.Builder builderForValue) { + public Builder setRun(com.google.cloud.deploy.v1.CloudRunLocation.Builder builderForValue) { if (runBuilder_ == null) { deploymentTarget_ = builderForValue.build(); onChanged(); @@ -3595,18 +4054,26 @@ public Builder setRun( return this; } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRun(com.google.cloud.deploy.v1.CloudRunLocation value) { if (runBuilder_ == null) { - if (deploymentTargetCase_ == 18 && - deploymentTarget_ != com.google.cloud.deploy.v1.CloudRunLocation.getDefaultInstance()) { - deploymentTarget_ = com.google.cloud.deploy.v1.CloudRunLocation.newBuilder((com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_) - .mergeFrom(value).buildPartial(); + if (deploymentTargetCase_ == 18 + && deploymentTarget_ + != com.google.cloud.deploy.v1.CloudRunLocation.getDefaultInstance()) { + deploymentTarget_ = + com.google.cloud.deploy.v1.CloudRunLocation.newBuilder( + (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_) + .mergeFrom(value) + .buildPartial(); } else { deploymentTarget_ = value; } @@ -3622,11 +4089,15 @@ public Builder mergeRun(com.google.cloud.deploy.v1.CloudRunLocation value) { return this; } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRun() { if (runBuilder_ == null) { @@ -3645,21 +4116,29 @@ public Builder clearRun() { return this; } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.CloudRunLocation.Builder getRunBuilder() { return getRunFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunLocationOrBuilder getRunOrBuilder() { @@ -3673,21 +4152,30 @@ public com.google.cloud.deploy.v1.CloudRunLocationOrBuilder getRunOrBuilder() { } } /** + * + * *
      * Optional. Information specifying a Cloud Run deployment target.
      * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunLocation, com.google.cloud.deploy.v1.CloudRunLocation.Builder, com.google.cloud.deploy.v1.CloudRunLocationOrBuilder> + com.google.cloud.deploy.v1.CloudRunLocation, + com.google.cloud.deploy.v1.CloudRunLocation.Builder, + com.google.cloud.deploy.v1.CloudRunLocationOrBuilder> getRunFieldBuilder() { if (runBuilder_ == null) { if (!(deploymentTargetCase_ == 18)) { deploymentTarget_ = com.google.cloud.deploy.v1.CloudRunLocation.getDefaultInstance(); } - runBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CloudRunLocation, com.google.cloud.deploy.v1.CloudRunLocation.Builder, com.google.cloud.deploy.v1.CloudRunLocationOrBuilder>( + runBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CloudRunLocation, + com.google.cloud.deploy.v1.CloudRunLocation.Builder, + com.google.cloud.deploy.v1.CloudRunLocationOrBuilder>( (com.google.cloud.deploy.v1.CloudRunLocation) deploymentTarget_, getParentForChildren(), isClean()); @@ -3699,13 +4187,21 @@ public com.google.cloud.deploy.v1.CloudRunLocationOrBuilder getRunOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.MultiTarget, com.google.cloud.deploy.v1.MultiTarget.Builder, com.google.cloud.deploy.v1.MultiTargetOrBuilder> multiTargetBuilder_; + com.google.cloud.deploy.v1.MultiTarget, + com.google.cloud.deploy.v1.MultiTarget.Builder, + com.google.cloud.deploy.v1.MultiTargetOrBuilder> + multiTargetBuilder_; /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the multiTarget field is set. */ @java.lang.Override @@ -3713,11 +4209,16 @@ public boolean hasMultiTarget() { return deploymentTargetCase_ == 19; } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The multiTarget. */ @java.lang.Override @@ -3735,11 +4236,15 @@ public com.google.cloud.deploy.v1.MultiTarget getMultiTarget() { } } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMultiTarget(com.google.cloud.deploy.v1.MultiTarget value) { if (multiTargetBuilder_ == null) { @@ -3755,14 +4260,17 @@ public Builder setMultiTarget(com.google.cloud.deploy.v1.MultiTarget value) { return this; } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setMultiTarget( - com.google.cloud.deploy.v1.MultiTarget.Builder builderForValue) { + public Builder setMultiTarget(com.google.cloud.deploy.v1.MultiTarget.Builder builderForValue) { if (multiTargetBuilder_ == null) { deploymentTarget_ = builderForValue.build(); onChanged(); @@ -3773,18 +4281,25 @@ public Builder setMultiTarget( return this; } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMultiTarget(com.google.cloud.deploy.v1.MultiTarget value) { if (multiTargetBuilder_ == null) { - if (deploymentTargetCase_ == 19 && - deploymentTarget_ != com.google.cloud.deploy.v1.MultiTarget.getDefaultInstance()) { - deploymentTarget_ = com.google.cloud.deploy.v1.MultiTarget.newBuilder((com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_) - .mergeFrom(value).buildPartial(); + if (deploymentTargetCase_ == 19 + && deploymentTarget_ != com.google.cloud.deploy.v1.MultiTarget.getDefaultInstance()) { + deploymentTarget_ = + com.google.cloud.deploy.v1.MultiTarget.newBuilder( + (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_) + .mergeFrom(value) + .buildPartial(); } else { deploymentTarget_ = value; } @@ -3800,11 +4315,15 @@ public Builder mergeMultiTarget(com.google.cloud.deploy.v1.MultiTarget value) { return this; } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMultiTarget() { if (multiTargetBuilder_ == null) { @@ -3823,21 +4342,29 @@ public Builder clearMultiTarget() { return this; } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.MultiTarget.Builder getMultiTargetBuilder() { return getMultiTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.MultiTargetOrBuilder getMultiTargetOrBuilder() { @@ -3851,21 +4378,30 @@ public com.google.cloud.deploy.v1.MultiTargetOrBuilder getMultiTargetOrBuilder() } } /** + * + * *
      * Optional. Information specifying a multiTarget.
      * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.MultiTarget, com.google.cloud.deploy.v1.MultiTarget.Builder, com.google.cloud.deploy.v1.MultiTargetOrBuilder> + com.google.cloud.deploy.v1.MultiTarget, + com.google.cloud.deploy.v1.MultiTarget.Builder, + com.google.cloud.deploy.v1.MultiTargetOrBuilder> getMultiTargetFieldBuilder() { if (multiTargetBuilder_ == null) { if (!(deploymentTargetCase_ == 19)) { deploymentTarget_ = com.google.cloud.deploy.v1.MultiTarget.getDefaultInstance(); } - multiTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.MultiTarget, com.google.cloud.deploy.v1.MultiTarget.Builder, com.google.cloud.deploy.v1.MultiTargetOrBuilder>( + multiTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.MultiTarget, + com.google.cloud.deploy.v1.MultiTarget.Builder, + com.google.cloud.deploy.v1.MultiTargetOrBuilder>( (com.google.cloud.deploy.v1.MultiTarget) deploymentTarget_, getParentForChildren(), isClean()); @@ -3877,13 +4413,21 @@ public com.google.cloud.deploy.v1.MultiTargetOrBuilder getMultiTargetOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTarget, com.google.cloud.deploy.v1.CustomTarget.Builder, com.google.cloud.deploy.v1.CustomTargetOrBuilder> customTargetBuilder_; + com.google.cloud.deploy.v1.CustomTarget, + com.google.cloud.deploy.v1.CustomTarget.Builder, + com.google.cloud.deploy.v1.CustomTargetOrBuilder> + customTargetBuilder_; /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the customTarget field is set. */ @java.lang.Override @@ -3891,11 +4435,16 @@ public boolean hasCustomTarget() { return deploymentTargetCase_ == 21; } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The customTarget. */ @java.lang.Override @@ -3913,11 +4462,15 @@ public com.google.cloud.deploy.v1.CustomTarget getCustomTarget() { } } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCustomTarget(com.google.cloud.deploy.v1.CustomTarget value) { if (customTargetBuilder_ == null) { @@ -3933,11 +4486,15 @@ public Builder setCustomTarget(com.google.cloud.deploy.v1.CustomTarget value) { return this; } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCustomTarget( com.google.cloud.deploy.v1.CustomTarget.Builder builderForValue) { @@ -3951,18 +4508,25 @@ public Builder setCustomTarget( return this; } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCustomTarget(com.google.cloud.deploy.v1.CustomTarget value) { if (customTargetBuilder_ == null) { - if (deploymentTargetCase_ == 21 && - deploymentTarget_ != com.google.cloud.deploy.v1.CustomTarget.getDefaultInstance()) { - deploymentTarget_ = com.google.cloud.deploy.v1.CustomTarget.newBuilder((com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_) - .mergeFrom(value).buildPartial(); + if (deploymentTargetCase_ == 21 + && deploymentTarget_ != com.google.cloud.deploy.v1.CustomTarget.getDefaultInstance()) { + deploymentTarget_ = + com.google.cloud.deploy.v1.CustomTarget.newBuilder( + (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_) + .mergeFrom(value) + .buildPartial(); } else { deploymentTarget_ = value; } @@ -3978,11 +4542,15 @@ public Builder mergeCustomTarget(com.google.cloud.deploy.v1.CustomTarget value) return this; } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCustomTarget() { if (customTargetBuilder_ == null) { @@ -4001,21 +4569,29 @@ public Builder clearCustomTarget() { return this; } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.CustomTarget.Builder getCustomTargetBuilder() { return getCustomTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetOrBuilder getCustomTargetOrBuilder() { @@ -4029,21 +4605,30 @@ public com.google.cloud.deploy.v1.CustomTargetOrBuilder getCustomTargetOrBuilder } } /** + * + * *
      * Optional. Information specifying a Custom Target.
      * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTarget, com.google.cloud.deploy.v1.CustomTarget.Builder, com.google.cloud.deploy.v1.CustomTargetOrBuilder> + com.google.cloud.deploy.v1.CustomTarget, + com.google.cloud.deploy.v1.CustomTarget.Builder, + com.google.cloud.deploy.v1.CustomTargetOrBuilder> getCustomTargetFieldBuilder() { if (customTargetBuilder_ == null) { if (!(deploymentTargetCase_ == 21)) { deploymentTarget_ = com.google.cloud.deploy.v1.CustomTarget.getDefaultInstance(); } - customTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTarget, com.google.cloud.deploy.v1.CustomTarget.Builder, com.google.cloud.deploy.v1.CustomTargetOrBuilder>( + customTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CustomTarget, + com.google.cloud.deploy.v1.CustomTarget.Builder, + com.google.cloud.deploy.v1.CustomTargetOrBuilder>( (com.google.cloud.deploy.v1.CustomTarget) deploymentTarget_, getParentForChildren(), isClean()); @@ -4056,6 +4641,8 @@ public com.google.cloud.deploy.v1.CustomTargetOrBuilder getCustomTargetOrBuilder private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -4063,13 +4650,13 @@ public com.google.cloud.deploy.v1.CustomTargetOrBuilder getCustomTargetOrBuilder
      * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -4078,6 +4665,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -4085,15 +4674,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -4101,6 +4689,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -4108,18 +4698,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -4127,6 +4721,7 @@ public Builder setEtag(
      * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4136,6 +4731,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. This checksum is computed by the server based on the value of
      * other fields, and may be sent on update and delete requests to ensure the
@@ -4143,12 +4740,14 @@ public Builder clearEtag() {
      * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; @@ -4157,18 +4756,25 @@ public Builder setEtagBytes( } private java.util.List executionConfigs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExecutionConfigsIsMutable() { if (!((bitField0_ & 0x00008000) != 0)) { - executionConfigs_ = new java.util.ArrayList(executionConfigs_); + executionConfigs_ = + new java.util.ArrayList(executionConfigs_); bitField0_ |= 0x00008000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.deploy.v1.ExecutionConfig, com.google.cloud.deploy.v1.ExecutionConfig.Builder, com.google.cloud.deploy.v1.ExecutionConfigOrBuilder> executionConfigsBuilder_; + com.google.cloud.deploy.v1.ExecutionConfig, + com.google.cloud.deploy.v1.ExecutionConfig.Builder, + com.google.cloud.deploy.v1.ExecutionConfigOrBuilder> + executionConfigsBuilder_; /** + * + * *
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4189,6 +4795,8 @@ public java.util.List getExecutionCo
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4209,6 +4817,8 @@ public int getExecutionConfigsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4229,6 +4839,8 @@ public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index)
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4256,6 +4868,8 @@ public Builder setExecutionConfigs(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4280,6 +4894,8 @@ public Builder setExecutionConfigs(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4306,6 +4922,8 @@ public Builder addExecutionConfigs(com.google.cloud.deploy.v1.ExecutionConfig va
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4333,6 +4951,8 @@ public Builder addExecutionConfigs(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4357,6 +4977,8 @@ public Builder addExecutionConfigs(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4381,6 +5003,8 @@ public Builder addExecutionConfigs(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4397,8 +5021,7 @@ public Builder addAllExecutionConfigs(
         java.lang.Iterable values) {
       if (executionConfigsBuilder_ == null) {
         ensureExecutionConfigsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, executionConfigs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executionConfigs_);
         onChanged();
       } else {
         executionConfigsBuilder_.addAllMessages(values);
@@ -4406,6 +5029,8 @@ public Builder addAllExecutionConfigs(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4429,6 +5054,8 @@ public Builder clearExecutionConfigs() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4452,6 +5079,8 @@ public Builder removeExecutionConfigs(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4469,6 +5098,8 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder getExecutionConfigsBui
       return getExecutionConfigsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4484,11 +5115,14 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder getExecutionConfigsBui
     public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOrBuilder(
         int index) {
       if (executionConfigsBuilder_ == null) {
-        return executionConfigs_.get(index);  } else {
+        return executionConfigs_.get(index);
+      } else {
         return executionConfigsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4501,8 +5135,8 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr
      *
      * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16;
      */
-    public java.util.List 
-         getExecutionConfigsOrBuilderList() {
+    public java.util.List
+        getExecutionConfigsOrBuilderList() {
       if (executionConfigsBuilder_ != null) {
         return executionConfigsBuilder_.getMessageOrBuilderList();
       } else {
@@ -4510,6 +5144,8 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4523,10 +5159,12 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr
      * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16;
      */
     public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBuilder() {
-      return getExecutionConfigsFieldBuilder().addBuilder(
-          com.google.cloud.deploy.v1.ExecutionConfig.getDefaultInstance());
+      return getExecutionConfigsFieldBuilder()
+          .addBuilder(com.google.cloud.deploy.v1.ExecutionConfig.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4541,10 +5179,12 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
      */
     public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBuilder(
         int index) {
-      return getExecutionConfigsFieldBuilder().addBuilder(
-          index, com.google.cloud.deploy.v1.ExecutionConfig.getDefaultInstance());
+      return getExecutionConfigsFieldBuilder()
+          .addBuilder(index, com.google.cloud.deploy.v1.ExecutionConfig.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -4557,16 +5197,22 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
      *
      * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16;
      */
-    public java.util.List 
-         getExecutionConfigsBuilderList() {
+    public java.util.List
+        getExecutionConfigsBuilderList() {
       return getExecutionConfigsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.deploy.v1.ExecutionConfig, com.google.cloud.deploy.v1.ExecutionConfig.Builder, com.google.cloud.deploy.v1.ExecutionConfigOrBuilder> 
+            com.google.cloud.deploy.v1.ExecutionConfig,
+            com.google.cloud.deploy.v1.ExecutionConfig.Builder,
+            com.google.cloud.deploy.v1.ExecutionConfigOrBuilder>
         getExecutionConfigsFieldBuilder() {
       if (executionConfigsBuilder_ == null) {
-        executionConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.deploy.v1.ExecutionConfig, com.google.cloud.deploy.v1.ExecutionConfig.Builder, com.google.cloud.deploy.v1.ExecutionConfigOrBuilder>(
+        executionConfigsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.deploy.v1.ExecutionConfig,
+                com.google.cloud.deploy.v1.ExecutionConfig.Builder,
+                com.google.cloud.deploy.v1.ExecutionConfigOrBuilder>(
                 executionConfigs_,
                 ((bitField0_ & 0x00008000) != 0),
                 getParentForChildren(),
@@ -4576,8 +5222,8 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
       return executionConfigsBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> deployParameters_;
+    private com.google.protobuf.MapField deployParameters_;
+
     private com.google.protobuf.MapField
         internalGetDeployParameters() {
       if (deployParameters_ == null) {
@@ -4586,11 +5232,13 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
       }
       return deployParameters_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableDeployParameters() {
       if (deployParameters_ == null) {
-        deployParameters_ = com.google.protobuf.MapField.newMapField(
-            DeployParametersDefaultEntryHolder.defaultEntry);
+        deployParameters_ =
+            com.google.protobuf.MapField.newMapField(
+                DeployParametersDefaultEntryHolder.defaultEntry);
       }
       if (!deployParameters_.isMutable()) {
         deployParameters_ = deployParameters_.copy();
@@ -4599,70 +5247,88 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
       onChanged();
       return deployParameters_;
     }
+
     public int getDeployParametersCount() {
       return internalGetDeployParameters().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Optional. The deploy parameters to use for this target.
      * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsDeployParameters( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsDeployParameters(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetDeployParameters().getMap().containsKey(key); } - /** - * Use {@link #getDeployParametersMap()} instead. - */ + /** Use {@link #getDeployParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDeployParameters() { return getDeployParametersMap(); } /** + * + * *
      * Optional. The deploy parameters to use for this target.
      * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getDeployParametersMap() { return internalGetDeployParameters().getMap(); } /** + * + * *
      * Optional. The deploy parameters to use for this target.
      * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getDeployParametersOrDefault( + public /* nullable */ java.lang.String getDeployParametersOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetDeployParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. The deploy parameters to use for this target.
      * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getDeployParametersOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public java.lang.String getDeployParametersOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetDeployParameters().getMap(); if (!map.containsKey(key)) { @@ -4670,69 +5336,78 @@ public java.lang.String getDeployParametersOrThrow( } return map.get(key); } + public Builder clearDeployParameters() { bitField0_ = (bitField0_ & ~0x00010000); - internalGetMutableDeployParameters().getMutableMap() - .clear(); + internalGetMutableDeployParameters().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. The deploy parameters to use for this target.
      * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeDeployParameters( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableDeployParameters().getMutableMap() - .remove(key); + public Builder removeDeployParameters(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableDeployParameters().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableDeployParameters() { + public java.util.Map getMutableDeployParameters() { bitField0_ |= 0x00010000; return internalGetMutableDeployParameters().getMutableMap(); } /** + * + * *
      * Optional. The deploy parameters to use for this target.
      * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putDeployParameters( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableDeployParameters().getMutableMap() - .put(key, value); + public Builder putDeployParameters(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableDeployParameters().getMutableMap().put(key, value); bitField0_ |= 0x00010000; return this; } /** + * + * *
      * Optional. The deploy parameters to use for this target.
      * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllDeployParameters( java.util.Map values) { - internalGetMutableDeployParameters().getMutableMap() - .putAll(values); + internalGetMutableDeployParameters().getMutableMap().putAll(values); bitField0_ |= 0x00010000; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4742,12 +5417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.Target) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.Target) private static final com.google.cloud.deploy.v1.Target DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.Target(); } @@ -4756,27 +5431,27 @@ public static com.google.cloud.deploy.v1.Target getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Target parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4791,6 +5466,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java index 5ed4fec9897a..040749fad9ae 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The artifacts produced by a target render operation.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.TargetArtifact} */ -public final class TargetArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TargetArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TargetArtifact) TargetArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TargetArtifact.newBuilder() to construct. private TargetArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TargetArtifact() { skaffoldConfigPath_ = ""; manifestPath_ = ""; @@ -26,120 +44,139 @@ private TargetArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TargetArtifact(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 5: return internalGetPhaseArtifacts(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TargetArtifact.class, com.google.cloud.deploy.v1.TargetArtifact.Builder.class); + com.google.cloud.deploy.v1.TargetArtifact.class, + com.google.cloud.deploy.v1.TargetArtifact.Builder.class); } - public interface PhaseArtifactOrBuilder extends + public interface PhaseArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TargetArtifact.PhaseArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skaffoldConfigPath. */ java.lang.String getSkaffoldConfigPath(); /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skaffoldConfigPath. */ - com.google.protobuf.ByteString - getSkaffoldConfigPathBytes(); + com.google.protobuf.ByteString getSkaffoldConfigPathBytes(); /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The manifestPath. */ java.lang.String getManifestPath(); /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for manifestPath. */ - com.google.protobuf.ByteString - getManifestPathBytes(); + com.google.protobuf.ByteString getManifestPathBytes(); /** + * + * *
      * Output only. File path of the directory of rendered job manifests
      * relative to the URI. This is only set if it is applicable.
      * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobManifestsPath. */ java.lang.String getJobManifestsPath(); /** + * + * *
      * Output only. File path of the directory of rendered job manifests
      * relative to the URI. This is only set if it is applicable.
      * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobManifestsPath. */ - com.google.protobuf.ByteString - getJobManifestsPathBytes(); + com.google.protobuf.ByteString getJobManifestsPathBytes(); } /** + * + * *
    * Contains the paths to the artifacts, relative to the URI, for a phase.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.TargetArtifact.PhaseArtifact} */ - public static final class PhaseArtifact extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PhaseArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TargetArtifact.PhaseArtifact) PhaseArtifactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PhaseArtifact.newBuilder() to construct. private PhaseArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PhaseArtifact() { skaffoldConfigPath_ = ""; manifestPath_ = ""; @@ -148,34 +185,39 @@ private PhaseArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhaseArtifact(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.class, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.Builder.class); + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.class, + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.Builder.class); } public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object skaffoldConfigPath_ = ""; /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skaffoldConfigPath. */ @java.lang.Override @@ -184,30 +226,30 @@ public java.lang.String getSkaffoldConfigPath() { 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(); skaffoldConfigPath_ = s; return s; } } /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skaffoldConfigPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkaffoldConfigPathBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { java.lang.Object ref = skaffoldConfigPath_; 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); skaffoldConfigPath_ = b; return b; } else { @@ -216,14 +258,18 @@ public java.lang.String getSkaffoldConfigPath() { } public static final int MANIFEST_PATH_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object manifestPath_ = ""; /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The manifestPath. */ @java.lang.Override @@ -232,29 +278,29 @@ public java.lang.String getManifestPath() { 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(); manifestPath_ = s; return s; } } /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for manifestPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getManifestPathBytes() { + public com.google.protobuf.ByteString getManifestPathBytes() { java.lang.Object ref = manifestPath_; 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); manifestPath_ = b; return b; } else { @@ -263,15 +309,19 @@ public java.lang.String getManifestPath() { } public static final int JOB_MANIFESTS_PATH_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object jobManifestsPath_ = ""; /** + * + * *
      * Output only. File path of the directory of rendered job manifests
      * relative to the URI. This is only set if it is applicable.
      * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobManifestsPath. */ @java.lang.Override @@ -280,30 +330,30 @@ public java.lang.String getJobManifestsPath() { 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(); jobManifestsPath_ = s; return s; } } /** + * + * *
      * Output only. File path of the directory of rendered job manifests
      * relative to the URI. This is only set if it is applicable.
      * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobManifestsPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobManifestsPathBytes() { + public com.google.protobuf.ByteString getJobManifestsPathBytes() { java.lang.Object ref = jobManifestsPath_; 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); jobManifestsPath_ = b; return b; } else { @@ -312,6 +362,7 @@ public java.lang.String getJobManifestsPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,8 +374,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(skaffoldConfigPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, skaffoldConfigPath_); } @@ -360,19 +410,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.cloud.deploy.v1.TargetArtifact.PhaseArtifact)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact other = (com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact) obj; + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact other = + (com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact) obj; - if (!getSkaffoldConfigPath() - .equals(other.getSkaffoldConfigPath())) return false; - if (!getManifestPath() - .equals(other.getManifestPath())) return false; - if (!getJobManifestsPath() - .equals(other.getJobManifestsPath())) return false; + if (!getSkaffoldConfigPath().equals(other.getSkaffoldConfigPath())) return false; + if (!getManifestPath().equals(other.getManifestPath())) return false; + if (!getJobManifestsPath().equals(other.getJobManifestsPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -396,89 +444,94 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact 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.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact 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 @@ -488,39 +541,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Contains the paths to the artifacts, relative to the URI, for a phase.
      * 
* * Protobuf type {@code google.cloud.deploy.v1.TargetArtifact.PhaseArtifact} */ - 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.cloud.deploy.v1.TargetArtifact.PhaseArtifact) com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.class, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.Builder.class); + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.class, + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.Builder.class); } // Construct using com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +587,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; } @java.lang.Override @@ -553,8 +608,11 @@ public com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact build() { @java.lang.Override public com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact buildPartial() { - com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact result = new com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact result = + new com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -576,38 +634,41 @@ private void buildPartial0(com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifa 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.cloud.deploy.v1.TargetArtifact.PhaseArtifact) { - return mergeFrom((com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact)other); + return mergeFrom((com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact) other); } else { super.mergeFrom(other); return this; @@ -615,7 +676,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact other) { - if (other == com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.getDefaultInstance()) + return this; if (!other.getSkaffoldConfigPath().isEmpty()) { skaffoldConfigPath_ = other.skaffoldConfigPath_; bitField0_ |= 0x00000001; @@ -657,27 +719,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - skaffoldConfigPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - manifestPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - jobManifestsPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + skaffoldConfigPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + manifestPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + jobManifestsPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -687,23 +753,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object skaffoldConfigPath_ = ""; /** + * + * *
        * Output only. File path of the resolved Skaffold configuration relative to
        * the URI.
        * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skaffoldConfigPath. */ public java.lang.String getSkaffoldConfigPath() { java.lang.Object ref = skaffoldConfigPath_; 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(); skaffoldConfigPath_ = s; return s; @@ -712,21 +781,22 @@ public java.lang.String getSkaffoldConfigPath() { } } /** + * + * *
        * Output only. File path of the resolved Skaffold configuration relative to
        * the URI.
        * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skaffoldConfigPath. */ - public com.google.protobuf.ByteString - getSkaffoldConfigPathBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { java.lang.Object ref = skaffoldConfigPath_; 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); skaffoldConfigPath_ = b; return b; } else { @@ -734,30 +804,37 @@ public java.lang.String getSkaffoldConfigPath() { } } /** + * + * *
        * Output only. File path of the resolved Skaffold configuration relative to
        * the URI.
        * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The skaffoldConfigPath to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skaffoldConfigPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. File path of the resolved Skaffold configuration relative to
        * the URI.
        * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSkaffoldConfigPath() { @@ -767,18 +844,22 @@ public Builder clearSkaffoldConfigPath() { return this; } /** + * + * *
        * Output only. File path of the resolved Skaffold configuration relative to
        * the URI.
        * 
* * string skaffold_config_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for skaffoldConfigPath to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skaffoldConfigPath_ = value; bitField0_ |= 0x00000001; @@ -788,18 +869,20 @@ public Builder setSkaffoldConfigPathBytes( private java.lang.Object manifestPath_ = ""; /** + * + * *
        * Output only. File path of the rendered manifest relative to the URI.
        * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The manifestPath. */ public java.lang.String getManifestPath() { java.lang.Object ref = manifestPath_; 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(); manifestPath_ = s; return s; @@ -808,20 +891,21 @@ public java.lang.String getManifestPath() { } } /** + * + * *
        * Output only. File path of the rendered manifest relative to the URI.
        * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for manifestPath. */ - public com.google.protobuf.ByteString - getManifestPathBytes() { + public com.google.protobuf.ByteString getManifestPathBytes() { java.lang.Object ref = manifestPath_; 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); manifestPath_ = b; return b; } else { @@ -829,28 +913,35 @@ public java.lang.String getManifestPath() { } } /** + * + * *
        * Output only. File path of the rendered manifest relative to the URI.
        * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The manifestPath to set. * @return This builder for chaining. */ - public Builder setManifestPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManifestPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } manifestPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Output only. File path of the rendered manifest relative to the URI.
        * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearManifestPath() { @@ -860,17 +951,21 @@ public Builder clearManifestPath() { return this; } /** + * + * *
        * Output only. File path of the rendered manifest relative to the URI.
        * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for manifestPath to set. * @return This builder for chaining. */ - public Builder setManifestPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManifestPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); manifestPath_ = value; bitField0_ |= 0x00000002; @@ -880,19 +975,21 @@ public Builder setManifestPathBytes( private java.lang.Object jobManifestsPath_ = ""; /** + * + * *
        * Output only. File path of the directory of rendered job manifests
        * relative to the URI. This is only set if it is applicable.
        * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jobManifestsPath. */ public java.lang.String getJobManifestsPath() { java.lang.Object ref = jobManifestsPath_; 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(); jobManifestsPath_ = s; return s; @@ -901,21 +998,22 @@ public java.lang.String getJobManifestsPath() { } } /** + * + * *
        * Output only. File path of the directory of rendered job manifests
        * relative to the URI. This is only set if it is applicable.
        * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jobManifestsPath. */ - public com.google.protobuf.ByteString - getJobManifestsPathBytes() { + public com.google.protobuf.ByteString getJobManifestsPathBytes() { java.lang.Object ref = jobManifestsPath_; 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); jobManifestsPath_ = b; return b; } else { @@ -923,30 +1021,37 @@ public java.lang.String getJobManifestsPath() { } } /** + * + * *
        * Output only. File path of the directory of rendered job manifests
        * relative to the URI. This is only set if it is applicable.
        * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The jobManifestsPath to set. * @return This builder for chaining. */ - public Builder setJobManifestsPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobManifestsPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobManifestsPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Output only. File path of the directory of rendered job manifests
        * relative to the URI. This is only set if it is applicable.
        * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearJobManifestsPath() { @@ -956,24 +1061,29 @@ public Builder clearJobManifestsPath() { return this; } /** + * + * *
        * Output only. File path of the directory of rendered job manifests
        * relative to the URI. This is only set if it is applicable.
        * 
* * string job_manifests_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for jobManifestsPath to set. * @return This builder for chaining. */ - public Builder setJobManifestsPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobManifestsPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobManifestsPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -986,12 +1096,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TargetArtifact.PhaseArtifact) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TargetArtifact.PhaseArtifact) private static final com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact(); } @@ -1000,27 +1110,28 @@ public static com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhaseArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PhaseArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,18 +1146,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int uriCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object uri_; + public enum UriCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARTIFACT_URI(4), URI_NOT_SET(0); private final int value; + private UriCase(int value) { this.value = value; } @@ -1062,24 +1176,28 @@ public static UriCase valueOf(int value) { public static UriCase forNumber(int value) { switch (value) { - case 4: return ARTIFACT_URI; - case 0: return URI_NOT_SET; - default: return null; + case 4: + return ARTIFACT_URI; + case 0: + return URI_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public UriCase - getUriCase() { - return UriCase.forNumber( - uriCase_); + public UriCase getUriCase() { + return UriCase.forNumber(uriCase_); } public static final int ARTIFACT_URI_FIELD_NUMBER = 4; /** + * + * *
    * Output only. URI of a directory containing the artifacts. This contains
    * deployment configuration used by Skaffold during a rollout, and all
@@ -1087,12 +1205,15 @@ public int getNumber() {
    * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the artifactUri field is set. */ public boolean hasArtifactUri() { return uriCase_ == 4; } /** + * + * *
    * Output only. URI of a directory containing the artifacts. This contains
    * deployment configuration used by Skaffold during a rollout, and all
@@ -1100,6 +1221,7 @@ public boolean hasArtifactUri() {
    * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ public java.lang.String getArtifactUri() { @@ -1110,8 +1232,7 @@ public java.lang.String getArtifactUri() { 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(); if (uriCase_ == 4) { uri_ = s; @@ -1120,6 +1241,8 @@ public java.lang.String getArtifactUri() { } } /** + * + * *
    * Output only. URI of a directory containing the artifacts. This contains
    * deployment configuration used by Skaffold during a rollout, and all
@@ -1127,18 +1250,17 @@ public java.lang.String getArtifactUri() {
    * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ - public com.google.protobuf.ByteString - getArtifactUriBytes() { + public com.google.protobuf.ByteString getArtifactUriBytes() { java.lang.Object ref = ""; if (uriCase_ == 4) { ref = uri_; } 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); if (uriCase_ == 4) { uri_ = b; } @@ -1149,15 +1271,19 @@ public java.lang.String getArtifactUri() { } public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object skaffoldConfigPath_ = ""; /** + * + * *
    * Output only. File path of the resolved Skaffold configuration relative to
    * the URI.
    * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skaffoldConfigPath. */ @java.lang.Override @@ -1166,30 +1292,30 @@ public java.lang.String getSkaffoldConfigPath() { 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(); skaffoldConfigPath_ = s; return s; } } /** + * + * *
    * Output only. File path of the resolved Skaffold configuration relative to
    * the URI.
    * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skaffoldConfigPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkaffoldConfigPathBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { java.lang.Object ref = skaffoldConfigPath_; 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); skaffoldConfigPath_ = b; return b; } else { @@ -1198,14 +1324,18 @@ public java.lang.String getSkaffoldConfigPath() { } public static final int MANIFEST_PATH_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object manifestPath_ = ""; /** + * + * *
    * Output only. File path of the rendered manifest relative to the URI.
    * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The manifestPath. */ @java.lang.Override @@ -1214,29 +1344,29 @@ public java.lang.String getManifestPath() { 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(); manifestPath_ = s; return s; } } /** + * + * *
    * Output only. File path of the rendered manifest relative to the URI.
    * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for manifestPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getManifestPathBytes() { + public com.google.protobuf.ByteString getManifestPathBytes() { java.lang.Object ref = manifestPath_; 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); manifestPath_ = b; return b; } else { @@ -1245,92 +1375,123 @@ public java.lang.String getManifestPath() { } public static final int PHASE_ARTIFACTS_FIELD_NUMBER = 5; + private static final class PhaseArtifactsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> defaultEntry = + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phaseArtifacts_; - private com.google.protobuf.MapField - internalGetPhaseArtifacts() { + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> + phaseArtifacts_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> + internalGetPhaseArtifacts() { if (phaseArtifacts_ == null) { return com.google.protobuf.MapField.emptyMapField( PhaseArtifactsDefaultEntryHolder.defaultEntry); } return phaseArtifacts_; } + public int getPhaseArtifactsCount() { return internalGetPhaseArtifacts().getMap().size(); } /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsPhaseArtifacts( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsPhaseArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetPhaseArtifacts().getMap().containsKey(key); } - /** - * Use {@link #getPhaseArtifactsMap()} instead. - */ + /** Use {@link #getPhaseArtifactsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getPhaseArtifacts() { + public java.util.Map + getPhaseArtifacts() { return getPhaseArtifactsMap(); } /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getPhaseArtifactsMap() { + public java.util.Map + getPhaseArtifactsMap() { return internalGetPhaseArtifacts().getMap(); } /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifactsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact + getPhaseArtifactsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetPhaseArtifacts().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifactsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetPhaseArtifacts().getMap(); if (!map.containsKey(key)) { @@ -1340,6 +1501,7 @@ public com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifacts } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1351,8 +1513,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(skaffoldConfigPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, skaffoldConfigPath_); } @@ -1362,12 +1523,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (uriCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, uri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetPhaseArtifacts(), - PhaseArtifactsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetPhaseArtifacts(), PhaseArtifactsDefaultEntryHolder.defaultEntry, 5); getUnknownFields().writeTo(output); } @@ -1386,15 +1543,18 @@ public int getSerializedSize() { if (uriCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, uri_); } - for (java.util.Map.Entry entry - : internalGetPhaseArtifacts().getMap().entrySet()) { - com.google.protobuf.MapEntry - phaseArtifacts__ = PhaseArtifactsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, phaseArtifacts__); + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> + entry : internalGetPhaseArtifacts().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> + phaseArtifacts__ = + PhaseArtifactsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, phaseArtifacts__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1404,24 +1564,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.cloud.deploy.v1.TargetArtifact)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TargetArtifact other = (com.google.cloud.deploy.v1.TargetArtifact) obj; + com.google.cloud.deploy.v1.TargetArtifact other = + (com.google.cloud.deploy.v1.TargetArtifact) obj; - if (!getSkaffoldConfigPath() - .equals(other.getSkaffoldConfigPath())) return false; - if (!getManifestPath() - .equals(other.getManifestPath())) return false; - if (!internalGetPhaseArtifacts().equals( - other.internalGetPhaseArtifacts())) return false; + if (!getSkaffoldConfigPath().equals(other.getSkaffoldConfigPath())) return false; + if (!getManifestPath().equals(other.getManifestPath())) return false; + if (!internalGetPhaseArtifacts().equals(other.internalGetPhaseArtifacts())) return false; if (!getUriCase().equals(other.getUriCase())) return false; switch (uriCase_) { case 4: - if (!getArtifactUri() - .equals(other.getArtifactUri())) return false; + if (!getArtifactUri().equals(other.getArtifactUri())) return false; break; case 0: default: @@ -1458,154 +1615,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TargetArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TargetArtifact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.TargetArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The artifacts produced by a target render operation.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.TargetArtifact} */ - 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.cloud.deploy.v1.TargetArtifact) com.google.cloud.deploy.v1.TargetArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 5: return internalGetPhaseArtifacts(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 5: return internalGetMutablePhaseArtifacts(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TargetArtifact.class, com.google.cloud.deploy.v1.TargetArtifact.Builder.class); + com.google.cloud.deploy.v1.TargetArtifact.class, + com.google.cloud.deploy.v1.TargetArtifact.Builder.class); } // Construct using com.google.cloud.deploy.v1.TargetArtifact.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1619,9 +1778,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; } @java.lang.Override @@ -1640,8 +1799,11 @@ public com.google.cloud.deploy.v1.TargetArtifact build() { @java.lang.Override public com.google.cloud.deploy.v1.TargetArtifact buildPartial() { - com.google.cloud.deploy.v1.TargetArtifact result = new com.google.cloud.deploy.v1.TargetArtifact(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.TargetArtifact result = + new com.google.cloud.deploy.v1.TargetArtifact(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1670,38 +1832,39 @@ private void buildPartialOneofs(com.google.cloud.deploy.v1.TargetArtifact result 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) { + 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) { + 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.cloud.deploy.v1.TargetArtifact) { - return mergeFrom((com.google.cloud.deploy.v1.TargetArtifact)other); + return mergeFrom((com.google.cloud.deploy.v1.TargetArtifact) other); } else { super.mergeFrom(other); return this; @@ -1720,19 +1883,20 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.TargetArtifact other) { bitField0_ |= 0x00000004; onChanged(); } - internalGetMutablePhaseArtifacts().mergeFrom( - other.internalGetPhaseArtifacts()); + internalGetMutablePhaseArtifacts().mergeFrom(other.internalGetPhaseArtifacts()); bitField0_ |= 0x00000008; switch (other.getUriCase()) { - case ARTIFACT_URI: { - uriCase_ = 4; - uri_ = other.uri_; - onChanged(); - break; - } - case URI_NOT_SET: { - break; - } + case ARTIFACT_URI: + { + uriCase_ = 4; + uri_ = other.uri_; + onChanged(); + break; + } + case URI_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1760,37 +1924,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - skaffoldConfigPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - manifestPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - uriCase_ = 4; - uri_ = s; - break; - } // case 34 - case 42: { - com.google.protobuf.MapEntry - phaseArtifacts__ = input.readMessage( - PhaseArtifactsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutablePhaseArtifacts().getMutableMap().put( - phaseArtifacts__.getKey(), phaseArtifacts__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + skaffoldConfigPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + manifestPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + uriCase_ = 4; + uri_ = s; + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> + phaseArtifacts__ = + input.readMessage( + PhaseArtifactsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutablePhaseArtifacts() + .getMutableMap() + .put(phaseArtifacts__.getKey(), phaseArtifacts__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1800,12 +1973,12 @@ public Builder mergeFrom( } // finally return this; } + private int uriCase_ = 0; private java.lang.Object uri_; - public UriCase - getUriCase() { - return UriCase.forNumber( - uriCase_); + + public UriCase getUriCase() { + return UriCase.forNumber(uriCase_); } public Builder clearUri() { @@ -1818,6 +1991,8 @@ public Builder clearUri() { private int bitField0_; /** + * + * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -1825,6 +2000,7 @@ public Builder clearUri() {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the artifactUri field is set. */ @java.lang.Override @@ -1832,6 +2008,8 @@ public boolean hasArtifactUri() { return uriCase_ == 4; } /** + * + * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -1839,6 +2017,7 @@ public boolean hasArtifactUri() {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ @java.lang.Override @@ -1848,8 +2027,7 @@ public java.lang.String getArtifactUri() { ref = uri_; } 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(); if (uriCase_ == 4) { uri_ = s; @@ -1860,6 +2038,8 @@ public java.lang.String getArtifactUri() { } } /** + * + * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -1867,19 +2047,18 @@ public java.lang.String getArtifactUri() {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactUriBytes() { + public com.google.protobuf.ByteString getArtifactUriBytes() { java.lang.Object ref = ""; if (uriCase_ == 4) { ref = uri_; } 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); if (uriCase_ == 4) { uri_ = b; } @@ -1889,6 +2068,8 @@ public java.lang.String getArtifactUri() { } } /** + * + * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -1896,18 +2077,22 @@ public java.lang.String getArtifactUri() {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The artifactUri to set. * @return This builder for chaining. */ - public Builder setArtifactUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uriCase_ = 4; uri_ = value; onChanged(); return this; } /** + * + * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -1915,6 +2100,7 @@ public Builder setArtifactUri(
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArtifactUri() { @@ -1926,6 +2112,8 @@ public Builder clearArtifactUri() { return this; } /** + * + * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -1933,12 +2121,14 @@ public Builder clearArtifactUri() {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for artifactUri to set. * @return This builder for chaining. */ - public Builder setArtifactUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uriCase_ = 4; uri_ = value; @@ -1948,19 +2138,21 @@ public Builder setArtifactUriBytes( private java.lang.Object skaffoldConfigPath_ = ""; /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skaffoldConfigPath. */ public java.lang.String getSkaffoldConfigPath() { java.lang.Object ref = skaffoldConfigPath_; 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(); skaffoldConfigPath_ = s; return s; @@ -1969,21 +2161,22 @@ public java.lang.String getSkaffoldConfigPath() { } } /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skaffoldConfigPath. */ - public com.google.protobuf.ByteString - getSkaffoldConfigPathBytes() { + public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { java.lang.Object ref = skaffoldConfigPath_; 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); skaffoldConfigPath_ = b; return b; } else { @@ -1991,30 +2184,37 @@ public java.lang.String getSkaffoldConfigPath() { } } /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The skaffoldConfigPath to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } skaffoldConfigPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSkaffoldConfigPath() { @@ -2024,18 +2224,22 @@ public Builder clearSkaffoldConfigPath() { return this; } /** + * + * *
      * Output only. File path of the resolved Skaffold configuration relative to
      * the URI.
      * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for skaffoldConfigPath to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSkaffoldConfigPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); skaffoldConfigPath_ = value; bitField0_ |= 0x00000002; @@ -2045,18 +2249,20 @@ public Builder setSkaffoldConfigPathBytes( private java.lang.Object manifestPath_ = ""; /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The manifestPath. */ public java.lang.String getManifestPath() { java.lang.Object ref = manifestPath_; 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(); manifestPath_ = s; return s; @@ -2065,20 +2271,21 @@ public java.lang.String getManifestPath() { } } /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for manifestPath. */ - public com.google.protobuf.ByteString - getManifestPathBytes() { + public com.google.protobuf.ByteString getManifestPathBytes() { java.lang.Object ref = manifestPath_; 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); manifestPath_ = b; return b; } else { @@ -2086,28 +2293,35 @@ public java.lang.String getManifestPath() { } } /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The manifestPath to set. * @return This builder for chaining. */ - public Builder setManifestPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManifestPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } manifestPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearManifestPath() { @@ -2117,17 +2331,21 @@ public Builder clearManifestPath() { return this; } /** + * + * *
      * Output only. File path of the rendered manifest relative to the URI.
      * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for manifestPath to set. * @return This builder for chaining. */ - public Builder setManifestPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManifestPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); manifestPath_ = value; bitField0_ |= 0x00000004; @@ -2136,8 +2354,11 @@ public Builder setManifestPathBytes( } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phaseArtifacts_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> + phaseArtifacts_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> internalGetPhaseArtifacts() { if (phaseArtifacts_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2145,11 +2366,13 @@ public Builder setManifestPathBytes( } return phaseArtifacts_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> internalGetMutablePhaseArtifacts() { if (phaseArtifacts_ == null) { - phaseArtifacts_ = com.google.protobuf.MapField.newMapField( - PhaseArtifactsDefaultEntryHolder.defaultEntry); + phaseArtifacts_ = + com.google.protobuf.MapField.newMapField(PhaseArtifactsDefaultEntryHolder.defaultEntry); } if (!phaseArtifacts_.isMutable()) { phaseArtifacts_ = phaseArtifacts_.copy(); @@ -2158,70 +2381,92 @@ public Builder setManifestPathBytes( onChanged(); return phaseArtifacts_; } + public int getPhaseArtifactsCount() { return internalGetPhaseArtifacts().getMap().size(); } /** + * + * *
      * Output only. Map from the phase ID to the phase artifacts for the `Target`.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsPhaseArtifacts( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsPhaseArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetPhaseArtifacts().getMap().containsKey(key); } - /** - * Use {@link #getPhaseArtifactsMap()} instead. - */ + /** Use {@link #getPhaseArtifactsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getPhaseArtifacts() { + public java.util.Map + getPhaseArtifacts() { return getPhaseArtifactsMap(); } /** + * + * *
      * Output only. Map from the phase ID to the phase artifacts for the `Target`.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getPhaseArtifactsMap() { + public java.util.Map + getPhaseArtifactsMap() { return internalGetPhaseArtifacts().getMap(); } /** + * + * *
      * Output only. Map from the phase ID to the phase artifacts for the `Target`.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifactsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact + getPhaseArtifactsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetPhaseArtifacts().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Output only. Map from the phase ID to the phase artifacts for the `Target`.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifactsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetPhaseArtifacts().getMap(); if (!map.containsKey(key)) { @@ -2229,29 +2474,31 @@ public com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifacts } return map.get(key); } + public Builder clearPhaseArtifacts() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutablePhaseArtifacts().getMutableMap() - .clear(); + internalGetMutablePhaseArtifacts().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. Map from the phase ID to the phase artifacts for the `Target`.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removePhaseArtifacts( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutablePhaseArtifacts().getMutableMap() - .remove(key); + public Builder removePhaseArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutablePhaseArtifacts().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePhaseArtifacts() { @@ -2259,39 +2506,49 @@ public Builder removePhaseArtifacts( return internalGetMutablePhaseArtifacts().getMutableMap(); } /** + * + * *
      * Output only. Map from the phase ID to the phase artifacts for the `Target`.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putPhaseArtifacts( - java.lang.String key, - com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutablePhaseArtifacts().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutablePhaseArtifacts().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Output only. Map from the phase ID to the phase artifacts for the `Target`.
      * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putAllPhaseArtifacts( - java.util.Map values) { - internalGetMutablePhaseArtifacts().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutablePhaseArtifacts().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2301,12 +2558,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TargetArtifact) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TargetArtifact) private static final com.google.cloud.deploy.v1.TargetArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TargetArtifact(); } @@ -2315,27 +2572,27 @@ public static com.google.cloud.deploy.v1.TargetArtifact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2350,6 +2607,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java similarity index 62% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java index 1383573e47fa..7ca87c0ea413 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface TargetArtifactOrBuilder extends +public interface TargetArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TargetArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. URI of a directory containing the artifacts. This contains
    * deployment configuration used by Skaffold during a rollout, and all
@@ -15,10 +33,13 @@ public interface TargetArtifactOrBuilder extends
    * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the artifactUri field is set. */ boolean hasArtifactUri(); /** + * + * *
    * Output only. URI of a directory containing the artifacts. This contains
    * deployment configuration used by Skaffold during a rollout, and all
@@ -26,10 +47,13 @@ public interface TargetArtifactOrBuilder extends
    * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ java.lang.String getArtifactUri(); /** + * + * *
    * Output only. URI of a directory containing the artifacts. This contains
    * deployment configuration used by Skaffold during a rollout, and all
@@ -37,103 +61,130 @@ public interface TargetArtifactOrBuilder extends
    * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ - com.google.protobuf.ByteString - getArtifactUriBytes(); + com.google.protobuf.ByteString getArtifactUriBytes(); /** + * + * *
    * Output only. File path of the resolved Skaffold configuration relative to
    * the URI.
    * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skaffoldConfigPath. */ java.lang.String getSkaffoldConfigPath(); /** + * + * *
    * Output only. File path of the resolved Skaffold configuration relative to
    * the URI.
    * 
* * string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skaffoldConfigPath. */ - com.google.protobuf.ByteString - getSkaffoldConfigPathBytes(); + com.google.protobuf.ByteString getSkaffoldConfigPathBytes(); /** + * + * *
    * Output only. File path of the rendered manifest relative to the URI.
    * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The manifestPath. */ java.lang.String getManifestPath(); /** + * + * *
    * Output only. File path of the rendered manifest relative to the URI.
    * 
* * string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for manifestPath. */ - com.google.protobuf.ByteString - getManifestPathBytes(); + com.google.protobuf.ByteString getManifestPathBytes(); /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getPhaseArtifactsCount(); /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsPhaseArtifacts( - java.lang.String key); - /** - * Use {@link #getPhaseArtifactsMap()} instead. + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsPhaseArtifacts(java.lang.String key); + /** Use {@link #getPhaseArtifactsMap()} instead. */ @java.lang.Deprecated java.util.Map - getPhaseArtifacts(); + getPhaseArtifacts(); /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ java.util.Map - getPhaseArtifactsMap(); + getPhaseArtifactsMap(); /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifactsOrDefault( + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifactsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact defaultValue); + com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact defaultValue); /** + * + * *
    * Output only. Map from the phase ID to the phase artifacts for the `Target`.
    * 
* - * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.deploy.v1.TargetArtifact.PhaseArtifact getPhaseArtifactsOrThrow( java.lang.String key); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java index d675ce7cc7d2..861bed8a2659 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java @@ -1,64 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Contains criteria for selecting Targets.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.TargetAttribute} */ -public final class TargetAttribute extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TargetAttribute extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TargetAttribute) TargetAttributeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TargetAttribute.newBuilder() to construct. private TargetAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TargetAttribute() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TargetAttribute(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TargetAttribute.class, com.google.cloud.deploy.v1.TargetAttribute.Builder.class); + com.google.cloud.deploy.v1.TargetAttribute.class, + com.google.cloud.deploy.v1.TargetAttribute.Builder.class); } public static final int ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
    * ID of the `Target`. The value of this field could be one of the
    * following:
@@ -68,6 +89,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -76,14 +98,15 @@ public java.lang.String getId() { 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(); id_ = s; return s; } } /** + * + * *
    * ID of the `Target`. The value of this field could be one of the
    * following:
@@ -93,16 +116,15 @@ public java.lang.String getId() {
    * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -111,32 +133,34 @@ public java.lang.String getId() { } public static final int LABELS_FIELD_NUMBER = 2; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Target labels.
    * 
@@ -144,20 +168,21 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Target labels.
    * 
@@ -169,6 +194,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Target labels.
    * 
@@ -176,17 +203,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Target labels.
    * 
@@ -194,11 +223,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -206,6 +235,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,17 +247,12 @@ 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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -240,15 +265,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -258,17 +283,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.cloud.deploy.v1.TargetAttribute)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TargetAttribute other = (com.google.cloud.deploy.v1.TargetAttribute) obj; + com.google.cloud.deploy.v1.TargetAttribute other = + (com.google.cloud.deploy.v1.TargetAttribute) obj; - if (!getId() - .equals(other.getId())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getId().equals(other.getId())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -291,154 +315,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TargetAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TargetAttribute parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.TargetAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains criteria for selecting Targets.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.TargetAttribute} */ - 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.cloud.deploy.v1.TargetAttribute) com.google.cloud.deploy.v1.TargetAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TargetAttribute.class, com.google.cloud.deploy.v1.TargetAttribute.Builder.class); + com.google.cloud.deploy.v1.TargetAttribute.class, + com.google.cloud.deploy.v1.TargetAttribute.Builder.class); } // Construct using com.google.cloud.deploy.v1.TargetAttribute.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; } @java.lang.Override @@ -470,8 +496,11 @@ public com.google.cloud.deploy.v1.TargetAttribute build() { @java.lang.Override public com.google.cloud.deploy.v1.TargetAttribute buildPartial() { - com.google.cloud.deploy.v1.TargetAttribute result = new com.google.cloud.deploy.v1.TargetAttribute(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.TargetAttribute result = + new com.google.cloud.deploy.v1.TargetAttribute(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -491,38 +520,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.TargetAttribute result) { 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) { + 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) { + 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.cloud.deploy.v1.TargetAttribute) { - return mergeFrom((com.google.cloud.deploy.v1.TargetAttribute)other); + return mergeFrom((com.google.cloud.deploy.v1.TargetAttribute) other); } else { super.mergeFrom(other); return this; @@ -536,8 +566,7 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.TargetAttribute other) { bitField0_ |= 0x00000001; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000002; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -565,26 +594,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -594,10 +628,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
      * ID of the `Target`. The value of this field could be one of the
      * following:
@@ -607,13 +644,13 @@ public Builder mergeFrom(
      * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; @@ -622,6 +659,8 @@ public java.lang.String getId() { } } /** + * + * *
      * ID of the `Target`. The value of this field could be one of the
      * following:
@@ -631,15 +670,14 @@ public java.lang.String getId() {
      * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; 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); id_ = b; return b; } else { @@ -647,6 +685,8 @@ public java.lang.String getId() { } } /** + * + * *
      * ID of the `Target`. The value of this field could be one of the
      * following:
@@ -656,18 +696,22 @@ public java.lang.String getId() {
      * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * ID of the `Target`. The value of this field could be one of the
      * following:
@@ -677,6 +721,7 @@ public Builder setId(
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -686,6 +731,8 @@ public Builder clearId() { return this; } /** + * + * *
      * ID of the `Target`. The value of this field could be one of the
      * following:
@@ -695,12 +742,14 @@ public Builder clearId() {
      * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -708,21 +757,19 @@ public Builder setIdBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -731,10 +778,13 @@ public Builder setIdBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Target labels.
      * 
@@ -742,20 +792,21 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Target labels.
      * 
@@ -767,6 +818,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Target labels.
      * 
@@ -774,17 +827,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Target labels.
      * 
@@ -792,79 +847,81 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Target labels.
      * 
* * map<string, string> labels = 2; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Target labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Target labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -874,12 +931,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TargetAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TargetAttribute) private static final com.google.cloud.deploy.v1.TargetAttribute DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TargetAttribute(); } @@ -888,27 +945,27 @@ public static com.google.cloud.deploy.v1.TargetAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -923,6 +980,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java similarity index 59% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java index a023e1541539..a50c1c158ed7 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface TargetAttributeOrBuilder extends +public interface TargetAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TargetAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * ID of the `Target`. The value of this field could be one of the
    * following:
@@ -17,10 +35,13 @@ public interface TargetAttributeOrBuilder extends
    * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * ID of the `Target`. The value of this field could be one of the
    * following:
@@ -30,12 +51,14 @@ public interface TargetAttributeOrBuilder extends
    * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Target labels.
    * 
@@ -44,30 +67,31 @@ public interface TargetAttributeOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Target labels.
    * 
* * map<string, string> labels = 2; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Target labels.
    * 
* * map<string, string> labels = 2; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Target labels.
    * 
@@ -75,17 +99,18 @@ boolean containsLabels( * map<string, string> labels = 2; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Target labels.
    * 
* * map<string, string> labels = 2; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEvent.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEvent.java similarity index 70% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEvent.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEvent.java index df6b6b200161..fe4836b11c2c 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEvent.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/target_notification_payload.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Payload proto for "clouddeploy.googleapis.com/target_notification"
  * Platform Log event that describes the failure to send target status change
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.TargetNotificationEvent}
  */
-public final class TargetNotificationEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TargetNotificationEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TargetNotificationEvent)
     TargetNotificationEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TargetNotificationEvent.newBuilder() to construct.
   private TargetNotificationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TargetNotificationEvent() {
     message_ = "";
     target_ = "";
@@ -29,33 +47,38 @@ private TargetNotificationEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TargetNotificationEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.TargetNotificationPayloadProto.internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.TargetNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.TargetNotificationPayloadProto.internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable
+    return com.google.cloud.deploy.v1.TargetNotificationPayloadProto
+        .internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.TargetNotificationEvent.class, com.google.cloud.deploy.v1.TargetNotificationEvent.Builder.class);
+            com.google.cloud.deploy.v1.TargetNotificationEvent.class,
+            com.google.cloud.deploy.v1.TargetNotificationEvent.Builder.class);
   }
 
   public static final int MESSAGE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object message_ = "";
   /**
+   *
+   *
    * 
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -64,29 +87,29 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -95,14 +118,18 @@ public java.lang.String getMessage() { } public static final int TARGET_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * The name of the `Target`.
    * 
* * string target = 2; + * * @return The target. */ @java.lang.Override @@ -111,29 +138,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * The name of the `Target`.
    * 
* * string target = 2; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -144,30 +171,39 @@ public java.lang.String getTarget() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ - @java.lang.Override public com.google.cloud.deploy.v1.Type getType() { + @java.lang.Override + public com.google.cloud.deploy.v1.Type getType() { com.google.cloud.deploy.v1.Type result = com.google.cloud.deploy.v1.Type.forNumber(type_); return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,8 +215,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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -206,8 +241,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, target_); } if (type_ != com.google.cloud.deploy.v1.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -217,17 +251,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.cloud.deploy.v1.TargetNotificationEvent)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TargetNotificationEvent other = (com.google.cloud.deploy.v1.TargetNotificationEvent) obj; + com.google.cloud.deploy.v1.TargetNotificationEvent other = + (com.google.cloud.deploy.v1.TargetNotificationEvent) obj; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getTarget() - .equals(other.getTarget())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getTarget().equals(other.getTarget())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -252,98 +285,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.TargetNotificationEvent 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.cloud.deploy.v1.TargetNotificationEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetNotificationEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TargetNotificationEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetNotificationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.TargetNotificationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Payload proto for "clouddeploy.googleapis.com/target_notification"
    * Platform Log event that describes the failure to send target status change
@@ -352,33 +390,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.TargetNotificationEvent}
    */
-  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.cloud.deploy.v1.TargetNotificationEvent)
       com.google.cloud.deploy.v1.TargetNotificationEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.TargetNotificationPayloadProto.internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.TargetNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.TargetNotificationPayloadProto.internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable
+      return com.google.cloud.deploy.v1.TargetNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.TargetNotificationEvent.class, com.google.cloud.deploy.v1.TargetNotificationEvent.Builder.class);
+              com.google.cloud.deploy.v1.TargetNotificationEvent.class,
+              com.google.cloud.deploy.v1.TargetNotificationEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.TargetNotificationEvent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -390,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.TargetNotificationPayloadProto.internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.TargetNotificationPayloadProto
+          .internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor;
     }
 
     @java.lang.Override
@@ -411,8 +448,11 @@ public com.google.cloud.deploy.v1.TargetNotificationEvent build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.TargetNotificationEvent buildPartial() {
-      com.google.cloud.deploy.v1.TargetNotificationEvent result = new com.google.cloud.deploy.v1.TargetNotificationEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.TargetNotificationEvent result =
+          new com.google.cloud.deploy.v1.TargetNotificationEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -434,38 +474,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.TargetNotificationEvent re
     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) {
+        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) {
+        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.cloud.deploy.v1.TargetNotificationEvent) {
-        return mergeFrom((com.google.cloud.deploy.v1.TargetNotificationEvent)other);
+        return mergeFrom((com.google.cloud.deploy.v1.TargetNotificationEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -473,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.TargetNotificationEvent other) {
-      if (other == com.google.cloud.deploy.v1.TargetNotificationEvent.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.TargetNotificationEvent.getDefaultInstance())
+        return this;
       if (!other.getMessage().isEmpty()) {
         message_ = other.message_;
         bitField0_ |= 0x00000001;
@@ -513,27 +555,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              message_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              target_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                message_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                target_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -543,22 +589,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -567,20 +616,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -588,28 +638,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -619,17 +676,21 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Debug message for when a notification fails to send.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; @@ -639,18 +700,20 @@ public Builder setMessageBytes( private java.lang.Object target_ = ""; /** + * + * *
      * The name of the `Target`.
      * 
* * string target = 2; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -659,20 +722,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * The name of the `Target`.
      * 
* * string target = 2; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -680,28 +744,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * The name of the `Target`.
      * 
* * string target = 2; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The name of the `Target`.
      * 
* * string target = 2; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -711,17 +782,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * The name of the `Target`.
      * 
* * string target = 2; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000002; @@ -731,22 +806,29 @@ public Builder setTargetBytes( private int type_ = 0; /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -757,11 +839,14 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ @java.lang.Override @@ -770,11 +855,14 @@ public com.google.cloud.deploy.v1.Type getType() { return result == null ? com.google.cloud.deploy.v1.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @param value The type to set. * @return This builder for chaining. */ @@ -788,11 +876,14 @@ public Builder setType(com.google.cloud.deploy.v1.Type value) { return this; } /** + * + * *
      * Type of this notification, e.g. for a Pub/Sub failure.
      * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return This builder for chaining. */ public Builder clearType() { @@ -801,9 +892,9 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -813,12 +904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TargetNotificationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TargetNotificationEvent) private static final com.google.cloud.deploy.v1.TargetNotificationEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TargetNotificationEvent(); } @@ -827,27 +918,27 @@ public static com.google.cloud.deploy.v1.TargetNotificationEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetNotificationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetNotificationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -862,6 +953,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetNotificationEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEventOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEventOrBuilder.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEventOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEventOrBuilder.java index 5433c2dfb6ff..08ede8b7d8eb 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEventOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationEventOrBuilder.java @@ -1,67 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/target_notification_payload.proto package com.google.cloud.deploy.v1; -public interface TargetNotificationEventOrBuilder extends +public interface TargetNotificationEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TargetNotificationEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Debug message for when a notification fails to send.
    * 
* * string message = 1; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * The name of the `Target`.
    * 
* * string target = 2; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * The name of the `Target`.
    * 
* * string target = 2; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of this notification, e.g. for a Pub/Sub failure.
    * 
* * .google.cloud.deploy.v1.Type type = 3; + * * @return The type. */ com.google.cloud.deploy.v1.Type getType(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationPayloadProto.java new file mode 100644 index 000000000000..c76f8904bc25 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationPayloadProto.java @@ -0,0 +1,71 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/target_notification_payload.proto + +package com.google.cloud.deploy.v1; + +public final class TargetNotificationPayloadProto { + private TargetNotificationPayloadProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/deploy/v1/target_notifica" + + "tion_payload.proto\022\026google.cloud.deploy." + + "v1\032&google/cloud/deploy/v1/log_enums.pro" + + "to\"f\n\027TargetNotificationEvent\022\017\n\007message" + + "\030\001 \001(\t\022\016\n\006target\030\002 \001(\t\022*\n\004type\030\003 \001(\0162\034.g" + + "oogle.cloud.deploy.v1.TypeBr\n\032com.google" + + ".cloud.deploy.v1B\036TargetNotificationPayl" + + "oadProtoP\001Z2cloud.google.com/go/deploy/a" + + "piv1/deploypb;deploypbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), + }); + internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor, + new java.lang.String[] { + "Message", "Target", "Type", + }); + com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java index 1217b3256a5c..d35b0c2b4725 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java @@ -1,95 +1,133 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface TargetOrBuilder extends +public interface TargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Target) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Resource id of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetId. */ java.lang.String getTargetId(); /** + * + * *
    * Output only. Resource id of the `Target`.
    * 
* * string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetId. */ - com.google.protobuf.ByteString - getTargetIdBytes(); + com.google.protobuf.ByteString getTargetIdBytes(); /** + * + * *
    * Output only. Unique identifier of the `Target`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Unique identifier of the `Target`.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Optional. Description of the `Target`. Max length is 255 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the `Target`. Max length is 255 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -97,10 +135,13 @@ public interface TargetOrBuilder extends
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -108,17 +149,16 @@ public interface TargetOrBuilder extends
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -126,11 +166,13 @@ boolean containsAnnotations(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -138,14 +180,17 @@ boolean containsAnnotations(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User annotations. These attributes can only be set and used by
    * the user, and not by Cloud Deploy. See
@@ -153,12 +198,14 @@ java.lang.String getAnnotationsOrDefault(
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -177,6 +224,8 @@ java.lang.String getAnnotationsOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -193,15 +242,13 @@ java.lang.String getAnnotationsOrThrow(
    *
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -218,9 +265,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -238,11 +286,13 @@ boolean containsLabels(
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Cloud Deploy. Labels must meet the following constraints:
@@ -259,209 +309,302 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Optional. Whether or not the `Target` requires approval.
    * 
* * bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireApproval. */ boolean getRequireApproval(); /** + * + * *
    * Output only. Time at which the `Target` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time at which the `Target` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time at which the `Target` was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Most recent time at which the `Target` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Most recent time at which the `Target` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Most recent time at which the `Target` was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Optional. Information specifying a GKE Cluster.
    * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gke field is set. */ boolean hasGke(); /** + * + * *
    * Optional. Information specifying a GKE Cluster.
    * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gke. */ com.google.cloud.deploy.v1.GkeCluster getGke(); /** + * + * *
    * Optional. Information specifying a GKE Cluster.
    * 
* - * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder(); /** + * + * *
    * Optional. Information specifying an Anthos Cluster.
    * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the anthosCluster field is set. */ boolean hasAnthosCluster(); /** + * + * *
    * Optional. Information specifying an Anthos Cluster.
    * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The anthosCluster. */ com.google.cloud.deploy.v1.AnthosCluster getAnthosCluster(); /** + * + * *
    * Optional. Information specifying an Anthos Cluster.
    * 
* - * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.AnthosClusterOrBuilder getAnthosClusterOrBuilder(); /** + * + * *
    * Optional. Information specifying a Cloud Run deployment target.
    * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the run field is set. */ boolean hasRun(); /** + * + * *
    * Optional. Information specifying a Cloud Run deployment target.
    * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The run. */ com.google.cloud.deploy.v1.CloudRunLocation getRun(); /** + * + * *
    * Optional. Information specifying a Cloud Run deployment target.
    * 
* - * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.CloudRunLocationOrBuilder getRunOrBuilder(); /** + * + * *
    * Optional. Information specifying a multiTarget.
    * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the multiTarget field is set. */ boolean hasMultiTarget(); /** + * + * *
    * Optional. Information specifying a multiTarget.
    * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The multiTarget. */ com.google.cloud.deploy.v1.MultiTarget getMultiTarget(); /** + * + * *
    * Optional. Information specifying a multiTarget.
    * 
* - * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.MultiTargetOrBuilder getMultiTargetOrBuilder(); /** + * + * *
    * Optional. Information specifying a Custom Target.
    * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the customTarget field is set. */ boolean hasCustomTarget(); /** + * + * *
    * Optional. Information specifying a Custom Target.
    * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The customTarget. */ com.google.cloud.deploy.v1.CustomTarget getCustomTarget(); /** + * + * *
    * Optional. Information specifying a Custom Target.
    * 
* - * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.CustomTargetOrBuilder getCustomTargetOrBuilder(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -469,10 +612,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. This checksum is computed by the server based on the value of
    * other fields, and may be sent on update and delete requests to ensure the
@@ -480,12 +626,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -498,9 +646,10 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16;
    */
-  java.util.List 
-      getExecutionConfigsList();
+  java.util.List getExecutionConfigsList();
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -515,6 +664,8 @@ java.lang.String getLabelsOrThrow(
    */
   com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index);
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -529,6 +680,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getExecutionConfigsCount();
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -541,9 +694,11 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16;
    */
-  java.util.List 
+  java.util.List
       getExecutionConfigsOrBuilderList();
   /**
+   *
+   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -556,62 +711,75 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16;
    */
-  com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOrBuilder(
-      int index);
+  com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getDeployParametersCount(); /** + * + * *
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsDeployParameters( - java.lang.String key); - /** - * Use {@link #getDeployParametersMap()} instead. + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsDeployParameters(java.lang.String key); + /** Use {@link #getDeployParametersMap()} instead. */ @java.lang.Deprecated - java.util.Map - getDeployParameters(); + java.util.Map getDeployParameters(); /** + * + * *
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getDeployParametersMap(); + java.util.Map getDeployParametersMap(); /** + * + * *
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getDeployParametersOrDefault( + java.lang.String getDeployParametersOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. The deploy parameters to use for this target.
    * 
* - * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getDeployParametersOrThrow( - java.lang.String key); + java.lang.String getDeployParametersOrThrow(java.lang.String key); com.google.cloud.deploy.v1.Target.DeploymentTargetCase getDeploymentTargetCase(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java index f2a3d6c8ccf0..58fa18f589b1 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * `TargetsPresentCondition` contains information on any Targets referenced in
  * the Delivery Pipeline that do not actually exist.
@@ -11,48 +28,52 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.TargetsPresentCondition}
  */
-public final class TargetsPresentCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TargetsPresentCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TargetsPresentCondition)
     TargetsPresentConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TargetsPresentCondition.newBuilder() to construct.
   private TargetsPresentCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TargetsPresentCondition() {
-    missingTargets_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    missingTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TargetsPresentCondition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.TargetsPresentCondition.class, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder.class);
+            com.google.cloud.deploy.v1.TargetsPresentCondition.class,
+            com.google.cloud.deploy.v1.TargetsPresentCondition.Builder.class);
   }
 
   public static final int STATUS_FIELD_NUMBER = 1;
   private boolean status_ = false;
   /**
+   *
+   *
    * 
    * True if there aren't any missing Targets.
    * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -61,41 +82,50 @@ public boolean getStatus() { } public static final int MISSING_TARGETS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList missingTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the missingTargets. */ - public com.google.protobuf.ProtocolStringList - getMissingTargetsList() { + public com.google.protobuf.ProtocolStringList getMissingTargetsList() { return missingTargets_; } /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of missingTargets. */ public int getMissingTargetsCount() { return missingTargets_.size(); } /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The missingTargets at the given index. */ @@ -103,28 +133,33 @@ public java.lang.String getMissingTargets(int index) { return missingTargets_.get(index); } /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the missingTargets at the given index. */ - public com.google.protobuf.ByteString - getMissingTargetsBytes(int index) { + public com.google.protobuf.ByteString getMissingTargetsBytes(int index) { return missingTargets_.getByteString(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -132,11 +167,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -144,6 +182,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Last time the condition was updated.
    * 
@@ -156,6 +196,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +208,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 (status_ != false) { output.writeBool(1, status_); } @@ -188,8 +228,7 @@ public int getSerializedSize() { size = 0; if (status_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, status_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, status_); } { int dataSize = 0; @@ -200,8 +239,7 @@ public int getSerializedSize() { size += 1 * getMissingTargetsList().size(); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,21 +249,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.cloud.deploy.v1.TargetsPresentCondition)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TargetsPresentCondition other = (com.google.cloud.deploy.v1.TargetsPresentCondition) obj; + com.google.cloud.deploy.v1.TargetsPresentCondition other = + (com.google.cloud.deploy.v1.TargetsPresentCondition) obj; - if (getStatus() - != other.getStatus()) return false; - if (!getMissingTargetsList() - .equals(other.getMissingTargetsList())) return false; + if (getStatus() != other.getStatus()) return false; + if (!getMissingTargetsList().equals(other.getMissingTargetsList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -239,8 +275,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStatus()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStatus()); if (getMissingTargetsCount() > 0) { hash = (37 * hash) + MISSING_TARGETS_FIELD_NUMBER; hash = (53 * hash) + getMissingTargetsList().hashCode(); @@ -255,98 +290,103 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.TargetsPresentCondition 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.cloud.deploy.v1.TargetsPresentCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetsPresentCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TargetsPresentCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetsPresentCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.TargetsPresentCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `TargetsPresentCondition` contains information on any Targets referenced in
    * the Delivery Pipeline that do not actually exist.
@@ -354,40 +394,38 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.TargetsPresentCondition}
    */
-  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.cloud.deploy.v1.TargetsPresentCondition)
       com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.TargetsPresentCondition.class, com.google.cloud.deploy.v1.TargetsPresentCondition.Builder.class);
+              com.google.cloud.deploy.v1.TargetsPresentCondition.class,
+              com.google.cloud.deploy.v1.TargetsPresentCondition.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.TargetsPresentCondition.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       status_ = false;
-      missingTargets_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      missingTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
       updateTime_ = null;
       if (updateTimeBuilder_ != null) {
         updateTimeBuilder_.dispose();
@@ -397,9 +435,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor;
     }
 
     @java.lang.Override
@@ -418,8 +456,11 @@ public com.google.cloud.deploy.v1.TargetsPresentCondition build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.TargetsPresentCondition buildPartial() {
-      com.google.cloud.deploy.v1.TargetsPresentCondition result = new com.google.cloud.deploy.v1.TargetsPresentCondition(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.TargetsPresentCondition result =
+          new com.google.cloud.deploy.v1.TargetsPresentCondition(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -434,9 +475,7 @@ private void buildPartial0(com.google.cloud.deploy.v1.TargetsPresentCondition re
         result.missingTargets_ = missingTargets_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
     }
 
@@ -444,38 +483,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.TargetsPresentCondition re
     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) {
+        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) {
+        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.cloud.deploy.v1.TargetsPresentCondition) {
-        return mergeFrom((com.google.cloud.deploy.v1.TargetsPresentCondition)other);
+        return mergeFrom((com.google.cloud.deploy.v1.TargetsPresentCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -483,7 +523,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.TargetsPresentCondition other) {
-      if (other == com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.TargetsPresentCondition.getDefaultInstance())
+        return this;
       if (other.getStatus() != false) {
         setStatus(other.getStatus());
       }
@@ -526,30 +567,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              status_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureMissingTargetsIsMutable();
-              missingTargets_.add(s);
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                status_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureMissingTargetsIsMutable();
+                missingTargets_.add(s);
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -559,15 +602,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean status_ ;
+    private boolean status_;
     /**
+     *
+     *
      * 
      * True if there aren't any missing Targets.
      * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -575,11 +622,14 @@ public boolean getStatus() { return status_; } /** + * + * *
      * True if there aren't any missing Targets.
      * 
* * bool status = 1; + * * @param value The status to set. * @return This builder for chaining. */ @@ -591,11 +641,14 @@ public Builder setStatus(boolean value) { return this; } /** + * + * *
      * True if there aren't any missing Targets.
      * 
* * bool status = 1; + * * @return This builder for chaining. */ public Builder clearStatus() { @@ -607,6 +660,7 @@ public Builder clearStatus() { private com.google.protobuf.LazyStringArrayList missingTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMissingTargetsIsMutable() { if (!missingTargets_.isModifiable()) { missingTargets_ = new com.google.protobuf.LazyStringArrayList(missingTargets_); @@ -614,38 +668,46 @@ private void ensureMissingTargetsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the missingTargets. */ - public com.google.protobuf.ProtocolStringList - getMissingTargetsList() { + public com.google.protobuf.ProtocolStringList getMissingTargetsList() { missingTargets_.makeImmutable(); return missingTargets_; } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of missingTargets. */ public int getMissingTargetsCount() { return missingTargets_.size(); } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The missingTargets at the given index. */ @@ -653,33 +715,39 @@ public java.lang.String getMissingTargets(int index) { return missingTargets_.get(index); } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the missingTargets at the given index. */ - public com.google.protobuf.ByteString - getMissingTargetsBytes(int index) { + public com.google.protobuf.ByteString getMissingTargetsBytes(int index) { return missingTargets_.getByteString(index); } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index to set the value at. * @param value The missingTargets to set. * @return This builder for chaining. */ - public Builder setMissingTargets( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMissingTargets(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMissingTargetsIsMutable(); missingTargets_.set(index, value); bitField0_ |= 0x00000002; @@ -687,18 +755,22 @@ public Builder setMissingTargets( return this; } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param value The missingTargets to add. * @return This builder for chaining. */ - public Builder addMissingTargets( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMissingTargets(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMissingTargetsIsMutable(); missingTargets_.add(value); bitField0_ |= 0x00000002; @@ -706,53 +778,61 @@ public Builder addMissingTargets( return this; } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param values The missingTargets to add. * @return This builder for chaining. */ - public Builder addAllMissingTargets( - java.lang.Iterable values) { + public Builder addAllMissingTargets(java.lang.Iterable values) { ensureMissingTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, missingTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingTargets_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearMissingTargets() { - missingTargets_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + missingTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * The list of Target names that do not exist. For example,
      * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
      * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes of the missingTargets to add. * @return This builder for chaining. */ - public Builder addMissingTargetsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMissingTargetsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMissingTargetsIsMutable(); missingTargets_.add(value); @@ -763,34 +843,47 @@ public Builder addMissingTargetsBytes( private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Last time the condition was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Last time the condition was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -811,14 +904,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last time the condition was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -829,6 +923,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -837,9 +933,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -852,6 +948,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -869,6 +967,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -881,6 +981,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -891,11 +993,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Last time the condition was updated.
      * 
@@ -903,21 +1008,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +1035,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TargetsPresentCondition) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TargetsPresentCondition) private static final com.google.cloud.deploy.v1.TargetsPresentCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TargetsPresentCondition(); } @@ -941,27 +1049,27 @@ public static com.google.cloud.deploy.v1.TargetsPresentCondition getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetsPresentCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetsPresentCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,6 +1084,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetsPresentCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java similarity index 74% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java index e3083497015d..bd0baf012cf0 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java @@ -1,86 +1,123 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface TargetsPresentConditionOrBuilder extends +public interface TargetsPresentConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TargetsPresentCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * True if there aren't any missing Targets.
    * 
* * bool status = 1; + * * @return The status. */ boolean getStatus(); /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the missingTargets. */ - java.util.List - getMissingTargetsList(); + java.util.List getMissingTargetsList(); /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of missingTargets. */ int getMissingTargetsCount(); /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The missingTargets at the given index. */ java.lang.String getMissingTargets(int index); /** + * + * *
    * The list of Target names that do not exist. For example,
    * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
    * 
* * repeated string missing_targets = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the missingTargets at the given index. */ - com.google.protobuf.ByteString - getMissingTargetsBytes(int index); + com.google.protobuf.ByteString getMissingTargetsBytes(int index); /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Last time the condition was updated.
    * 
diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeCondition.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeCondition.java similarity index 68% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeCondition.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeCondition.java index 14caa1054f72..dd99893cdc2e 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeCondition.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeCondition.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * TargetsTypeCondition contains information on whether the Targets defined in
  * the Delivery Pipeline are of the same type.
@@ -11,42 +28,46 @@
  *
  * Protobuf type {@code google.cloud.deploy.v1.TargetsTypeCondition}
  */
-public final class TargetsTypeCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TargetsTypeCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TargetsTypeCondition)
     TargetsTypeConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TargetsTypeCondition.newBuilder() to construct.
   private TargetsTypeCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TargetsTypeCondition() {
     errorDetails_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TargetsTypeCondition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable
+    return com.google.cloud.deploy.v1.CloudDeployProto
+        .internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.deploy.v1.TargetsTypeCondition.class, com.google.cloud.deploy.v1.TargetsTypeCondition.Builder.class);
+            com.google.cloud.deploy.v1.TargetsTypeCondition.class,
+            com.google.cloud.deploy.v1.TargetsTypeCondition.Builder.class);
   }
 
   public static final int STATUS_FIELD_NUMBER = 1;
   private boolean status_ = false;
   /**
+   *
+   *
    * 
    * True if the targets are all a comparable type. For example this is true if
    * all targets are GKE clusters. This is false if some targets are Cloud Run
@@ -54,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -62,14 +84,18 @@ public boolean getStatus() { } public static final int ERROR_DETAILS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object errorDetails_ = ""; /** + * + * *
    * Human readable error message.
    * 
* * string error_details = 2; + * * @return The errorDetails. */ @java.lang.Override @@ -78,29 +104,29 @@ public java.lang.String getErrorDetails() { 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(); errorDetails_ = s; return s; } } /** + * + * *
    * Human readable error message.
    * 
* * string error_details = 2; + * * @return The bytes for errorDetails. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorDetailsBytes() { + public com.google.protobuf.ByteString getErrorDetailsBytes() { java.lang.Object ref = errorDetails_; 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); errorDetails_ = b; return b; } else { @@ -109,6 +135,7 @@ public java.lang.String getErrorDetails() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +147,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 (status_ != false) { output.writeBool(1, status_); } @@ -138,8 +164,7 @@ public int getSerializedSize() { size = 0; if (status_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, status_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorDetails_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorDetails_); @@ -152,17 +177,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.cloud.deploy.v1.TargetsTypeCondition)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TargetsTypeCondition other = (com.google.cloud.deploy.v1.TargetsTypeCondition) obj; + com.google.cloud.deploy.v1.TargetsTypeCondition other = + (com.google.cloud.deploy.v1.TargetsTypeCondition) obj; - if (getStatus() - != other.getStatus()) return false; - if (!getErrorDetails() - .equals(other.getErrorDetails())) return false; + if (getStatus() != other.getStatus()) return false; + if (!getErrorDetails().equals(other.getErrorDetails())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,8 +199,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStatus()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStatus()); hash = (37 * hash) + ERROR_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getErrorDetails().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -184,99 +207,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TargetsTypeCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TargetsTypeCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TargetsTypeCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.TargetsTypeCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * TargetsTypeCondition contains information on whether the Targets defined in
    * the Delivery Pipeline are of the same type.
@@ -284,33 +312,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.deploy.v1.TargetsTypeCondition}
    */
-  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.cloud.deploy.v1.TargetsTypeCondition)
       com.google.cloud.deploy.v1.TargetsTypeConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.deploy.v1.TargetsTypeCondition.class, com.google.cloud.deploy.v1.TargetsTypeCondition.Builder.class);
+              com.google.cloud.deploy.v1.TargetsTypeCondition.class,
+              com.google.cloud.deploy.v1.TargetsTypeCondition.Builder.class);
     }
 
     // Construct using com.google.cloud.deploy.v1.TargetsTypeCondition.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -321,9 +348,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.deploy.v1.CloudDeployProto
+          .internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor;
     }
 
     @java.lang.Override
@@ -342,8 +369,11 @@ public com.google.cloud.deploy.v1.TargetsTypeCondition build() {
 
     @java.lang.Override
     public com.google.cloud.deploy.v1.TargetsTypeCondition buildPartial() {
-      com.google.cloud.deploy.v1.TargetsTypeCondition result = new com.google.cloud.deploy.v1.TargetsTypeCondition(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.deploy.v1.TargetsTypeCondition result =
+          new com.google.cloud.deploy.v1.TargetsTypeCondition(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -362,38 +392,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.TargetsTypeCondition resul
     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) {
+        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) {
+        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.cloud.deploy.v1.TargetsTypeCondition) {
-        return mergeFrom((com.google.cloud.deploy.v1.TargetsTypeCondition)other);
+        return mergeFrom((com.google.cloud.deploy.v1.TargetsTypeCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,7 +432,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.deploy.v1.TargetsTypeCondition other) {
-      if (other == com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance()) return this;
+      if (other == com.google.cloud.deploy.v1.TargetsTypeCondition.getDefaultInstance())
+        return this;
       if (other.getStatus() != false) {
         setStatus(other.getStatus());
       }
@@ -436,22 +468,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              status_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              errorDetails_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                status_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                errorDetails_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -461,10 +496,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean status_ ;
+    private boolean status_;
     /**
+     *
+     *
      * 
      * True if the targets are all a comparable type. For example this is true if
      * all targets are GKE clusters. This is false if some targets are Cloud Run
@@ -472,6 +510,7 @@ public Builder mergeFrom(
      * 
* * bool status = 1; + * * @return The status. */ @java.lang.Override @@ -479,6 +518,8 @@ public boolean getStatus() { return status_; } /** + * + * *
      * True if the targets are all a comparable type. For example this is true if
      * all targets are GKE clusters. This is false if some targets are Cloud Run
@@ -486,6 +527,7 @@ public boolean getStatus() {
      * 
* * bool status = 1; + * * @param value The status to set. * @return This builder for chaining. */ @@ -497,6 +539,8 @@ public Builder setStatus(boolean value) { return this; } /** + * + * *
      * True if the targets are all a comparable type. For example this is true if
      * all targets are GKE clusters. This is false if some targets are Cloud Run
@@ -504,6 +548,7 @@ public Builder setStatus(boolean value) {
      * 
* * bool status = 1; + * * @return This builder for chaining. */ public Builder clearStatus() { @@ -515,18 +560,20 @@ public Builder clearStatus() { private java.lang.Object errorDetails_ = ""; /** + * + * *
      * Human readable error message.
      * 
* * string error_details = 2; + * * @return The errorDetails. */ public java.lang.String getErrorDetails() { java.lang.Object ref = errorDetails_; 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(); errorDetails_ = s; return s; @@ -535,20 +582,21 @@ public java.lang.String getErrorDetails() { } } /** + * + * *
      * Human readable error message.
      * 
* * string error_details = 2; + * * @return The bytes for errorDetails. */ - public com.google.protobuf.ByteString - getErrorDetailsBytes() { + public com.google.protobuf.ByteString getErrorDetailsBytes() { java.lang.Object ref = errorDetails_; 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); errorDetails_ = b; return b; } else { @@ -556,28 +604,35 @@ public java.lang.String getErrorDetails() { } } /** + * + * *
      * Human readable error message.
      * 
* * string error_details = 2; + * * @param value The errorDetails to set. * @return This builder for chaining. */ - public Builder setErrorDetails( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorDetails(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorDetails_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Human readable error message.
      * 
* * string error_details = 2; + * * @return This builder for chaining. */ public Builder clearErrorDetails() { @@ -587,26 +642,30 @@ public Builder clearErrorDetails() { return this; } /** + * + * *
      * Human readable error message.
      * 
* * string error_details = 2; + * * @param value The bytes for errorDetails to set. * @return This builder for chaining. */ - public Builder setErrorDetailsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorDetailsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorDetails_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +675,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TargetsTypeCondition) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TargetsTypeCondition) private static final com.google.cloud.deploy.v1.TargetsTypeCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TargetsTypeCondition(); } @@ -630,27 +689,27 @@ public static com.google.cloud.deploy.v1.TargetsTypeCondition getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetsTypeCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetsTypeCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,6 +724,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetsTypeCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeConditionOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeConditionOrBuilder.java similarity index 56% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeConditionOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeConditionOrBuilder.java index b1ef5af5475b..c54d4417aaab 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeConditionOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsTypeConditionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface TargetsTypeConditionOrBuilder extends +public interface TargetsTypeConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TargetsTypeCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * True if the targets are all a comparable type. For example this is true if
    * all targets are GKE clusters. This is false if some targets are Cloud Run
@@ -15,27 +33,33 @@ public interface TargetsTypeConditionOrBuilder extends
    * 
* * bool status = 1; + * * @return The status. */ boolean getStatus(); /** + * + * *
    * Human readable error message.
    * 
* * string error_details = 2; + * * @return The errorDetails. */ java.lang.String getErrorDetails(); /** + * + * *
    * Human readable error message.
    * 
* * string error_details = 2; + * * @return The bytes for errorDetails. */ - com.google.protobuf.ByteString - getErrorDetailsBytes(); + com.google.protobuf.ByteString getErrorDetailsBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequest.java similarity index 63% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequest.java index ee7444647733..b5f8c8b7b5d5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object used by `TerminateJobRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.TerminateJobRunRequest} */ -public final class TerminateJobRunRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TerminateJobRunRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TerminateJobRunRequest) TerminateJobRunRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TerminateJobRunRequest.newBuilder() to construct. private TerminateJobRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TerminateJobRunRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TerminateJobRunRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TerminateJobRunRequest.class, com.google.cloud.deploy.v1.TerminateJobRunRequest.Builder.class); + com.google.cloud.deploy.v1.TerminateJobRunRequest.class, + com.google.cloud.deploy.v1.TerminateJobRunRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the `JobRun`. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ 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. Name of the `JobRun`. Format must be
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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.cloud.deploy.v1.TerminateJobRunRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TerminateJobRunRequest other = (com.google.cloud.deploy.v1.TerminateJobRunRequest) obj; + com.google.cloud.deploy.v1.TerminateJobRunRequest other = + (com.google.cloud.deploy.v1.TerminateJobRunRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.TerminateJobRunRequest 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.cloud.deploy.v1.TerminateJobRunRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TerminateJobRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.TerminateJobRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object used by `TerminateJobRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.TerminateJobRunRequest} */ - 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.cloud.deploy.v1.TerminateJobRunRequest) com.google.cloud.deploy.v1.TerminateJobRunRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TerminateJobRunRequest.class, com.google.cloud.deploy.v1.TerminateJobRunRequest.Builder.class); + com.google.cloud.deploy.v1.TerminateJobRunRequest.class, + com.google.cloud.deploy.v1.TerminateJobRunRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.TerminateJobRunRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.deploy.v1.TerminateJobRunRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.TerminateJobRunRequest buildPartial() { - com.google.cloud.deploy.v1.TerminateJobRunRequest result = new com.google.cloud.deploy.v1.TerminateJobRunRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.TerminateJobRunRequest result = + new com.google.cloud.deploy.v1.TerminateJobRunRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.TerminateJobRunRequest res 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) { + 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) { + 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.cloud.deploy.v1.TerminateJobRunRequest) { - return mergeFrom((com.google.cloud.deploy.v1.TerminateJobRunRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.TerminateJobRunRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.TerminateJobRunRequest other) { - if (other == com.google.cloud.deploy.v1.TerminateJobRunRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.TerminateJobRunRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the `JobRun`. Format must be
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TerminateJobRunRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TerminateJobRunRequest) private static final com.google.cloud.deploy.v1.TerminateJobRunRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TerminateJobRunRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.deploy.v1.TerminateJobRunRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TerminateJobRunRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TerminateJobRunRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TerminateJobRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequestOrBuilder.java new file mode 100644 index 000000000000..25b077534887 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface TerminateJobRunRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TerminateJobRunRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the `JobRun`. Format must be
+   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the `JobRun`. Format must be
+   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponse.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponse.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponse.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponse.java index ce5cb75e7137..b9ea07240f28 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponse.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponse.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The response object from `TerminateJobRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.TerminateJobRunResponse} */ -public final class TerminateJobRunResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TerminateJobRunResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.TerminateJobRunResponse) TerminateJobRunResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TerminateJobRunResponse.newBuilder() to construct. private TerminateJobRunResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TerminateJobRunResponse() { - } + + private TerminateJobRunResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TerminateJobRunResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TerminateJobRunResponse.class, com.google.cloud.deploy.v1.TerminateJobRunResponse.Builder.class); + com.google.cloud.deploy.v1.TerminateJobRunResponse.class, + com.google.cloud.deploy.v1.TerminateJobRunResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,12 +91,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.cloud.deploy.v1.TerminateJobRunResponse)) { return super.equals(obj); } - com.google.cloud.deploy.v1.TerminateJobRunResponse other = (com.google.cloud.deploy.v1.TerminateJobRunResponse) obj; + com.google.cloud.deploy.v1.TerminateJobRunResponse other = + (com.google.cloud.deploy.v1.TerminateJobRunResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +116,135 @@ public int hashCode() { } public static com.google.cloud.deploy.v1.TerminateJobRunResponse 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.cloud.deploy.v1.TerminateJobRunResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.TerminateJobRunResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.TerminateJobRunResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response object from `TerminateJobRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.TerminateJobRunResponse} */ - 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.cloud.deploy.v1.TerminateJobRunResponse) com.google.cloud.deploy.v1.TerminateJobRunResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.TerminateJobRunResponse.class, com.google.cloud.deploy.v1.TerminateJobRunResponse.Builder.class); + com.google.cloud.deploy.v1.TerminateJobRunResponse.class, + com.google.cloud.deploy.v1.TerminateJobRunResponse.Builder.class); } // Construct using com.google.cloud.deploy.v1.TerminateJobRunResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +252,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; } @java.lang.Override @@ -250,7 +273,8 @@ public com.google.cloud.deploy.v1.TerminateJobRunResponse build() { @java.lang.Override public com.google.cloud.deploy.v1.TerminateJobRunResponse buildPartial() { - com.google.cloud.deploy.v1.TerminateJobRunResponse result = new com.google.cloud.deploy.v1.TerminateJobRunResponse(this); + com.google.cloud.deploy.v1.TerminateJobRunResponse result = + new com.google.cloud.deploy.v1.TerminateJobRunResponse(this); onBuilt(); return result; } @@ -259,38 +283,39 @@ public com.google.cloud.deploy.v1.TerminateJobRunResponse 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) { + 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) { + 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.cloud.deploy.v1.TerminateJobRunResponse) { - return mergeFrom((com.google.cloud.deploy.v1.TerminateJobRunResponse)other); + return mergeFrom((com.google.cloud.deploy.v1.TerminateJobRunResponse) other); } else { super.mergeFrom(other); return this; @@ -298,7 +323,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.TerminateJobRunResponse other) { - if (other == com.google.cloud.deploy.v1.TerminateJobRunResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.TerminateJobRunResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +351,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +367,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.TerminateJobRunResponse) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.TerminateJobRunResponse) private static final com.google.cloud.deploy.v1.TerminateJobRunResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.TerminateJobRunResponse(); } @@ -366,27 +393,27 @@ public static com.google.cloud.deploy.v1.TerminateJobRunResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TerminateJobRunResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TerminateJobRunResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TerminateJobRunResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponseOrBuilder.java new file mode 100644 index 000000000000..c8be38f2edc7 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface TerminateJobRunResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TerminateJobRunResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Type.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Type.java similarity index 71% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Type.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Type.java index e30b3fd30649..d7372ffc43e1 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Type.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Type.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/log_enums.proto package com.google.cloud.deploy.v1; /** + * + * *
  * Type indicates the type of the log entry and can be used as a filter.
  * 
* * Protobuf enum {@code google.cloud.deploy.v1.Type} */ -public enum Type - implements com.google.protobuf.ProtocolMessageEnum { +public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Type is unspecified.
    * 
@@ -21,6 +39,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
    * A Pub/Sub notification failed to be sent.
    * 
@@ -29,6 +49,8 @@ public enum Type */ TYPE_PUBSUB_NOTIFICATION_FAILURE(1), /** + * + * *
    * Resource state changed.
    * 
@@ -37,6 +59,8 @@ public enum Type */ TYPE_RESOURCE_STATE_CHANGE(3), /** + * + * *
    * A process aborted.
    * 
@@ -45,6 +69,8 @@ public enum Type */ TYPE_PROCESS_ABORTED(4), /** + * + * *
    * Restriction check failed.
    * 
@@ -53,6 +79,8 @@ public enum Type */ TYPE_RESTRICTION_VIOLATED(5), /** + * + * *
    * Resource deleted.
    * 
@@ -61,6 +89,8 @@ public enum Type */ TYPE_RESOURCE_DELETED(6), /** + * + * *
    * Rollout updated.
    * 
@@ -69,6 +99,8 @@ public enum Type */ TYPE_ROLLOUT_UPDATE(7), /** + * + * *
    * Deprecated: This field is never used. Use release_render log type instead.
    * 
@@ -81,6 +113,8 @@ public enum Type ; /** + * + * *
    * Type is unspecified.
    * 
@@ -89,6 +123,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A Pub/Sub notification failed to be sent.
    * 
@@ -97,6 +133,8 @@ public enum Type */ public static final int TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUE = 1; /** + * + * *
    * Resource state changed.
    * 
@@ -105,6 +143,8 @@ public enum Type */ public static final int TYPE_RESOURCE_STATE_CHANGE_VALUE = 3; /** + * + * *
    * A process aborted.
    * 
@@ -113,6 +153,8 @@ public enum Type */ public static final int TYPE_PROCESS_ABORTED_VALUE = 4; /** + * + * *
    * Restriction check failed.
    * 
@@ -121,6 +163,8 @@ public enum Type */ public static final int TYPE_RESTRICTION_VIOLATED_VALUE = 5; /** + * + * *
    * Resource deleted.
    * 
@@ -129,6 +173,8 @@ public enum Type */ public static final int TYPE_RESOURCE_DELETED_VALUE = 6; /** + * + * *
    * Rollout updated.
    * 
@@ -137,6 +183,8 @@ public enum Type */ public static final int TYPE_ROLLOUT_UPDATE_VALUE = 7; /** + * + * *
    * Deprecated: This field is never used. Use release_render log type instead.
    * 
@@ -145,7 +193,6 @@ public enum Type */ @java.lang.Deprecated public static final int TYPE_RENDER_STATUES_CHANGE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,54 +217,59 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return TYPE_PUBSUB_NOTIFICATION_FAILURE; - case 3: return TYPE_RESOURCE_STATE_CHANGE; - case 4: return TYPE_PROCESS_ABORTED; - case 5: return TYPE_RESTRICTION_VIOLATED; - case 6: return TYPE_RESOURCE_DELETED; - case 7: return TYPE_ROLLOUT_UPDATE; - case 2: return TYPE_RENDER_STATUES_CHANGE; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return TYPE_PUBSUB_NOTIFICATION_FAILURE; + case 3: + return TYPE_RESOURCE_STATE_CHANGE; + case 4: + return TYPE_PROCESS_ABORTED; + case 5: + return TYPE_RESTRICTION_VIOLATED; + case 6: + return TYPE_RESOURCE_DELETED; + case 7: + return TYPE_ROLLOUT_UPDATE; + case 2: + return TYPE_RENDER_STATUES_CHANGE; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -233,4 +285,3 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.deploy.v1.Type) } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequest.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequest.java index f8db71621c98..b559699170df 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `UpdateAutomation`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateAutomationRequest} */ -public final class UpdateAutomationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAutomationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.UpdateAutomationRequest) UpdateAutomationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAutomationRequest.newBuilder() to construct. private UpdateAutomationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateAutomationRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAutomationRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateAutomationRequest.class, com.google.cloud.deploy.v1.UpdateAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateAutomationRequest.class, + com.google.cloud.deploy.v1.UpdateAutomationRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `Automation` resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `Automation` resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `Automation` resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int AUTOMATION_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.Automation automation_; /** + * + * *
    * Required. The `Automation` to update.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the automation field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasAutomation() { return automation_ != null; } /** + * + * *
    * Required. The `Automation` to update.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The automation. */ @java.lang.Override public com.google.cloud.deploy.v1.Automation getAutomation() { - return automation_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } /** + * + * *
    * Required. The `Automation` to update.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() { - return automation_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -152,6 +203,7 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -205,12 +257,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, updating a `Automation` that does not exist will
    * result in the creation of a new `Automation`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -221,12 +276,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -235,6 +293,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +305,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -273,23 +331,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (automation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAutomation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAutomation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,29 +353,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.cloud.deploy.v1.UpdateAutomationRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.UpdateAutomationRequest other = (com.google.cloud.deploy.v1.UpdateAutomationRequest) obj; + com.google.cloud.deploy.v1.UpdateAutomationRequest other = + (com.google.cloud.deploy.v1.UpdateAutomationRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasAutomation() != other.hasAutomation()) return false; if (hasAutomation()) { - if (!getAutomation() - .equals(other.getAutomation())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getAutomation().equals(other.getAutomation())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +394,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.UpdateAutomationRequest 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.cloud.deploy.v1.UpdateAutomationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateAutomationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.UpdateAutomationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `UpdateAutomation`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateAutomationRequest} */ - 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.cloud.deploy.v1.UpdateAutomationRequest) com.google.cloud.deploy.v1.UpdateAutomationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateAutomationRequest.class, com.google.cloud.deploy.v1.UpdateAutomationRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateAutomationRequest.class, + com.google.cloud.deploy.v1.UpdateAutomationRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.UpdateAutomationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; } @java.lang.Override @@ -522,8 +574,11 @@ public com.google.cloud.deploy.v1.UpdateAutomationRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.UpdateAutomationRequest buildPartial() { - com.google.cloud.deploy.v1.UpdateAutomationRequest result = new com.google.cloud.deploy.v1.UpdateAutomationRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.UpdateAutomationRequest result = + new com.google.cloud.deploy.v1.UpdateAutomationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +586,10 @@ public com.google.cloud.deploy.v1.UpdateAutomationRequest buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.UpdateAutomationRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.automation_ = automationBuilder_ == null - ? automation_ - : automationBuilder_.build(); + result.automation_ = automationBuilder_ == null ? automation_ : automationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -555,38 +606,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.UpdateAutomationRequest re 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) { + 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) { + 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.cloud.deploy.v1.UpdateAutomationRequest) { - return mergeFrom((com.google.cloud.deploy.v1.UpdateAutomationRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.UpdateAutomationRequest) other); } else { super.mergeFrom(other); return this; @@ -594,7 +646,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.UpdateAutomationRequest other) { - if (other == com.google.cloud.deploy.v1.UpdateAutomationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.UpdateAutomationRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -638,41 +691,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAutomationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAutomationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,12 +737,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -696,13 +757,17 @@ public Builder mergeFrom(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -711,17 +776,23 @@ public boolean hasUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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(); } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -730,7 +801,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +818,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -754,10 +828,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -768,6 +842,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -776,13 +852,14 @@ public Builder setUpdateMask(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,6 +872,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -803,7 +882,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -816,6 +896,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -824,7 +906,8 @@ public Builder clearUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -832,6 +915,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -840,17 +925,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `Automation` resource by the update.
@@ -859,17 +948,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; @@ -877,39 +970,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.deploy.v1.Automation automation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> automationBuilder_; + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> + automationBuilder_; /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the automation field is set. */ public boolean hasAutomation() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The automation. */ public com.google.cloud.deploy.v1.Automation getAutomation() { if (automationBuilder_ == null) { - return automation_ == null ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } else { return automationBuilder_.getMessage(); } } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutomation(com.google.cloud.deploy.v1.Automation value) { if (automationBuilder_ == null) { @@ -925,14 +1037,17 @@ public Builder setAutomation(com.google.cloud.deploy.v1.Automation value) { return this; } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAutomation( - com.google.cloud.deploy.v1.Automation.Builder builderForValue) { + public Builder setAutomation(com.google.cloud.deploy.v1.Automation.Builder builderForValue) { if (automationBuilder_ == null) { automation_ = builderForValue.build(); } else { @@ -943,17 +1058,21 @@ public Builder setAutomation( return this; } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAutomation(com.google.cloud.deploy.v1.Automation value) { if (automationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - automation_ != null && - automation_ != com.google.cloud.deploy.v1.Automation.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && automation_ != null + && automation_ != com.google.cloud.deploy.v1.Automation.getDefaultInstance()) { getAutomationBuilder().mergeFrom(value); } else { automation_ = value; @@ -966,11 +1085,15 @@ public Builder mergeAutomation(com.google.cloud.deploy.v1.Automation value) { return this; } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAutomation() { bitField0_ = (bitField0_ & ~0x00000002); @@ -983,11 +1106,15 @@ public Builder clearAutomation() { return this; } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.Automation.Builder getAutomationBuilder() { bitField0_ |= 0x00000002; @@ -995,36 +1122,48 @@ public com.google.cloud.deploy.v1.Automation.Builder getAutomationBuilder() { return getAutomationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() { if (automationBuilder_ != null) { return automationBuilder_.getMessageOrBuilder(); } else { - return automation_ == null ? - com.google.cloud.deploy.v1.Automation.getDefaultInstance() : automation_; + return automation_ == null + ? com.google.cloud.deploy.v1.Automation.getDefaultInstance() + : automation_; } } /** + * + * *
      * Required. The `Automation` to update.
      * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder> + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder> getAutomationFieldBuilder() { if (automationBuilder_ == null) { - automationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Automation, com.google.cloud.deploy.v1.Automation.Builder, com.google.cloud.deploy.v1.AutomationOrBuilder>( - getAutomation(), - getParentForChildren(), - isClean()); + automationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Automation, + com.google.cloud.deploy.v1.Automation.Builder, + com.google.cloud.deploy.v1.AutomationOrBuilder>( + getAutomation(), getParentForChildren(), isClean()); automation_ = null; } return automationBuilder_; @@ -1032,6 +1171,8 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1049,13 +1190,13 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1064,6 +1205,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1081,15 +1224,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1097,6 +1239,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1114,18 +1258,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1143,6 +1291,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1152,6 +1301,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1169,12 +1320,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1182,14 +1335,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, updating a `Automation` that does not exist will
      * result in the creation of a new `Automation`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1197,12 +1353,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, updating a `Automation` that does not exist will
      * result in the creation of a new `Automation`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1214,12 +1373,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, updating a `Automation` that does not exist will
      * result in the creation of a new `Automation`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1229,14 +1391,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1244,12 +1409,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1261,12 +1429,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1275,9 +1446,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1458,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.UpdateAutomationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.UpdateAutomationRequest) private static final com.google.cloud.deploy.v1.UpdateAutomationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.UpdateAutomationRequest(); } @@ -1301,27 +1472,27 @@ public static com.google.cloud.deploy.v1.UpdateAutomationRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAutomationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAutomationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1507,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.UpdateAutomationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequestOrBuilder.java index 8fee0363c5db..be3a35ebc4f8 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateAutomationRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface UpdateAutomationRequestOrBuilder extends +public interface UpdateAutomationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.UpdateAutomationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `Automation` resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateAutomationRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `Automation` resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateAutomationRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `Automation` resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateAutomationRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The `Automation` to update.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the automation field is set. */ boolean hasAutomation(); /** + * + * *
    * Required. The `Automation` to update.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The automation. */ com.google.cloud.deploy.v1.Automation getAutomation(); /** + * + * *
    * Required. The `Automation` to update.
    * 
* - * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.Automation automation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -91,10 +134,13 @@ public interface UpdateAutomationRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -112,29 +158,35 @@ public interface UpdateAutomationRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, updating a `Automation` that does not exist will
    * result in the creation of a new `Automation`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequest.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequest.java index 4c72ca433cf0..3affd5434b52 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `UpdateCustomTargetType`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateCustomTargetTypeRequest} */ -public final class UpdateCustomTargetTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCustomTargetTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) UpdateCustomTargetTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCustomTargetTypeRequest.newBuilder() to construct. private UpdateCustomTargetTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateCustomTargetTypeRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCustomTargetTypeRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `CustomTargetType` resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `CustomTargetType` resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `CustomTargetType` resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CUSTOM_TARGET_TYPE_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.CustomTargetType customTargetType_; /** + * + * *
    * Required. The `CustomTargetType` to update.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customTargetType field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasCustomTargetType() { return customTargetType_ != null; } /** + * + * *
    * Required. The `CustomTargetType` to update.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customTargetType. */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType() { - return customTargetType_ == null ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } /** + * + * *
    * Required. The `CustomTargetType` to update.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeOrBuilder() { - return customTargetType_ == null ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -152,6 +203,7 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeO
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -205,12 +257,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, updating a `CustomTargetType` that does not exist
    * will result in the creation of a new `CustomTargetType`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -221,12 +276,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -235,6 +293,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +305,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -273,23 +331,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (customTargetType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomTargetType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomTargetType()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,29 +353,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.cloud.deploy.v1.UpdateCustomTargetTypeRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest other = (com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) obj; + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest other = + (com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasCustomTargetType() != other.hasCustomTargetType()) return false; if (hasCustomTargetType()) { - if (!getCustomTargetType() - .equals(other.getCustomTargetType())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getCustomTargetType().equals(other.getCustomTargetType())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +394,145 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest 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.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `UpdateCustomTargetType`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateCustomTargetTypeRequest} */ - 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.cloud.deploy.v1.UpdateCustomTargetTypeRequest) com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.class, com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.class, + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; } @java.lang.Override @@ -522,8 +575,11 @@ public com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest buildPartial() { - com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest result = new com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest result = + new com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +587,11 @@ public com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customTargetType_ = customTargetTypeBuilder_ == null - ? customTargetType_ - : customTargetTypeBuilder_.build(); + result.customTargetType_ = + customTargetTypeBuilder_ == null ? customTargetType_ : customTargetTypeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -555,38 +608,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequ 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) { + 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) { + 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.cloud.deploy.v1.UpdateCustomTargetTypeRequest) { - return mergeFrom((com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -594,7 +648,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest other) { - if (other == com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -638,41 +693,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCustomTargetTypeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getCustomTargetTypeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,12 +740,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -696,13 +760,17 @@ public Builder mergeFrom(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -711,17 +779,23 @@ public boolean hasUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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(); } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -730,7 +804,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +821,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -754,10 +831,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -768,6 +845,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -776,13 +855,14 @@ public Builder setUpdateMask(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,6 +875,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -803,7 +885,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -816,6 +899,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -824,7 +909,8 @@ public Builder clearUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -832,6 +918,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -840,17 +928,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `CustomTargetType` resource by the update.
@@ -859,17 +951,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; @@ -877,39 +973,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.deploy.v1.CustomTargetType customTargetType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> customTargetTypeBuilder_; + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + customTargetTypeBuilder_; /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customTargetType field is set. */ public boolean hasCustomTargetType() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customTargetType. */ public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType() { if (customTargetTypeBuilder_ == null) { - return customTargetType_ == null ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } else { return customTargetTypeBuilder_.getMessage(); } } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType value) { if (customTargetTypeBuilder_ == null) { @@ -925,11 +1040,15 @@ public Builder setCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType v return this; } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomTargetType( com.google.cloud.deploy.v1.CustomTargetType.Builder builderForValue) { @@ -943,17 +1062,22 @@ public Builder setCustomTargetType( return this; } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType value) { if (customTargetTypeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - customTargetType_ != null && - customTargetType_ != com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && customTargetType_ != null + && customTargetType_ + != com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance()) { getCustomTargetTypeBuilder().mergeFrom(value); } else { customTargetType_ = value; @@ -966,11 +1090,15 @@ public Builder mergeCustomTargetType(com.google.cloud.deploy.v1.CustomTargetType return this; } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomTargetType() { bitField0_ = (bitField0_ & ~0x00000002); @@ -983,11 +1111,15 @@ public Builder clearCustomTargetType() { return this; } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.CustomTargetType.Builder getCustomTargetTypeBuilder() { bitField0_ |= 0x00000002; @@ -995,36 +1127,48 @@ public com.google.cloud.deploy.v1.CustomTargetType.Builder getCustomTargetTypeBu return getCustomTargetTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeOrBuilder() { if (customTargetTypeBuilder_ != null) { return customTargetTypeBuilder_.getMessageOrBuilder(); } else { - return customTargetType_ == null ? - com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() : customTargetType_; + return customTargetType_ == null + ? com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance() + : customTargetType_; } } /** + * + * *
      * Required. The `CustomTargetType` to update.
      * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder> getCustomTargetTypeFieldBuilder() { if (customTargetTypeBuilder_ == null) { - customTargetTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.CustomTargetType, com.google.cloud.deploy.v1.CustomTargetType.Builder, com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( - getCustomTargetType(), - getParentForChildren(), - isClean()); + customTargetTypeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.CustomTargetType, + com.google.cloud.deploy.v1.CustomTargetType.Builder, + com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>( + getCustomTargetType(), getParentForChildren(), isClean()); customTargetType_ = null; } return customTargetTypeBuilder_; @@ -1032,6 +1176,8 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeO private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1049,13 +1195,13 @@ public com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeO
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1064,6 +1210,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1081,15 +1229,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1097,6 +1244,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1114,18 +1263,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1143,6 +1296,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1152,6 +1306,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1169,12 +1325,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1182,14 +1340,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, updating a `CustomTargetType` that does not exist
      * will result in the creation of a new `CustomTargetType`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1197,12 +1358,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, updating a `CustomTargetType` that does not exist
      * will result in the creation of a new `CustomTargetType`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1214,12 +1378,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, updating a `CustomTargetType` that does not exist
      * will result in the creation of a new `CustomTargetType`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1229,14 +1396,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1244,12 +1414,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1261,12 +1434,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1275,9 +1451,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) private static final com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest(); } @@ -1301,27 +1477,27 @@ public static com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomTargetTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomTargetTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1512,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequestOrBuilder.java index fa3591867c30..0d6d35981702 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateCustomTargetTypeRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface UpdateCustomTargetTypeRequestOrBuilder extends +public interface UpdateCustomTargetTypeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `CustomTargetType` resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateCustomTargetTypeRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `CustomTargetType` resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateCustomTargetTypeRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `CustomTargetType` resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateCustomTargetTypeRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The `CustomTargetType` to update.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customTargetType field is set. */ boolean hasCustomTargetType(); /** + * + * *
    * Required. The `CustomTargetType` to update.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customTargetType. */ com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType(); /** + * + * *
    * Required. The `CustomTargetType` to update.
    * 
* - * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.CustomTargetType custom_target_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder getCustomTargetTypeOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -91,10 +134,13 @@ public interface UpdateCustomTargetTypeRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -112,29 +158,35 @@ public interface UpdateCustomTargetTypeRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, updating a `CustomTargetType` that does not exist
    * will result in the creation of a new `CustomTargetType`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java similarity index 72% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java index 791000d15066..cf6006f20bb7 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `UpdateDeliveryPipeline`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateDeliveryPipelineRequest} */ -public final class UpdateDeliveryPipelineRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDeliveryPipelineRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) UpdateDeliveryPipelineRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDeliveryPipelineRequest.newBuilder() to construct. private UpdateDeliveryPipelineRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateDeliveryPipelineRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDeliveryPipelineRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `DeliveryPipeline` resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `DeliveryPipeline` resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `DeliveryPipeline` resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DELIVERY_PIPELINE_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.DeliveryPipeline deliveryPipeline_; /** + * + * *
    * Required. The `DeliveryPipeline` to update.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deliveryPipeline field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasDeliveryPipeline() { return deliveryPipeline_ != null; } /** + * + * *
    * Required. The `DeliveryPipeline` to update.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deliveryPipeline. */ @java.lang.Override public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline() { - return deliveryPipeline_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } /** + * + * *
    * Required. The `DeliveryPipeline` to update.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineOrBuilder() { - return deliveryPipeline_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -152,6 +203,7 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -205,12 +257,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, updating a `DeliveryPipeline` that does not exist
    * will result in the creation of a new `DeliveryPipeline`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -221,12 +276,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -235,6 +293,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +305,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -273,23 +331,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (deliveryPipeline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDeliveryPipeline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeliveryPipeline()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,29 +353,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.cloud.deploy.v1.UpdateDeliveryPipelineRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest other = (com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) obj; + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest other = + (com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasDeliveryPipeline() != other.hasDeliveryPipeline()) return false; if (hasDeliveryPipeline()) { - if (!getDeliveryPipeline() - .equals(other.getDeliveryPipeline())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getDeliveryPipeline().equals(other.getDeliveryPipeline())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +394,145 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest 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.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `UpdateDeliveryPipeline`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateDeliveryPipelineRequest} */ - 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.cloud.deploy.v1.UpdateDeliveryPipelineRequest) com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.class, com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.class, + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; } @java.lang.Override @@ -522,8 +575,11 @@ public com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest buildPartial() { - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest result = + new com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +587,11 @@ public com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.deliveryPipeline_ = deliveryPipelineBuilder_ == null - ? deliveryPipeline_ - : deliveryPipelineBuilder_.build(); + result.deliveryPipeline_ = + deliveryPipelineBuilder_ == null ? deliveryPipeline_ : deliveryPipelineBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -555,38 +608,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequ 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) { + 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) { + 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.cloud.deploy.v1.UpdateDeliveryPipelineRequest) { - return mergeFrom((com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) other); } else { super.mergeFrom(other); return this; @@ -594,7 +648,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest other) { - if (other == com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -638,41 +693,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDeliveryPipelineFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getDeliveryPipelineFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,12 +740,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -696,13 +760,17 @@ public Builder mergeFrom(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -711,17 +779,23 @@ public boolean hasUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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(); } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -730,7 +804,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +821,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -754,10 +831,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -768,6 +845,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -776,13 +855,14 @@ public Builder setUpdateMask(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,6 +875,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -803,7 +885,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -816,6 +899,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -824,7 +909,8 @@ public Builder clearUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -832,6 +918,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -840,17 +928,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -859,17 +951,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; @@ -877,39 +973,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.deploy.v1.DeliveryPipeline deliveryPipeline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> deliveryPipelineBuilder_; + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + deliveryPipelineBuilder_; /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deliveryPipeline field is set. */ public boolean hasDeliveryPipeline() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deliveryPipeline. */ public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline() { if (deliveryPipelineBuilder_ == null) { - return deliveryPipeline_ == null ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } else { return deliveryPipelineBuilder_.getMessage(); } } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline value) { if (deliveryPipelineBuilder_ == null) { @@ -925,11 +1040,15 @@ public Builder setDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline v return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeliveryPipeline( com.google.cloud.deploy.v1.DeliveryPipeline.Builder builderForValue) { @@ -943,17 +1062,22 @@ public Builder setDeliveryPipeline( return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline value) { if (deliveryPipelineBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - deliveryPipeline_ != null && - deliveryPipeline_ != com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && deliveryPipeline_ != null + && deliveryPipeline_ + != com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()) { getDeliveryPipelineBuilder().mergeFrom(value); } else { deliveryPipeline_ = value; @@ -966,11 +1090,15 @@ public Builder mergeDeliveryPipeline(com.google.cloud.deploy.v1.DeliveryPipeline return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDeliveryPipeline() { bitField0_ = (bitField0_ & ~0x00000002); @@ -983,11 +1111,15 @@ public Builder clearDeliveryPipeline() { return this; } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelineBuilder() { bitField0_ |= 0x00000002; @@ -995,36 +1127,48 @@ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelineBu return getDeliveryPipelineFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineOrBuilder() { if (deliveryPipelineBuilder_ != null) { return deliveryPipelineBuilder_.getMessageOrBuilder(); } else { - return deliveryPipeline_ == null ? - com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() : deliveryPipeline_; + return deliveryPipeline_ == null + ? com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance() + : deliveryPipeline_; } } /** + * + * *
      * Required. The `DeliveryPipeline` to update.
      * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder> getDeliveryPipelineFieldBuilder() { if (deliveryPipelineBuilder_ == null) { - deliveryPipelineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.DeliveryPipeline, com.google.cloud.deploy.v1.DeliveryPipeline.Builder, com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( - getDeliveryPipeline(), - getParentForChildren(), - isClean()); + deliveryPipelineBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.DeliveryPipeline, + com.google.cloud.deploy.v1.DeliveryPipeline.Builder, + com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder>( + getDeliveryPipeline(), getParentForChildren(), isClean()); deliveryPipeline_ = null; } return deliveryPipelineBuilder_; @@ -1032,6 +1176,8 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1049,13 +1195,13 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1064,6 +1210,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1081,15 +1229,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1097,6 +1244,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1114,18 +1263,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1143,6 +1296,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1152,6 +1306,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1169,12 +1325,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1182,14 +1340,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, updating a `DeliveryPipeline` that does not exist
      * will result in the creation of a new `DeliveryPipeline`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1197,12 +1358,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, updating a `DeliveryPipeline` that does not exist
      * will result in the creation of a new `DeliveryPipeline`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1214,12 +1378,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, updating a `DeliveryPipeline` that does not exist
      * will result in the creation of a new `DeliveryPipeline`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1229,14 +1396,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1244,12 +1414,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1261,12 +1434,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1275,9 +1451,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) private static final com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest(); } @@ -1301,27 +1477,27 @@ public static com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDeliveryPipelineRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDeliveryPipelineRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1512,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java index 3601eda81b64..d7d62a53cbb5 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface UpdateDeliveryPipelineRequestOrBuilder extends +public interface UpdateDeliveryPipelineRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `DeliveryPipeline` resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateDeliveryPipelineRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `DeliveryPipeline` resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateDeliveryPipelineRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * `DeliveryPipeline` resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateDeliveryPipelineRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The `DeliveryPipeline` to update.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deliveryPipeline field is set. */ boolean hasDeliveryPipeline(); /** + * + * *
    * Required. The `DeliveryPipeline` to update.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deliveryPipeline. */ com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline(); /** + * + * *
    * Required. The `DeliveryPipeline` to update.
    * 
* - * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -91,10 +134,13 @@ public interface UpdateDeliveryPipelineRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -112,29 +158,35 @@ public interface UpdateDeliveryPipelineRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, updating a `DeliveryPipeline` that does not exist
    * will result in the creation of a new `DeliveryPipeline`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java similarity index 75% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java index 5a1b9407430e..ebeba5b38562 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * The request object for `UpdateTarget`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateTargetRequest} */ -public final class UpdateTargetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTargetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.UpdateTargetRequest) UpdateTargetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTargetRequest.newBuilder() to construct. private UpdateTargetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateTargetRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTargetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateTargetRequest.class, com.google.cloud.deploy.v1.UpdateTargetRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateTargetRequest.class, + com.google.cloud.deploy.v1.UpdateTargetRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Target resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Target resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Target resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int TARGET_FIELD_NUMBER = 2; private com.google.cloud.deploy.v1.Target target_; /** + * + * *
    * Required. The `Target` to update.
    * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the target field is set. */ @java.lang.Override @@ -108,11 +142,15 @@ public boolean hasTarget() { return target_ != null; } /** + * + * *
    * Required. The `Target` to update.
    * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The target. */ @java.lang.Override @@ -120,11 +158,14 @@ public com.google.cloud.deploy.v1.Target getTarget() { return target_ == null ? com.google.cloud.deploy.v1.Target.getDefaultInstance() : target_; } /** + * + * *
    * Required. The `Target` to update.
    * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { @@ -132,9 +173,12 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -152,6 +196,7 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +205,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -185,16 +231,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -205,12 +250,15 @@ public java.lang.String getRequestId() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, updating a `Target` that does not exist will
    * result in the creation of a new `Target`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -221,12 +269,15 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -235,6 +286,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +298,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -273,23 +324,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (target_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTarget()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,29 +346,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.cloud.deploy.v1.UpdateTargetRequest)) { return super.equals(obj); } - com.google.cloud.deploy.v1.UpdateTargetRequest other = (com.google.cloud.deploy.v1.UpdateTargetRequest) obj; + com.google.cloud.deploy.v1.UpdateTargetRequest other = + (com.google.cloud.deploy.v1.UpdateTargetRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget() - .equals(other.getTarget())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getTarget().equals(other.getTarget())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +387,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.UpdateTargetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.UpdateTargetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.UpdateTargetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.UpdateTargetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request object for `UpdateTarget`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.UpdateTargetRequest} */ - 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.cloud.deploy.v1.UpdateTargetRequest) com.google.cloud.deploy.v1.UpdateTargetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.UpdateTargetRequest.class, com.google.cloud.deploy.v1.UpdateTargetRequest.Builder.class); + com.google.cloud.deploy.v1.UpdateTargetRequest.class, + com.google.cloud.deploy.v1.UpdateTargetRequest.Builder.class); } // Construct using com.google.cloud.deploy.v1.UpdateTargetRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; } @java.lang.Override @@ -522,8 +567,11 @@ public com.google.cloud.deploy.v1.UpdateTargetRequest build() { @java.lang.Override public com.google.cloud.deploy.v1.UpdateTargetRequest buildPartial() { - com.google.cloud.deploy.v1.UpdateTargetRequest result = new com.google.cloud.deploy.v1.UpdateTargetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.UpdateTargetRequest result = + new com.google.cloud.deploy.v1.UpdateTargetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +579,10 @@ public com.google.cloud.deploy.v1.UpdateTargetRequest buildPartial() { private void buildPartial0(com.google.cloud.deploy.v1.UpdateTargetRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.target_ = targetBuilder_ == null - ? target_ - : targetBuilder_.build(); + result.target_ = targetBuilder_ == null ? target_ : targetBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -555,38 +599,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.UpdateTargetRequest result 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) { + 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) { + 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.cloud.deploy.v1.UpdateTargetRequest) { - return mergeFrom((com.google.cloud.deploy.v1.UpdateTargetRequest)other); + return mergeFrom((com.google.cloud.deploy.v1.UpdateTargetRequest) other); } else { super.mergeFrom(other); return this; @@ -638,41 +683,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getTargetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getTargetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,12 +729,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -696,13 +749,17 @@ public Builder mergeFrom(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -711,17 +768,23 @@ public boolean hasUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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(); } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -730,7 +793,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +810,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -754,10 +820,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -768,6 +834,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -776,13 +844,14 @@ public Builder setUpdateMask(
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,6 +864,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -803,7 +874,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -816,6 +888,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -824,7 +898,8 @@ public Builder clearUpdateMask() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -832,6 +907,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -840,17 +917,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; } } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -859,17 +940,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user doesn't provide a mask then all fields are overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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_; @@ -877,24 +962,35 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.deploy.v1.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> targetBuilder_; + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> + targetBuilder_; /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the target field is set. */ public boolean hasTarget() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The target. */ public com.google.cloud.deploy.v1.Target getTarget() { @@ -905,11 +1001,14 @@ public com.google.cloud.deploy.v1.Target getTarget() { } } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTarget(com.google.cloud.deploy.v1.Target value) { if (targetBuilder_ == null) { @@ -925,14 +1024,16 @@ public Builder setTarget(com.google.cloud.deploy.v1.Target value) { return this; } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTarget( - com.google.cloud.deploy.v1.Target.Builder builderForValue) { + public Builder setTarget(com.google.cloud.deploy.v1.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); } else { @@ -943,17 +1044,20 @@ public Builder setTarget( return this; } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTarget(com.google.cloud.deploy.v1.Target value) { if (targetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - target_ != null && - target_ != com.google.cloud.deploy.v1.Target.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && target_ != null + && target_ != com.google.cloud.deploy.v1.Target.getDefaultInstance()) { getTargetBuilder().mergeFrom(value); } else { target_ = value; @@ -966,11 +1070,14 @@ public Builder mergeTarget(com.google.cloud.deploy.v1.Target value) { return this; } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTarget() { bitField0_ = (bitField0_ & ~0x00000002); @@ -983,11 +1090,14 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.Target.Builder getTargetBuilder() { bitField0_ |= 0x00000002; @@ -995,36 +1105,44 @@ public com.google.cloud.deploy.v1.Target.Builder getTargetBuilder() { return getTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null ? - com.google.cloud.deploy.v1.Target.getDefaultInstance() : target_; + return target_ == null ? com.google.cloud.deploy.v1.Target.getDefaultInstance() : target_; } } /** + * + * *
      * Required. The `Target` to update.
      * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder> + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.deploy.v1.Target, com.google.cloud.deploy.v1.Target.Builder, com.google.cloud.deploy.v1.TargetOrBuilder>( - getTarget(), - getParentForChildren(), - isClean()); + targetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.deploy.v1.Target, + com.google.cloud.deploy.v1.Target.Builder, + com.google.cloud.deploy.v1.TargetOrBuilder>( + getTarget(), getParentForChildren(), isClean()); target_ = null; } return targetBuilder_; @@ -1032,6 +1150,8 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1049,13 +1169,13 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1064,6 +1184,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1081,15 +1203,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1097,6 +1218,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1114,18 +1237,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1143,6 +1270,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1152,6 +1280,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server knows to ignore the
@@ -1169,12 +1299,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1182,14 +1314,17 @@ public Builder setRequestIdBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, updating a `Target` that does not exist will
      * result in the creation of a new `Target`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1197,12 +1332,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, updating a `Target` that does not exist will
      * result in the creation of a new `Target`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1214,12 +1352,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, updating a `Target` that does not exist will
      * result in the creation of a new `Target`.
      * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1229,14 +1370,17 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1244,12 +1388,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1261,12 +1408,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the request is validated and the user is provided
      * with an expected result, but no actual change is made.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1275,9 +1425,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1437,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.UpdateTargetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.UpdateTargetRequest) private static final com.google.cloud.deploy.v1.UpdateTargetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.UpdateTargetRequest(); } @@ -1301,27 +1451,27 @@ public static com.google.cloud.deploy.v1.UpdateTargetRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTargetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTargetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1486,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.UpdateTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java index 86c5df708748..bc7b5b2e2f3b 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface UpdateTargetRequestOrBuilder extends +public interface UpdateTargetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.UpdateTargetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Target resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateTargetRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Target resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateTargetRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Target resource by the update.
@@ -42,38 +68,52 @@ public interface UpdateTargetRequestOrBuilder extends
    * user doesn't provide a mask then all fields are overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The `Target` to update.
    * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the target field is set. */ boolean hasTarget(); /** + * + * *
    * Required. The `Target` to update.
    * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The target. */ com.google.cloud.deploy.v1.Target getTarget(); /** + * + * *
    * Required. The `Target` to update.
    * 
* - * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -91,10 +131,13 @@ public interface UpdateTargetRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server knows to ignore the
@@ -112,29 +155,35 @@ public interface UpdateTargetRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, updating a `Target` that does not exist will
    * result in the creation of a new `Target`.
    * 
* * bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set to true, the request is validated and the user is provided
    * with an expected result, but no actual change is made.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJob.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJob.java similarity index 61% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJob.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJob.java index 662f7ac84692..9d3db3f333df 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJob.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJob.java @@ -1,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * A verify Job.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.VerifyJob} */ -public final class VerifyJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VerifyJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.VerifyJob) VerifyJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VerifyJob.newBuilder() to construct. private VerifyJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VerifyJob() { - } + + private VerifyJob() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VerifyJob(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.VerifyJob.class, com.google.cloud.deploy.v1.VerifyJob.Builder.class); + com.google.cloud.deploy.v1.VerifyJob.class, + com.google.cloud.deploy.v1.VerifyJob.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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 { getUnknownFields().writeTo(output); } @@ -73,7 +91,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.deploy.v1.VerifyJob)) { return super.equals(obj); @@ -96,132 +114,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.VerifyJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.VerifyJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.deploy.v1.VerifyJob parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.deploy.v1.VerifyJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.deploy.v1.VerifyJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.VerifyJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.VerifyJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.VerifyJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A verify Job.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.VerifyJob} */ - 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.cloud.deploy.v1.VerifyJob) com.google.cloud.deploy.v1.VerifyJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.VerifyJob.class, com.google.cloud.deploy.v1.VerifyJob.Builder.class); + com.google.cloud.deploy.v1.VerifyJob.class, + com.google.cloud.deploy.v1.VerifyJob.Builder.class); } // Construct using com.google.cloud.deploy.v1.VerifyJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -229,9 +250,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; } @java.lang.Override @@ -259,38 +280,39 @@ public com.google.cloud.deploy.v1.VerifyJob 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) { + 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) { + 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.cloud.deploy.v1.VerifyJob) { - return mergeFrom((com.google.cloud.deploy.v1.VerifyJob)other); + return mergeFrom((com.google.cloud.deploy.v1.VerifyJob) other); } else { super.mergeFrom(other); return this; @@ -325,12 +347,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -340,9 +363,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -352,12 +375,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.VerifyJob) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.VerifyJob) private static final com.google.cloud.deploy.v1.VerifyJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.VerifyJob(); } @@ -366,27 +389,27 @@ public static com.google.cloud.deploy.v1.VerifyJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerifyJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerifyJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -401,6 +424,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.VerifyJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobOrBuilder.java new file mode 100644 index 000000000000..290d3f9841d7 --- /dev/null +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/deploy/v1/cloud_deploy.proto + +package com.google.cloud.deploy.v1; + +public interface VerifyJobOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.VerifyJob) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRun.java similarity index 69% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRun.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRun.java index f86cb2154b7b..fb8e22101a80 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRun.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** + * + * *
  * VerifyJobRun contains information specific to a verify `JobRun`.
  * 
* * Protobuf type {@code google.cloud.deploy.v1.VerifyJobRun} */ -public final class VerifyJobRun extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VerifyJobRun extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.deploy.v1.VerifyJobRun) VerifyJobRunOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VerifyJobRun.newBuilder() to construct. private VerifyJobRun(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VerifyJobRun() { build_ = ""; artifactUri_ = ""; @@ -29,34 +47,38 @@ private VerifyJobRun() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VerifyJobRun(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.VerifyJobRun.class, com.google.cloud.deploy.v1.VerifyJobRun.Builder.class); + com.google.cloud.deploy.v1.VerifyJobRun.class, + com.google.cloud.deploy.v1.VerifyJobRun.Builder.class); } /** + * + * *
    * Well-known verify failures.
    * 
* * Protobuf enum {@code google.cloud.deploy.v1.VerifyJobRun.FailureCause} */ - public enum FailureCause - implements com.google.protobuf.ProtocolMessageEnum { + public enum FailureCause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No reason for failure is specified.
      * 
@@ -65,6 +87,8 @@ public enum FailureCause */ FAILURE_CAUSE_UNSPECIFIED(0), /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -75,6 +99,8 @@ public enum FailureCause
      */
     CLOUD_BUILD_UNAVAILABLE(1),
     /**
+     *
+     *
      * 
      * The verify operation did not complete successfully; check Cloud Build
      * logs.
@@ -84,6 +110,8 @@ public enum FailureCause
      */
     EXECUTION_FAILED(2),
     /**
+     *
+     *
      * 
      * The verify job run did not complete within the alloted time.
      * 
@@ -92,6 +120,8 @@ public enum FailureCause */ DEADLINE_EXCEEDED(3), /** + * + * *
      * No Skaffold verify configuration was found.
      * 
@@ -100,6 +130,8 @@ public enum FailureCause */ VERIFICATION_CONFIG_NOT_FOUND(4), /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -112,6 +144,8 @@ public enum FailureCause
     ;
 
     /**
+     *
+     *
      * 
      * No reason for failure is specified.
      * 
@@ -120,6 +154,8 @@ public enum FailureCause */ public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Build is not available, either because it is not enabled or because
      * Cloud Deploy has insufficient permissions. See [required
@@ -130,6 +166,8 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_UNAVAILABLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The verify operation did not complete successfully; check Cloud Build
      * logs.
@@ -139,6 +177,8 @@ public enum FailureCause
      */
     public static final int EXECUTION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The verify job run did not complete within the alloted time.
      * 
@@ -147,6 +187,8 @@ public enum FailureCause */ public static final int DEADLINE_EXCEEDED_VALUE = 3; /** + * + * *
      * No Skaffold verify configuration was found.
      * 
@@ -155,6 +197,8 @@ public enum FailureCause */ public static final int VERIFICATION_CONFIG_NOT_FOUND_VALUE = 4; /** + * + * *
      * Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
      * for additional details.
@@ -164,7 +208,6 @@ public enum FailureCause
      */
     public static final int CLOUD_BUILD_REQUEST_FAILED_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -189,52 +232,55 @@ public static FailureCause valueOf(int value) {
      */
     public static FailureCause forNumber(int value) {
       switch (value) {
-        case 0: return FAILURE_CAUSE_UNSPECIFIED;
-        case 1: return CLOUD_BUILD_UNAVAILABLE;
-        case 2: return EXECUTION_FAILED;
-        case 3: return DEADLINE_EXCEEDED;
-        case 4: return VERIFICATION_CONFIG_NOT_FOUND;
-        case 5: return CLOUD_BUILD_REQUEST_FAILED;
-        default: return null;
+        case 0:
+          return FAILURE_CAUSE_UNSPECIFIED;
+        case 1:
+          return CLOUD_BUILD_UNAVAILABLE;
+        case 2:
+          return EXECUTION_FAILED;
+        case 3:
+          return DEADLINE_EXCEEDED;
+        case 4:
+          return VERIFICATION_CONFIG_NOT_FOUND;
+        case 5:
+          return CLOUD_BUILD_REQUEST_FAILED;
+        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<
-        FailureCause> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FailureCause findValueByNumber(int number) {
-              return FailureCause.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 FailureCause findValueByNumber(int number) {
+            return FailureCause.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.deploy.v1.VerifyJobRun.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FailureCause[] VALUES = values();
 
-    public static FailureCause valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FailureCause 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;
@@ -252,16 +298,22 @@ private FailureCause(int value) {
   }
 
   public static final int BUILD_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object build_ = "";
   /**
+   *
+   *
    * 
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to verify. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ @java.lang.Override @@ -270,31 +322,33 @@ public java.lang.String getBuild() { 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(); build_ = s; return s; } } /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to verify. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -303,15 +357,19 @@ public java.lang.String getBuild() { } public static final int ARTIFACT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object artifactUri_ = ""; /** + * + * *
    * Output only. URI of a directory containing the verify artifacts. This
    * contains the Skaffold event log.
    * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ @java.lang.Override @@ -320,30 +378,30 @@ public java.lang.String getArtifactUri() { 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(); artifactUri_ = s; return s; } } /** + * + * *
    * Output only. URI of a directory containing the verify artifacts. This
    * contains the Skaffold event log.
    * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactUriBytes() { + public com.google.protobuf.ByteString getArtifactUriBytes() { java.lang.Object ref = artifactUri_; 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); artifactUri_ = b; return b; } else { @@ -352,15 +410,19 @@ public java.lang.String getArtifactUri() { } public static final int EVENT_LOG_PATH_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object eventLogPath_ = ""; /** + * + * *
    * Output only. File path of the Skaffold event log relative to the artifact
    * URI.
    * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The eventLogPath. */ @java.lang.Override @@ -369,30 +431,30 @@ public java.lang.String getEventLogPath() { 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(); eventLogPath_ = s; return s; } } /** + * + * *
    * Output only. File path of the Skaffold event log relative to the artifact
    * URI.
    * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for eventLogPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventLogPathBytes() { + public com.google.protobuf.ByteString getEventLogPathBytes() { java.lang.Object ref = eventLogPath_; 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); eventLogPath_ = b; return b; } else { @@ -403,40 +465,59 @@ public java.lang.String getEventLogPath() { public static final int FAILURE_CAUSE_FIELD_NUMBER = 4; private int failureCause_ = 0; /** + * + * *
    * Output only. The reason the verify failed. This will always be unspecified
    * while the verify is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
    * Output only. The reason the verify failed. This will always be unspecified
    * while the verify is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ - @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.VerifyJobRun.FailureCause result = com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.deploy.v1.VerifyJobRun.FailureCause getFailureCause() { + com.google.cloud.deploy.v1.VerifyJobRun.FailureCause result = + com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.UNRECOGNIZED + : result; } public static final int FAILURE_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object failureMessage_ = ""; /** + * + * *
    * Output only. Additional information about the verify failure, if available.
    * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ @java.lang.Override @@ -445,29 +526,29 @@ public java.lang.String getFailureMessage() { 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(); failureMessage_ = s; return s; } } /** + * + * *
    * Output only. Additional information about the verify failure, if available.
    * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -476,6 +557,7 @@ public java.lang.String getFailureMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,8 +569,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(build_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, build_); } @@ -498,7 +579,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventLogPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, eventLogPath_); } - if (failureCause_ != com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { + if (failureCause_ + != com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { @@ -522,9 +605,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventLogPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventLogPath_); } - if (failureCause_ != com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, failureCause_); + if (failureCause_ + != com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.FAILURE_CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, failureCause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, failureMessage_); @@ -537,22 +621,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.cloud.deploy.v1.VerifyJobRun)) { return super.equals(obj); } com.google.cloud.deploy.v1.VerifyJobRun other = (com.google.cloud.deploy.v1.VerifyJobRun) obj; - if (!getBuild() - .equals(other.getBuild())) return false; - if (!getArtifactUri() - .equals(other.getArtifactUri())) return false; - if (!getEventLogPath() - .equals(other.getEventLogPath())) return false; + if (!getBuild().equals(other.getBuild())) return false; + if (!getArtifactUri().equals(other.getArtifactUri())) return false; + if (!getEventLogPath().equals(other.getEventLogPath())) return false; if (failureCause_ != other.failureCause_) return false; - if (!getFailureMessage() - .equals(other.getFailureMessage())) return false; + if (!getFailureMessage().equals(other.getFailureMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -579,132 +659,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.deploy.v1.VerifyJobRun parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.deploy.v1.VerifyJobRun parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.deploy.v1.VerifyJobRun parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.deploy.v1.VerifyJobRun parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.deploy.v1.VerifyJobRun prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * VerifyJobRun contains information specific to a verify `JobRun`.
    * 
* * Protobuf type {@code google.cloud.deploy.v1.VerifyJobRun} */ - 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.cloud.deploy.v1.VerifyJobRun) com.google.cloud.deploy.v1.VerifyJobRunOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.deploy.v1.VerifyJobRun.class, com.google.cloud.deploy.v1.VerifyJobRun.Builder.class); + com.google.cloud.deploy.v1.VerifyJobRun.class, + com.google.cloud.deploy.v1.VerifyJobRun.Builder.class); } // Construct using com.google.cloud.deploy.v1.VerifyJobRun.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -718,9 +802,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.deploy.v1.CloudDeployProto.internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.deploy.v1.CloudDeployProto + .internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; } @java.lang.Override @@ -739,8 +823,11 @@ public com.google.cloud.deploy.v1.VerifyJobRun build() { @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobRun buildPartial() { - com.google.cloud.deploy.v1.VerifyJobRun result = new com.google.cloud.deploy.v1.VerifyJobRun(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.deploy.v1.VerifyJobRun result = + new com.google.cloud.deploy.v1.VerifyJobRun(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -768,38 +855,39 @@ private void buildPartial0(com.google.cloud.deploy.v1.VerifyJobRun result) { 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) { + 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) { + 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.cloud.deploy.v1.VerifyJobRun) { - return mergeFrom((com.google.cloud.deploy.v1.VerifyJobRun)other); + return mergeFrom((com.google.cloud.deploy.v1.VerifyJobRun) other); } else { super.mergeFrom(other); return this; @@ -857,37 +945,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - build_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - artifactUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - eventLogPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - failureCause_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - failureMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + build_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + artifactUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + eventLogPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + failureCause_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + failureMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -897,24 +991,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object build_ = ""; /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to verify. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; 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(); build_ = s; return s; @@ -923,22 +1022,25 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to verify. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; 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); build_ = b; return b; } else { @@ -946,32 +1048,43 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to verify. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to verify. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -981,19 +1094,25 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. The resource name of the Cloud Build `Build` object that is
      * used to verify. Format is
      * `projects/{project}/locations/{location}/builds/{build}`.
      * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000001; @@ -1003,19 +1122,21 @@ public Builder setBuildBytes( private java.lang.Object artifactUri_ = ""; /** + * + * *
      * Output only. URI of a directory containing the verify artifacts. This
      * contains the Skaffold event log.
      * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ public java.lang.String getArtifactUri() { java.lang.Object ref = artifactUri_; 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(); artifactUri_ = s; return s; @@ -1024,21 +1145,22 @@ public java.lang.String getArtifactUri() { } } /** + * + * *
      * Output only. URI of a directory containing the verify artifacts. This
      * contains the Skaffold event log.
      * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ - public com.google.protobuf.ByteString - getArtifactUriBytes() { + public com.google.protobuf.ByteString getArtifactUriBytes() { java.lang.Object ref = artifactUri_; 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); artifactUri_ = b; return b; } else { @@ -1046,30 +1168,37 @@ public java.lang.String getArtifactUri() { } } /** + * + * *
      * Output only. URI of a directory containing the verify artifacts. This
      * contains the Skaffold event log.
      * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The artifactUri to set. * @return This builder for chaining. */ - public Builder setArtifactUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifactUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. URI of a directory containing the verify artifacts. This
      * contains the Skaffold event log.
      * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArtifactUri() { @@ -1079,18 +1208,22 @@ public Builder clearArtifactUri() { return this; } /** + * + * *
      * Output only. URI of a directory containing the verify artifacts. This
      * contains the Skaffold event log.
      * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for artifactUri to set. * @return This builder for chaining. */ - public Builder setArtifactUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifactUri_ = value; bitField0_ |= 0x00000002; @@ -1100,19 +1233,21 @@ public Builder setArtifactUriBytes( private java.lang.Object eventLogPath_ = ""; /** + * + * *
      * Output only. File path of the Skaffold event log relative to the artifact
      * URI.
      * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The eventLogPath. */ public java.lang.String getEventLogPath() { java.lang.Object ref = eventLogPath_; 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(); eventLogPath_ = s; return s; @@ -1121,21 +1256,22 @@ public java.lang.String getEventLogPath() { } } /** + * + * *
      * Output only. File path of the Skaffold event log relative to the artifact
      * URI.
      * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for eventLogPath. */ - public com.google.protobuf.ByteString - getEventLogPathBytes() { + public com.google.protobuf.ByteString getEventLogPathBytes() { java.lang.Object ref = eventLogPath_; 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); eventLogPath_ = b; return b; } else { @@ -1143,30 +1279,37 @@ public java.lang.String getEventLogPath() { } } /** + * + * *
      * Output only. File path of the Skaffold event log relative to the artifact
      * URI.
      * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The eventLogPath to set. * @return This builder for chaining. */ - public Builder setEventLogPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventLogPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } eventLogPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. File path of the Skaffold event log relative to the artifact
      * URI.
      * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearEventLogPath() { @@ -1176,18 +1319,22 @@ public Builder clearEventLogPath() { return this; } /** + * + * *
      * Output only. File path of the Skaffold event log relative to the artifact
      * URI.
      * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for eventLogPath to set. * @return This builder for chaining. */ - public Builder setEventLogPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventLogPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); eventLogPath_ = value; bitField0_ |= 0x00000004; @@ -1197,24 +1344,35 @@ public Builder setEventLogPathBytes( private int failureCause_ = 0; /** + * + * *
      * Output only. The reason the verify failed. This will always be unspecified
      * while the verify is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ - @java.lang.Override public int getFailureCauseValue() { + @java.lang.Override + public int getFailureCauseValue() { return failureCause_; } /** + * + * *
      * Output only. The reason the verify failed. This will always be unspecified
      * while the verify is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for failureCause to set. * @return This builder for chaining. */ @@ -1225,26 +1383,39 @@ public Builder setFailureCauseValue(int value) { return this; } /** + * + * *
      * Output only. The reason the verify failed. This will always be unspecified
      * while the verify is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ @java.lang.Override public com.google.cloud.deploy.v1.VerifyJobRun.FailureCause getFailureCause() { - com.google.cloud.deploy.v1.VerifyJobRun.FailureCause result = com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.forNumber(failureCause_); - return result == null ? com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.UNRECOGNIZED : result; + com.google.cloud.deploy.v1.VerifyJobRun.FailureCause result = + com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.forNumber(failureCause_); + return result == null + ? com.google.cloud.deploy.v1.VerifyJobRun.FailureCause.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The reason the verify failed. This will always be unspecified
      * while the verify is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The failureCause to set. * @return This builder for chaining. */ @@ -1258,12 +1429,17 @@ public Builder setFailureCause(com.google.cloud.deploy.v1.VerifyJobRun.FailureCa return this; } /** + * + * *
      * Output only. The reason the verify failed. This will always be unspecified
      * while the verify is in progress or if it succeeded.
      * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearFailureCause() { @@ -1275,18 +1451,20 @@ public Builder clearFailureCause() { private java.lang.Object failureMessage_ = ""; /** + * + * *
      * Output only. Additional information about the verify failure, if available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ public java.lang.String getFailureMessage() { java.lang.Object ref = failureMessage_; 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(); failureMessage_ = s; return s; @@ -1295,20 +1473,21 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the verify failure, if available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - public com.google.protobuf.ByteString - getFailureMessageBytes() { + public com.google.protobuf.ByteString getFailureMessageBytes() { java.lang.Object ref = failureMessage_; 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); failureMessage_ = b; return b; } else { @@ -1316,28 +1495,35 @@ public java.lang.String getFailureMessage() { } } /** + * + * *
      * Output only. Additional information about the verify failure, if available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } failureMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Additional information about the verify failure, if available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureMessage() { @@ -1347,26 +1533,30 @@ public Builder clearFailureMessage() { return this; } /** + * + * *
      * Output only. Additional information about the verify failure, if available.
      * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureMessage to set. * @return This builder for chaining. */ - public Builder setFailureMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailureMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); failureMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1376,12 +1566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.deploy.v1.VerifyJobRun) } // @@protoc_insertion_point(class_scope:google.cloud.deploy.v1.VerifyJobRun) private static final com.google.cloud.deploy.v1.VerifyJobRun DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.deploy.v1.VerifyJobRun(); } @@ -1390,27 +1580,27 @@ public static com.google.cloud.deploy.v1.VerifyJobRun getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerifyJobRun parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerifyJobRun parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1425,6 +1615,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.VerifyJobRun getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRunOrBuilder.java similarity index 65% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRunOrBuilder.java rename to java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRunOrBuilder.java index 20681e601ba0..84d3101b42b8 100644 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobRunOrBuilder.java @@ -1,118 +1,168 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; -public interface VerifyJobRunOrBuilder extends +public interface VerifyJobRunOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.VerifyJobRun) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to verify. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. The resource name of the Cloud Build `Build` object that is
    * used to verify. Format is
    * `projects/{project}/locations/{location}/builds/{build}`.
    * 
* - * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); /** + * + * *
    * Output only. URI of a directory containing the verify artifacts. This
    * contains the Skaffold event log.
    * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifactUri. */ java.lang.String getArtifactUri(); /** + * + * *
    * Output only. URI of a directory containing the verify artifacts. This
    * contains the Skaffold event log.
    * 
* * string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifactUri. */ - com.google.protobuf.ByteString - getArtifactUriBytes(); + com.google.protobuf.ByteString getArtifactUriBytes(); /** + * + * *
    * Output only. File path of the Skaffold event log relative to the artifact
    * URI.
    * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The eventLogPath. */ java.lang.String getEventLogPath(); /** + * + * *
    * Output only. File path of the Skaffold event log relative to the artifact
    * URI.
    * 
* * string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for eventLogPath. */ - com.google.protobuf.ByteString - getEventLogPathBytes(); + com.google.protobuf.ByteString getEventLogPathBytes(); /** + * + * *
    * Output only. The reason the verify failed. This will always be unspecified
    * while the verify is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureCause. */ int getFailureCauseValue(); /** + * + * *
    * Output only. The reason the verify failed. This will always be unspecified
    * while the verify is in progress or if it succeeded.
    * 
* - * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureCause. */ com.google.cloud.deploy.v1.VerifyJobRun.FailureCause getFailureCause(); /** + * + * *
    * Output only. Additional information about the verify failure, if available.
    * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureMessage. */ java.lang.String getFailureMessage(); /** + * + * *
    * Output only. Additional information about the verify failure, if available.
    * 
* * string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureMessage. */ - com.google.protobuf.ByteString - getFailureMessageBytes(); + com.google.protobuf.ByteString getFailureMessageBytes(); } diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automation_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automation_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automation_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automation_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automationrun_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automationrun_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automationrun_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/automationrun_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/jobrun_notification_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/jobrun_notification_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/jobrun_notification_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/jobrun_notification_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/log_enums.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/log_enums.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/log_enums.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/log_enums.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_notification_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_notification_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_notification_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_notification_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_render_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_render_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_render_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/release_render_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_notification_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_notification_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_notification_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_notification_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_update_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_update_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_update_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/rollout_update_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/target_notification_payload.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/target_notification_payload.proto similarity index 100% rename from owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/target_notification_payload.proto rename to java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/target_notification_payload.proto diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/AsyncAbandonRelease.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/AsyncAbandonRelease.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/AsyncAbandonRelease.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/AsyncAbandonRelease.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonRelease.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonRelease.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonRelease.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonRelease.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseReleasename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseReleasename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseReleasename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseReleasename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/abandonrelease/SyncAbandonReleaseString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/AsyncAdvanceRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/AsyncAdvanceRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/AsyncAdvanceRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/AsyncAdvanceRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutRolloutnameString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutRolloutnameString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutRolloutnameString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutRolloutnameString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutStringString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutStringString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutStringString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/advancerollout/SyncAdvanceRolloutStringString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/AsyncApproveRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/AsyncApproveRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/AsyncApproveRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/AsyncApproveRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutRolloutname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutRolloutname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutRolloutname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutRolloutname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/approverollout/SyncApproveRolloutString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/AsyncCancelAutomationRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/AsyncCancelAutomationRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/AsyncCancelAutomationRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/AsyncCancelAutomationRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunAutomationrunname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunAutomationrunname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunAutomationrunname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunAutomationrunname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelautomationrun/SyncCancelAutomationRunString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/AsyncCancelRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/AsyncCancelRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/AsyncCancelRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/AsyncCancelRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutRolloutname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutRolloutname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutRolloutname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutRolloutname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/cancelrollout/SyncCancelRolloutString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider1.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider1.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetEndpoint.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetEndpoint.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomationLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomationLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomationLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/AsyncCreateAutomationLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationDeliverypipelinenameAutomationString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationDeliverypipelinenameAutomationString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationDeliverypipelinenameAutomationString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationDeliverypipelinenameAutomationString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationStringAutomationString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationStringAutomationString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationStringAutomationString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createautomation/SyncCreateAutomationStringAutomationString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetTypeLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetTypeLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetTypeLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/AsyncCreateCustomTargetTypeLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeLocationnameCustomtargettypeString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeLocationnameCustomtargettypeString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeLocationnameCustomtargettypeString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeLocationnameCustomtargettypeString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeStringCustomtargettypeString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeStringCustomtargettypeString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeStringCustomtargettypeString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createcustomtargettype/SyncCreateCustomTargetTypeStringCustomtargettypeString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/AsyncCreateDeliveryPipelineLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineLocationnameDeliverypipelineString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createdeliverypipeline/SyncCreateDeliveryPipelineStringDeliverypipelineString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateRelease.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateRelease.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateRelease.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateRelease.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateReleaseLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateReleaseLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateReleaseLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/AsyncCreateReleaseLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateRelease.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateRelease.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateRelease.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateRelease.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseDeliverypipelinenameReleaseString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseStringReleaseString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseStringReleaseString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseStringReleaseString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrelease/SyncCreateReleaseStringReleaseString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRolloutLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRolloutLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRolloutLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/AsyncCreateRolloutLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutReleasenameRolloutString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutReleasenameRolloutString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutReleasenameRolloutString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutReleasenameRolloutString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutStringRolloutString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutStringRolloutString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutStringRolloutString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createrollout/SyncCreateRolloutStringRolloutString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTargetLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTargetLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTargetLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/AsyncCreateTargetLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetLocationnameTargetString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetLocationnameTargetString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetLocationnameTargetString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetLocationnameTargetString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetStringTargetString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetStringTargetString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetStringTargetString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/createtarget/SyncCreateTargetStringTargetString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomationLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomationLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomationLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/AsyncDeleteAutomationLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationAutomationname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationAutomationname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationAutomationname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationAutomationname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deleteautomation/SyncDeleteAutomationString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetTypeLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetTypeLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetTypeLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/AsyncDeleteCustomTargetTypeLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeCustomtargettypename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeCustomtargettypename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeCustomtargettypename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeCustomtargettypename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletecustomtargettype/SyncDeleteCustomTargetTypeString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/AsyncDeleteDeliveryPipelineLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineDeliverypipelinename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletedeliverypipeline/SyncDeleteDeliveryPipelineString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTargetLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTargetLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTargetLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/AsyncDeleteTargetLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetTargetname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetTargetname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetTargetname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/deletetarget/SyncDeleteTargetTargetname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/AsyncGetAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/AsyncGetAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/AsyncGetAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/AsyncGetAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationAutomationname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationAutomationname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationAutomationname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationAutomationname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomation/SyncGetAutomationString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/AsyncGetAutomationRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/AsyncGetAutomationRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/AsyncGetAutomationRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/AsyncGetAutomationRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunAutomationrunname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunAutomationrunname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunAutomationrunname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunAutomationrunname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getautomationrun/SyncGetAutomationRunString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/AsyncGetConfig.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/AsyncGetConfig.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/AsyncGetConfig.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/AsyncGetConfig.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfig.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfig.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfig.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfig.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigConfigname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigConfigname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigConfigname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigConfigname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getconfig/SyncGetConfigString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/AsyncGetCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/AsyncGetCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/AsyncGetCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/AsyncGetCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeCustomtargettypename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeCustomtargettypename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeCustomtargettypename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeCustomtargettypename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getcustomtargettype/SyncGetCustomTargetTypeString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/AsyncGetDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/AsyncGetDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/AsyncGetDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/AsyncGetDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineDeliverypipelinename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getdeliverypipeline/SyncGetDeliveryPipelineString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/AsyncGetIamPolicy.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/AsyncGetIamPolicy.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/SyncGetIamPolicy.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/SyncGetIamPolicy.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/AsyncGetJobRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/AsyncGetJobRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/AsyncGetJobRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/AsyncGetJobRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunJobrunname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunJobrunname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunJobrunname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunJobrunname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getjobrun/SyncGetJobRunString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/AsyncGetLocation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/AsyncGetLocation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/SyncGetLocation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/SyncGetLocation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/AsyncGetRelease.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/AsyncGetRelease.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/AsyncGetRelease.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/AsyncGetRelease.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetRelease.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetRelease.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetRelease.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetRelease.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseReleasename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseReleasename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseReleasename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseReleasename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrelease/SyncGetReleaseString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/AsyncGetRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/AsyncGetRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/AsyncGetRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/AsyncGetRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRollout.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRollout.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRollout.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRollout.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutRolloutname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutRolloutname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutRolloutname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutRolloutname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/getrollout/SyncGetRolloutString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/AsyncGetTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/AsyncGetTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/AsyncGetTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/AsyncGetTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetTargetname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetTargetname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetTargetname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/gettarget/SyncGetTargetTargetname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/AsyncIgnoreJob.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/AsyncIgnoreJob.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/AsyncIgnoreJob.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/AsyncIgnoreJob.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJob.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJob.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJob.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJob.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobRolloutnameStringString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobRolloutnameStringString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobRolloutnameStringString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobRolloutnameStringString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobStringStringString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobStringStringString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobStringStringString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/ignorejob/SyncIgnoreJobStringStringString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRuns.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRuns.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRuns.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRuns.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRunsPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRunsPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRunsPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/AsyncListAutomationRunsPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRuns.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRuns.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRuns.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRuns.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsDeliverypipelinename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsDeliverypipelinename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsDeliverypipelinename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsDeliverypipelinename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomationruns/SyncListAutomationRunsString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomations.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomations.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomations.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomations.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomationsPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomationsPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomationsPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/AsyncListAutomationsPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomations.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomations.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomations.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomations.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsDeliverypipelinename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsDeliverypipelinename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsDeliverypipelinename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsDeliverypipelinename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listautomations/SyncListAutomationsString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypes.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypes.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypes.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypes.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypesPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypesPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypesPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/AsyncListCustomTargetTypesPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypes.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypes.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypes.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypes.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesLocationname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesLocationname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesLocationname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesLocationname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listcustomtargettypes/SyncListCustomTargetTypesString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelines.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelines.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelines.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelines.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/AsyncListDeliveryPipelinesPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelines.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelines.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelines.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelines.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesLocationname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listdeliverypipelines/SyncListDeliveryPipelinesString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRuns.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRuns.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRuns.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRuns.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRunsPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRunsPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRunsPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/AsyncListJobRunsPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRuns.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRuns.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRuns.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRuns.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsRolloutname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsRolloutname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsRolloutname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsRolloutname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listjobruns/SyncListJobRunsString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocations.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocations.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocationsPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocationsPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/SyncListLocations.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/SyncListLocations.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleases.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleases.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleases.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleases.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleasesPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleasesPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleasesPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/AsyncListReleasesPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleases.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleases.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleases.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleases.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesDeliverypipelinename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesDeliverypipelinename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesDeliverypipelinename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesDeliverypipelinename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listreleases/SyncListReleasesString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRollouts.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRollouts.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRollouts.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRollouts.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRolloutsPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRolloutsPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRolloutsPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/AsyncListRolloutsPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRollouts.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRollouts.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRollouts.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRollouts.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsReleasename.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsReleasename.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsReleasename.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsReleasename.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listrollouts/SyncListRolloutsString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargets.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargets.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargets.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargets.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargetsPaged.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargetsPaged.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargetsPaged.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/AsyncListTargetsPaged.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargets.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargets.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargets.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargets.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsLocationname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsLocationname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsLocationname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsLocationname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/listtargets/SyncListTargetsString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/AsyncRetryJob.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/AsyncRetryJob.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/AsyncRetryJob.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/AsyncRetryJob.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJob.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJob.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJob.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJob.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobRolloutnameStringString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobRolloutnameStringString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobRolloutnameStringString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobRolloutnameStringString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobStringStringString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobStringStringString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobStringStringString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/retryjob/SyncRetryJobStringStringString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/AsyncRollbackTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/AsyncRollbackTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/AsyncRollbackTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/AsyncRollbackTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetDeliverypipelinenameStringString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetDeliverypipelinenameStringString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetDeliverypipelinenameStringString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetDeliverypipelinenameStringString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetStringStringString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetStringStringString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetStringStringString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/rollbacktarget/SyncRollbackTargetStringStringString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/AsyncSetIamPolicy.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/AsyncSetIamPolicy.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/SyncSetIamPolicy.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/SyncSetIamPolicy.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/AsyncTerminateJobRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/AsyncTerminateJobRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/AsyncTerminateJobRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/AsyncTerminateJobRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRun.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRun.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRun.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRun.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunJobrunname.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunJobrunname.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunJobrunname.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunJobrunname.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunString.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunString.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunString.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/terminatejobrun/SyncTerminateJobRunString.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/AsyncTestIamPermissions.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/AsyncTestIamPermissions.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/SyncTestIamPermissions.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/SyncTestIamPermissions.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomationLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomationLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomationLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/AsyncUpdateAutomationLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomation.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomation.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomation.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomation.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomationAutomationFieldmask.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomationAutomationFieldmask.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomationAutomationFieldmask.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updateautomation/SyncUpdateAutomationAutomationFieldmask.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetTypeLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetTypeLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetTypeLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/AsyncUpdateCustomTargetTypeLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetType.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetType.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetType.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetType.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetTypeCustomtargettypeFieldmask.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetTypeCustomtargettypeFieldmask.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetTypeCustomtargettypeFieldmask.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatecustomtargettype/SyncUpdateCustomTargetTypeCustomtargettypeFieldmask.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/AsyncUpdateDeliveryPipelineLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatedeliverypipeline/SyncUpdateDeliveryPipelineDeliverypipelineFieldmask.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTargetLRO.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTargetLRO.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTargetLRO.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/AsyncUpdateTargetLRO.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTarget.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTarget.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTarget.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTarget.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTargetTargetFieldmask.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTargetTargetFieldmask.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTargetTargetFieldmask.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploy/updatetarget/SyncUpdateTargetTargetFieldmask.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/clouddeploysettings/getdeliverypipeline/SyncGetDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java b/java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java similarity index 100% rename from owl-bot-staging/java-deploy/v1/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java rename to java-deploy/samples/snippets/generated/com/google/cloud/deploy/v1/stub/clouddeploystubsettings/getdeliverypipeline/SyncGetDeliveryPipeline.java diff --git a/owl-bot-staging/java-deploy/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java b/owl-bot-staging/java-deploy/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java deleted file mode 100644 index e5406f4f8f0a..000000000000 --- a/owl-bot-staging/java-deploy/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java +++ /dev/null @@ -1,3695 +0,0 @@ -package com.google.cloud.deploy.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * CloudDeploy service creates and manages Continuous Delivery operations
- * on Google Cloud Platform via Skaffold (https://skaffold.dev).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/deploy/v1/cloud_deploy.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CloudDeployGrpc { - - private CloudDeployGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.deploy.v1.CloudDeploy"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListDeliveryPipelinesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDeliveryPipelines", - requestType = com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class, - responseType = com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDeliveryPipelinesMethod() { - io.grpc.MethodDescriptor getListDeliveryPipelinesMethod; - if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) == null) { - CloudDeployGrpc.getListDeliveryPipelinesMethod = getListDeliveryPipelinesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeliveryPipelines")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListDeliveryPipelines")) - .build(); - } - } - } - return getListDeliveryPipelinesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDeliveryPipelineMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDeliveryPipeline", - requestType = com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.class, - responseType = com.google.cloud.deploy.v1.DeliveryPipeline.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDeliveryPipelineMethod() { - io.grpc.MethodDescriptor getGetDeliveryPipelineMethod; - if ((getGetDeliveryPipelineMethod = CloudDeployGrpc.getGetDeliveryPipelineMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetDeliveryPipelineMethod = CloudDeployGrpc.getGetDeliveryPipelineMethod) == null) { - CloudDeployGrpc.getGetDeliveryPipelineMethod = getGetDeliveryPipelineMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeliveryPipeline")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetDeliveryPipeline")) - .build(); - } - } - } - return getGetDeliveryPipelineMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDeliveryPipelineMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDeliveryPipeline", - requestType = com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDeliveryPipelineMethod() { - io.grpc.MethodDescriptor getCreateDeliveryPipelineMethod; - if ((getCreateDeliveryPipelineMethod = CloudDeployGrpc.getCreateDeliveryPipelineMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCreateDeliveryPipelineMethod = CloudDeployGrpc.getCreateDeliveryPipelineMethod) == null) { - CloudDeployGrpc.getCreateDeliveryPipelineMethod = getCreateDeliveryPipelineMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeliveryPipeline")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateDeliveryPipeline")) - .build(); - } - } - } - return getCreateDeliveryPipelineMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDeliveryPipelineMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDeliveryPipeline", - requestType = com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDeliveryPipelineMethod() { - io.grpc.MethodDescriptor getUpdateDeliveryPipelineMethod; - if ((getUpdateDeliveryPipelineMethod = CloudDeployGrpc.getUpdateDeliveryPipelineMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getUpdateDeliveryPipelineMethod = CloudDeployGrpc.getUpdateDeliveryPipelineMethod) == null) { - CloudDeployGrpc.getUpdateDeliveryPipelineMethod = getUpdateDeliveryPipelineMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDeliveryPipeline")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("UpdateDeliveryPipeline")) - .build(); - } - } - } - return getUpdateDeliveryPipelineMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDeliveryPipelineMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDeliveryPipeline", - requestType = com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDeliveryPipelineMethod() { - io.grpc.MethodDescriptor getDeleteDeliveryPipelineMethod; - if ((getDeleteDeliveryPipelineMethod = CloudDeployGrpc.getDeleteDeliveryPipelineMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getDeleteDeliveryPipelineMethod = CloudDeployGrpc.getDeleteDeliveryPipelineMethod) == null) { - CloudDeployGrpc.getDeleteDeliveryPipelineMethod = getDeleteDeliveryPipelineMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeliveryPipeline")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("DeleteDeliveryPipeline")) - .build(); - } - } - } - return getDeleteDeliveryPipelineMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTargetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTargets", - requestType = com.google.cloud.deploy.v1.ListTargetsRequest.class, - responseType = com.google.cloud.deploy.v1.ListTargetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTargetsMethod() { - io.grpc.MethodDescriptor getListTargetsMethod; - if ((getListTargetsMethod = CloudDeployGrpc.getListTargetsMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListTargetsMethod = CloudDeployGrpc.getListTargetsMethod) == null) { - CloudDeployGrpc.getListTargetsMethod = getListTargetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTargets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListTargetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListTargetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListTargets")) - .build(); - } - } - } - return getListTargetsMethod; - } - - private static volatile io.grpc.MethodDescriptor getRollbackTargetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackTarget", - requestType = com.google.cloud.deploy.v1.RollbackTargetRequest.class, - responseType = com.google.cloud.deploy.v1.RollbackTargetResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRollbackTargetMethod() { - io.grpc.MethodDescriptor getRollbackTargetMethod; - if ((getRollbackTargetMethod = CloudDeployGrpc.getRollbackTargetMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getRollbackTargetMethod = CloudDeployGrpc.getRollbackTargetMethod) == null) { - CloudDeployGrpc.getRollbackTargetMethod = getRollbackTargetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackTarget")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.RollbackTargetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.RollbackTargetResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("RollbackTarget")) - .build(); - } - } - } - return getRollbackTargetMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTargetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTarget", - requestType = com.google.cloud.deploy.v1.GetTargetRequest.class, - responseType = com.google.cloud.deploy.v1.Target.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTargetMethod() { - io.grpc.MethodDescriptor getGetTargetMethod; - if ((getGetTargetMethod = CloudDeployGrpc.getGetTargetMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetTargetMethod = CloudDeployGrpc.getGetTargetMethod) == null) { - CloudDeployGrpc.getGetTargetMethod = getGetTargetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTarget")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetTargetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.Target.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetTarget")) - .build(); - } - } - } - return getGetTargetMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTargetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTarget", - requestType = com.google.cloud.deploy.v1.CreateTargetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTargetMethod() { - io.grpc.MethodDescriptor getCreateTargetMethod; - if ((getCreateTargetMethod = CloudDeployGrpc.getCreateTargetMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCreateTargetMethod = CloudDeployGrpc.getCreateTargetMethod) == null) { - CloudDeployGrpc.getCreateTargetMethod = getCreateTargetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTarget")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CreateTargetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateTarget")) - .build(); - } - } - } - return getCreateTargetMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTargetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTarget", - requestType = com.google.cloud.deploy.v1.UpdateTargetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTargetMethod() { - io.grpc.MethodDescriptor getUpdateTargetMethod; - if ((getUpdateTargetMethod = CloudDeployGrpc.getUpdateTargetMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getUpdateTargetMethod = CloudDeployGrpc.getUpdateTargetMethod) == null) { - CloudDeployGrpc.getUpdateTargetMethod = getUpdateTargetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTarget")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.UpdateTargetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("UpdateTarget")) - .build(); - } - } - } - return getUpdateTargetMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTargetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTarget", - requestType = com.google.cloud.deploy.v1.DeleteTargetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTargetMethod() { - io.grpc.MethodDescriptor getDeleteTargetMethod; - if ((getDeleteTargetMethod = CloudDeployGrpc.getDeleteTargetMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getDeleteTargetMethod = CloudDeployGrpc.getDeleteTargetMethod) == null) { - CloudDeployGrpc.getDeleteTargetMethod = getDeleteTargetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTarget")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.DeleteTargetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("DeleteTarget")) - .build(); - } - } - } - return getDeleteTargetMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCustomTargetTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomTargetTypes", - requestType = com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.class, - responseType = com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCustomTargetTypesMethod() { - io.grpc.MethodDescriptor getListCustomTargetTypesMethod; - if ((getListCustomTargetTypesMethod = CloudDeployGrpc.getListCustomTargetTypesMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListCustomTargetTypesMethod = CloudDeployGrpc.getListCustomTargetTypesMethod) == null) { - CloudDeployGrpc.getListCustomTargetTypesMethod = getListCustomTargetTypesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomTargetTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListCustomTargetTypesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListCustomTargetTypesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListCustomTargetTypes")) - .build(); - } - } - } - return getListCustomTargetTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCustomTargetTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomTargetType", - requestType = com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.class, - responseType = com.google.cloud.deploy.v1.CustomTargetType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCustomTargetTypeMethod() { - io.grpc.MethodDescriptor getGetCustomTargetTypeMethod; - if ((getGetCustomTargetTypeMethod = CloudDeployGrpc.getGetCustomTargetTypeMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetCustomTargetTypeMethod = CloudDeployGrpc.getGetCustomTargetTypeMethod) == null) { - CloudDeployGrpc.getGetCustomTargetTypeMethod = getGetCustomTargetTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomTargetType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetCustomTargetTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CustomTargetType.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetCustomTargetType")) - .build(); - } - } - } - return getGetCustomTargetTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCustomTargetTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomTargetType", - requestType = com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCustomTargetTypeMethod() { - io.grpc.MethodDescriptor getCreateCustomTargetTypeMethod; - if ((getCreateCustomTargetTypeMethod = CloudDeployGrpc.getCreateCustomTargetTypeMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCreateCustomTargetTypeMethod = CloudDeployGrpc.getCreateCustomTargetTypeMethod) == null) { - CloudDeployGrpc.getCreateCustomTargetTypeMethod = getCreateCustomTargetTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomTargetType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateCustomTargetType")) - .build(); - } - } - } - return getCreateCustomTargetTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCustomTargetTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomTargetType", - requestType = com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCustomTargetTypeMethod() { - io.grpc.MethodDescriptor getUpdateCustomTargetTypeMethod; - if ((getUpdateCustomTargetTypeMethod = CloudDeployGrpc.getUpdateCustomTargetTypeMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getUpdateCustomTargetTypeMethod = CloudDeployGrpc.getUpdateCustomTargetTypeMethod) == null) { - CloudDeployGrpc.getUpdateCustomTargetTypeMethod = getUpdateCustomTargetTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomTargetType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("UpdateCustomTargetType")) - .build(); - } - } - } - return getUpdateCustomTargetTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCustomTargetTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCustomTargetType", - requestType = com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCustomTargetTypeMethod() { - io.grpc.MethodDescriptor getDeleteCustomTargetTypeMethod; - if ((getDeleteCustomTargetTypeMethod = CloudDeployGrpc.getDeleteCustomTargetTypeMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getDeleteCustomTargetTypeMethod = CloudDeployGrpc.getDeleteCustomTargetTypeMethod) == null) { - CloudDeployGrpc.getDeleteCustomTargetTypeMethod = getDeleteCustomTargetTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomTargetType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("DeleteCustomTargetType")) - .build(); - } - } - } - return getDeleteCustomTargetTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getListReleasesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListReleases", - requestType = com.google.cloud.deploy.v1.ListReleasesRequest.class, - responseType = com.google.cloud.deploy.v1.ListReleasesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListReleasesMethod() { - io.grpc.MethodDescriptor getListReleasesMethod; - if ((getListReleasesMethod = CloudDeployGrpc.getListReleasesMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListReleasesMethod = CloudDeployGrpc.getListReleasesMethod) == null) { - CloudDeployGrpc.getListReleasesMethod = getListReleasesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReleases")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListReleasesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListReleasesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListReleases")) - .build(); - } - } - } - return getListReleasesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetReleaseMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRelease", - requestType = com.google.cloud.deploy.v1.GetReleaseRequest.class, - responseType = com.google.cloud.deploy.v1.Release.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetReleaseMethod() { - io.grpc.MethodDescriptor getGetReleaseMethod; - if ((getGetReleaseMethod = CloudDeployGrpc.getGetReleaseMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetReleaseMethod = CloudDeployGrpc.getGetReleaseMethod) == null) { - CloudDeployGrpc.getGetReleaseMethod = getGetReleaseMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRelease")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetReleaseRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.Release.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetRelease")) - .build(); - } - } - } - return getGetReleaseMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateReleaseMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRelease", - requestType = com.google.cloud.deploy.v1.CreateReleaseRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateReleaseMethod() { - io.grpc.MethodDescriptor getCreateReleaseMethod; - if ((getCreateReleaseMethod = CloudDeployGrpc.getCreateReleaseMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCreateReleaseMethod = CloudDeployGrpc.getCreateReleaseMethod) == null) { - CloudDeployGrpc.getCreateReleaseMethod = getCreateReleaseMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRelease")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CreateReleaseRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateRelease")) - .build(); - } - } - } - return getCreateReleaseMethod; - } - - private static volatile io.grpc.MethodDescriptor getAbandonReleaseMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AbandonRelease", - requestType = com.google.cloud.deploy.v1.AbandonReleaseRequest.class, - responseType = com.google.cloud.deploy.v1.AbandonReleaseResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAbandonReleaseMethod() { - io.grpc.MethodDescriptor getAbandonReleaseMethod; - if ((getAbandonReleaseMethod = CloudDeployGrpc.getAbandonReleaseMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getAbandonReleaseMethod = CloudDeployGrpc.getAbandonReleaseMethod) == null) { - CloudDeployGrpc.getAbandonReleaseMethod = getAbandonReleaseMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AbandonRelease")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.AbandonReleaseRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.AbandonReleaseResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("AbandonRelease")) - .build(); - } - } - } - return getAbandonReleaseMethod; - } - - private static volatile io.grpc.MethodDescriptor getApproveRolloutMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ApproveRollout", - requestType = com.google.cloud.deploy.v1.ApproveRolloutRequest.class, - responseType = com.google.cloud.deploy.v1.ApproveRolloutResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getApproveRolloutMethod() { - io.grpc.MethodDescriptor getApproveRolloutMethod; - if ((getApproveRolloutMethod = CloudDeployGrpc.getApproveRolloutMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getApproveRolloutMethod = CloudDeployGrpc.getApproveRolloutMethod) == null) { - CloudDeployGrpc.getApproveRolloutMethod = getApproveRolloutMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ApproveRollout")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ApproveRolloutRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ApproveRolloutResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ApproveRollout")) - .build(); - } - } - } - return getApproveRolloutMethod; - } - - private static volatile io.grpc.MethodDescriptor getAdvanceRolloutMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AdvanceRollout", - requestType = com.google.cloud.deploy.v1.AdvanceRolloutRequest.class, - responseType = com.google.cloud.deploy.v1.AdvanceRolloutResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAdvanceRolloutMethod() { - io.grpc.MethodDescriptor getAdvanceRolloutMethod; - if ((getAdvanceRolloutMethod = CloudDeployGrpc.getAdvanceRolloutMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getAdvanceRolloutMethod = CloudDeployGrpc.getAdvanceRolloutMethod) == null) { - CloudDeployGrpc.getAdvanceRolloutMethod = getAdvanceRolloutMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AdvanceRollout")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.AdvanceRolloutRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.AdvanceRolloutResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("AdvanceRollout")) - .build(); - } - } - } - return getAdvanceRolloutMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelRolloutMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelRollout", - requestType = com.google.cloud.deploy.v1.CancelRolloutRequest.class, - responseType = com.google.cloud.deploy.v1.CancelRolloutResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelRolloutMethod() { - io.grpc.MethodDescriptor getCancelRolloutMethod; - if ((getCancelRolloutMethod = CloudDeployGrpc.getCancelRolloutMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCancelRolloutMethod = CloudDeployGrpc.getCancelRolloutMethod) == null) { - CloudDeployGrpc.getCancelRolloutMethod = getCancelRolloutMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelRollout")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CancelRolloutRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CancelRolloutResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CancelRollout")) - .build(); - } - } - } - return getCancelRolloutMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRolloutsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRollouts", - requestType = com.google.cloud.deploy.v1.ListRolloutsRequest.class, - responseType = com.google.cloud.deploy.v1.ListRolloutsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRolloutsMethod() { - io.grpc.MethodDescriptor getListRolloutsMethod; - if ((getListRolloutsMethod = CloudDeployGrpc.getListRolloutsMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListRolloutsMethod = CloudDeployGrpc.getListRolloutsMethod) == null) { - CloudDeployGrpc.getListRolloutsMethod = getListRolloutsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRollouts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListRolloutsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListRolloutsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListRollouts")) - .build(); - } - } - } - return getListRolloutsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRolloutMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRollout", - requestType = com.google.cloud.deploy.v1.GetRolloutRequest.class, - responseType = com.google.cloud.deploy.v1.Rollout.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRolloutMethod() { - io.grpc.MethodDescriptor getGetRolloutMethod; - if ((getGetRolloutMethod = CloudDeployGrpc.getGetRolloutMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetRolloutMethod = CloudDeployGrpc.getGetRolloutMethod) == null) { - CloudDeployGrpc.getGetRolloutMethod = getGetRolloutMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRollout")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetRolloutRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.Rollout.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetRollout")) - .build(); - } - } - } - return getGetRolloutMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRolloutMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRollout", - requestType = com.google.cloud.deploy.v1.CreateRolloutRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRolloutMethod() { - io.grpc.MethodDescriptor getCreateRolloutMethod; - if ((getCreateRolloutMethod = CloudDeployGrpc.getCreateRolloutMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCreateRolloutMethod = CloudDeployGrpc.getCreateRolloutMethod) == null) { - CloudDeployGrpc.getCreateRolloutMethod = getCreateRolloutMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRollout")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CreateRolloutRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateRollout")) - .build(); - } - } - } - return getCreateRolloutMethod; - } - - private static volatile io.grpc.MethodDescriptor getIgnoreJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "IgnoreJob", - requestType = com.google.cloud.deploy.v1.IgnoreJobRequest.class, - responseType = com.google.cloud.deploy.v1.IgnoreJobResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getIgnoreJobMethod() { - io.grpc.MethodDescriptor getIgnoreJobMethod; - if ((getIgnoreJobMethod = CloudDeployGrpc.getIgnoreJobMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getIgnoreJobMethod = CloudDeployGrpc.getIgnoreJobMethod) == null) { - CloudDeployGrpc.getIgnoreJobMethod = getIgnoreJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "IgnoreJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.IgnoreJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.IgnoreJobResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("IgnoreJob")) - .build(); - } - } - } - return getIgnoreJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getRetryJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetryJob", - requestType = com.google.cloud.deploy.v1.RetryJobRequest.class, - responseType = com.google.cloud.deploy.v1.RetryJobResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetryJobMethod() { - io.grpc.MethodDescriptor getRetryJobMethod; - if ((getRetryJobMethod = CloudDeployGrpc.getRetryJobMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getRetryJobMethod = CloudDeployGrpc.getRetryJobMethod) == null) { - CloudDeployGrpc.getRetryJobMethod = getRetryJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetryJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.RetryJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.RetryJobResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("RetryJob")) - .build(); - } - } - } - return getRetryJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListJobRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobRuns", - requestType = com.google.cloud.deploy.v1.ListJobRunsRequest.class, - responseType = com.google.cloud.deploy.v1.ListJobRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListJobRunsMethod() { - io.grpc.MethodDescriptor getListJobRunsMethod; - if ((getListJobRunsMethod = CloudDeployGrpc.getListJobRunsMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListJobRunsMethod = CloudDeployGrpc.getListJobRunsMethod) == null) { - CloudDeployGrpc.getListJobRunsMethod = getListJobRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListJobRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListJobRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListJobRuns")) - .build(); - } - } - } - return getListJobRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetJobRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJobRun", - requestType = com.google.cloud.deploy.v1.GetJobRunRequest.class, - responseType = com.google.cloud.deploy.v1.JobRun.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJobRunMethod() { - io.grpc.MethodDescriptor getGetJobRunMethod; - if ((getGetJobRunMethod = CloudDeployGrpc.getGetJobRunMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetJobRunMethod = CloudDeployGrpc.getGetJobRunMethod) == null) { - CloudDeployGrpc.getGetJobRunMethod = getGetJobRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetJobRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.JobRun.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetJobRun")) - .build(); - } - } - } - return getGetJobRunMethod; - } - - private static volatile io.grpc.MethodDescriptor getTerminateJobRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TerminateJobRun", - requestType = com.google.cloud.deploy.v1.TerminateJobRunRequest.class, - responseType = com.google.cloud.deploy.v1.TerminateJobRunResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTerminateJobRunMethod() { - io.grpc.MethodDescriptor getTerminateJobRunMethod; - if ((getTerminateJobRunMethod = CloudDeployGrpc.getTerminateJobRunMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getTerminateJobRunMethod = CloudDeployGrpc.getTerminateJobRunMethod) == null) { - CloudDeployGrpc.getTerminateJobRunMethod = getTerminateJobRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TerminateJobRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.TerminateJobRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.TerminateJobRunResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("TerminateJobRun")) - .build(); - } - } - } - return getTerminateJobRunMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConfig", - requestType = com.google.cloud.deploy.v1.GetConfigRequest.class, - responseType = com.google.cloud.deploy.v1.Config.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConfigMethod() { - io.grpc.MethodDescriptor getGetConfigMethod; - if ((getGetConfigMethod = CloudDeployGrpc.getGetConfigMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetConfigMethod = CloudDeployGrpc.getGetConfigMethod) == null) { - CloudDeployGrpc.getGetConfigMethod = getGetConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.Config.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetConfig")) - .build(); - } - } - } - return getGetConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAutomationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAutomation", - requestType = com.google.cloud.deploy.v1.CreateAutomationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAutomationMethod() { - io.grpc.MethodDescriptor getCreateAutomationMethod; - if ((getCreateAutomationMethod = CloudDeployGrpc.getCreateAutomationMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCreateAutomationMethod = CloudDeployGrpc.getCreateAutomationMethod) == null) { - CloudDeployGrpc.getCreateAutomationMethod = getCreateAutomationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAutomation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CreateAutomationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateAutomation")) - .build(); - } - } - } - return getCreateAutomationMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAutomationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAutomation", - requestType = com.google.cloud.deploy.v1.UpdateAutomationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAutomationMethod() { - io.grpc.MethodDescriptor getUpdateAutomationMethod; - if ((getUpdateAutomationMethod = CloudDeployGrpc.getUpdateAutomationMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getUpdateAutomationMethod = CloudDeployGrpc.getUpdateAutomationMethod) == null) { - CloudDeployGrpc.getUpdateAutomationMethod = getUpdateAutomationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAutomation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.UpdateAutomationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("UpdateAutomation")) - .build(); - } - } - } - return getUpdateAutomationMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAutomationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAutomation", - requestType = com.google.cloud.deploy.v1.DeleteAutomationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAutomationMethod() { - io.grpc.MethodDescriptor getDeleteAutomationMethod; - if ((getDeleteAutomationMethod = CloudDeployGrpc.getDeleteAutomationMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getDeleteAutomationMethod = CloudDeployGrpc.getDeleteAutomationMethod) == null) { - CloudDeployGrpc.getDeleteAutomationMethod = getDeleteAutomationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAutomation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.DeleteAutomationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("DeleteAutomation")) - .build(); - } - } - } - return getDeleteAutomationMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAutomationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAutomation", - requestType = com.google.cloud.deploy.v1.GetAutomationRequest.class, - responseType = com.google.cloud.deploy.v1.Automation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAutomationMethod() { - io.grpc.MethodDescriptor getGetAutomationMethod; - if ((getGetAutomationMethod = CloudDeployGrpc.getGetAutomationMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetAutomationMethod = CloudDeployGrpc.getGetAutomationMethod) == null) { - CloudDeployGrpc.getGetAutomationMethod = getGetAutomationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAutomation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetAutomationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.Automation.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetAutomation")) - .build(); - } - } - } - return getGetAutomationMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAutomationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAutomations", - requestType = com.google.cloud.deploy.v1.ListAutomationsRequest.class, - responseType = com.google.cloud.deploy.v1.ListAutomationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAutomationsMethod() { - io.grpc.MethodDescriptor getListAutomationsMethod; - if ((getListAutomationsMethod = CloudDeployGrpc.getListAutomationsMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListAutomationsMethod = CloudDeployGrpc.getListAutomationsMethod) == null) { - CloudDeployGrpc.getListAutomationsMethod = getListAutomationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAutomations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListAutomationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListAutomationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListAutomations")) - .build(); - } - } - } - return getListAutomationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAutomationRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAutomationRun", - requestType = com.google.cloud.deploy.v1.GetAutomationRunRequest.class, - responseType = com.google.cloud.deploy.v1.AutomationRun.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAutomationRunMethod() { - io.grpc.MethodDescriptor getGetAutomationRunMethod; - if ((getGetAutomationRunMethod = CloudDeployGrpc.getGetAutomationRunMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getGetAutomationRunMethod = CloudDeployGrpc.getGetAutomationRunMethod) == null) { - CloudDeployGrpc.getGetAutomationRunMethod = getGetAutomationRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAutomationRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.GetAutomationRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.AutomationRun.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetAutomationRun")) - .build(); - } - } - } - return getGetAutomationRunMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAutomationRunsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAutomationRuns", - requestType = com.google.cloud.deploy.v1.ListAutomationRunsRequest.class, - responseType = com.google.cloud.deploy.v1.ListAutomationRunsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAutomationRunsMethod() { - io.grpc.MethodDescriptor getListAutomationRunsMethod; - if ((getListAutomationRunsMethod = CloudDeployGrpc.getListAutomationRunsMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListAutomationRunsMethod = CloudDeployGrpc.getListAutomationRunsMethod) == null) { - CloudDeployGrpc.getListAutomationRunsMethod = getListAutomationRunsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAutomationRuns")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListAutomationRunsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.ListAutomationRunsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListAutomationRuns")) - .build(); - } - } - } - return getListAutomationRunsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelAutomationRunMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelAutomationRun", - requestType = com.google.cloud.deploy.v1.CancelAutomationRunRequest.class, - responseType = com.google.cloud.deploy.v1.CancelAutomationRunResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelAutomationRunMethod() { - io.grpc.MethodDescriptor getCancelAutomationRunMethod; - if ((getCancelAutomationRunMethod = CloudDeployGrpc.getCancelAutomationRunMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getCancelAutomationRunMethod = CloudDeployGrpc.getCancelAutomationRunMethod) == null) { - CloudDeployGrpc.getCancelAutomationRunMethod = getCancelAutomationRunMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelAutomationRun")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CancelAutomationRunRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.deploy.v1.CancelAutomationRunResponse.getDefaultInstance())) - .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CancelAutomationRun")) - .build(); - } - } - } - return getCancelAutomationRunMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CloudDeployStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CloudDeployStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudDeployStub(channel, callOptions); - } - }; - return CloudDeployStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CloudDeployBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CloudDeployBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudDeployBlockingStub(channel, callOptions); - } - }; - return CloudDeployBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CloudDeployFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CloudDeployFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudDeployFutureStub(channel, callOptions); - } - }; - return CloudDeployFutureStub.newStub(factory, channel); - } - - /** - *
-   * CloudDeploy service creates and manages Continuous Delivery operations
-   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Lists DeliveryPipelines in a given project and location.
-     * 
- */ - default void listDeliveryPipelines(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeliveryPipelinesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single DeliveryPipeline.
-     * 
- */ - default void getDeliveryPipeline(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeliveryPipelineMethod(), responseObserver); - } - - /** - *
-     * Creates a new DeliveryPipeline in a given project and location.
-     * 
- */ - default void createDeliveryPipeline(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeliveryPipelineMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single DeliveryPipeline.
-     * 
- */ - default void updateDeliveryPipeline(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDeliveryPipelineMethod(), responseObserver); - } - - /** - *
-     * Deletes a single DeliveryPipeline.
-     * 
- */ - default void deleteDeliveryPipeline(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeliveryPipelineMethod(), responseObserver); - } - - /** - *
-     * Lists Targets in a given project and location.
-     * 
- */ - default void listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTargetsMethod(), responseObserver); - } - - /** - *
-     * Creates a `Rollout` to roll back the specified target.
-     * 
- */ - default void rollbackTarget(com.google.cloud.deploy.v1.RollbackTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackTargetMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Target.
-     * 
- */ - default void getTarget(com.google.cloud.deploy.v1.GetTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTargetMethod(), responseObserver); - } - - /** - *
-     * Creates a new Target in a given project and location.
-     * 
- */ - default void createTarget(com.google.cloud.deploy.v1.CreateTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTargetMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Target.
-     * 
- */ - default void updateTarget(com.google.cloud.deploy.v1.UpdateTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTargetMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Target.
-     * 
- */ - default void deleteTarget(com.google.cloud.deploy.v1.DeleteTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTargetMethod(), responseObserver); - } - - /** - *
-     * Lists CustomTargetTypes in a given project and location.
-     * 
- */ - default void listCustomTargetTypes(com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomTargetTypesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single CustomTargetType.
-     * 
- */ - default void getCustomTargetType(com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomTargetTypeMethod(), responseObserver); - } - - /** - *
-     * Creates a new CustomTargetType in a given project and location.
-     * 
- */ - default void createCustomTargetType(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomTargetTypeMethod(), responseObserver); - } - - /** - *
-     * Updates a single CustomTargetType.
-     * 
- */ - default void updateCustomTargetType(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomTargetTypeMethod(), responseObserver); - } - - /** - *
-     * Deletes a single CustomTargetType.
-     * 
- */ - default void deleteCustomTargetType(com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCustomTargetTypeMethod(), responseObserver); - } - - /** - *
-     * Lists Releases in a given project and location.
-     * 
- */ - default void listReleases(com.google.cloud.deploy.v1.ListReleasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReleasesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Release.
-     * 
- */ - default void getRelease(com.google.cloud.deploy.v1.GetReleaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReleaseMethod(), responseObserver); - } - - /** - *
-     * Creates a new Release in a given project and location.
-     * 
- */ - default void createRelease(com.google.cloud.deploy.v1.CreateReleaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReleaseMethod(), responseObserver); - } - - /** - *
-     * Abandons a Release in the Delivery Pipeline.
-     * 
- */ - default void abandonRelease(com.google.cloud.deploy.v1.AbandonReleaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAbandonReleaseMethod(), responseObserver); - } - - /** - *
-     * Approves a Rollout.
-     * 
- */ - default void approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveRolloutMethod(), responseObserver); - } - - /** - *
-     * Advances a Rollout in a given project and location.
-     * 
- */ - default void advanceRollout(com.google.cloud.deploy.v1.AdvanceRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAdvanceRolloutMethod(), responseObserver); - } - - /** - *
-     * Cancels a Rollout in a given project and location.
-     * 
- */ - default void cancelRollout(com.google.cloud.deploy.v1.CancelRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelRolloutMethod(), responseObserver); - } - - /** - *
-     * Lists Rollouts in a given project and location.
-     * 
- */ - default void listRollouts(com.google.cloud.deploy.v1.ListRolloutsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRolloutsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Rollout.
-     * 
- */ - default void getRollout(com.google.cloud.deploy.v1.GetRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRolloutMethod(), responseObserver); - } - - /** - *
-     * Creates a new Rollout in a given project and location.
-     * 
- */ - default void createRollout(com.google.cloud.deploy.v1.CreateRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRolloutMethod(), responseObserver); - } - - /** - *
-     * Ignores the specified Job in a Rollout.
-     * 
- */ - default void ignoreJob(com.google.cloud.deploy.v1.IgnoreJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getIgnoreJobMethod(), responseObserver); - } - - /** - *
-     * Retries the specified Job in a Rollout.
-     * 
- */ - default void retryJob(com.google.cloud.deploy.v1.RetryJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetryJobMethod(), responseObserver); - } - - /** - *
-     * Lists JobRuns in a given project and location.
-     * 
- */ - default void listJobRuns(com.google.cloud.deploy.v1.ListJobRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobRunsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single JobRun.
-     * 
- */ - default void getJobRun(com.google.cloud.deploy.v1.GetJobRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobRunMethod(), responseObserver); - } - - /** - *
-     * Terminates a Job Run in a given project and location.
-     * 
- */ - default void terminateJobRun(com.google.cloud.deploy.v1.TerminateJobRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTerminateJobRunMethod(), responseObserver); - } - - /** - *
-     * Gets the configuration for a location.
-     * 
- */ - default void getConfig(com.google.cloud.deploy.v1.GetConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConfigMethod(), responseObserver); - } - - /** - *
-     * Creates a new Automation in a given project and location.
-     * 
- */ - default void createAutomation(com.google.cloud.deploy.v1.CreateAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAutomationMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Automation resource.
-     * 
- */ - default void updateAutomation(com.google.cloud.deploy.v1.UpdateAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAutomationMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Automation resource.
-     * 
- */ - default void deleteAutomation(com.google.cloud.deploy.v1.DeleteAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAutomationMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Automation.
-     * 
- */ - default void getAutomation(com.google.cloud.deploy.v1.GetAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAutomationMethod(), responseObserver); - } - - /** - *
-     * Lists Automations in a given project and location.
-     * 
- */ - default void listAutomations(com.google.cloud.deploy.v1.ListAutomationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAutomationsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single AutomationRun.
-     * 
- */ - default void getAutomationRun(com.google.cloud.deploy.v1.GetAutomationRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAutomationRunMethod(), responseObserver); - } - - /** - *
-     * Lists AutomationRuns in a given project and location.
-     * 
- */ - default void listAutomationRuns(com.google.cloud.deploy.v1.ListAutomationRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAutomationRunsMethod(), responseObserver); - } - - /** - *
-     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
-     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
-     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
-     * in a different state returns an `FAILED_PRECONDITION` error.
-     * 
- */ - default void cancelAutomationRun(com.google.cloud.deploy.v1.CancelAutomationRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelAutomationRunMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service CloudDeploy. - *
-   * CloudDeploy service creates and manages Continuous Delivery operations
-   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
-   * 
- */ - public static abstract class CloudDeployImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return CloudDeployGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service CloudDeploy. - *
-   * CloudDeploy service creates and manages Continuous Delivery operations
-   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
-   * 
- */ - public static final class CloudDeployStub - extends io.grpc.stub.AbstractAsyncStub { - private CloudDeployStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CloudDeployStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudDeployStub(channel, callOptions); - } - - /** - *
-     * Lists DeliveryPipelines in a given project and location.
-     * 
- */ - public void listDeliveryPipelines(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDeliveryPipelinesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single DeliveryPipeline.
-     * 
- */ - public void getDeliveryPipeline(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDeliveryPipelineMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new DeliveryPipeline in a given project and location.
-     * 
- */ - public void createDeliveryPipeline(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDeliveryPipelineMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single DeliveryPipeline.
-     * 
- */ - public void updateDeliveryPipeline(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDeliveryPipelineMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single DeliveryPipeline.
-     * 
- */ - public void deleteDeliveryPipeline(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDeliveryPipelineMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Targets in a given project and location.
-     * 
- */ - public void listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTargetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a `Rollout` to roll back the specified target.
-     * 
- */ - public void rollbackTarget(com.google.cloud.deploy.v1.RollbackTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackTargetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Target.
-     * 
- */ - public void getTarget(com.google.cloud.deploy.v1.GetTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTargetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Target in a given project and location.
-     * 
- */ - public void createTarget(com.google.cloud.deploy.v1.CreateTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTargetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Target.
-     * 
- */ - public void updateTarget(com.google.cloud.deploy.v1.UpdateTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTargetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Target.
-     * 
- */ - public void deleteTarget(com.google.cloud.deploy.v1.DeleteTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTargetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CustomTargetTypes in a given project and location.
-     * 
- */ - public void listCustomTargetTypes(com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomTargetTypesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single CustomTargetType.
-     * 
- */ - public void getCustomTargetType(com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomTargetTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new CustomTargetType in a given project and location.
-     * 
- */ - public void createCustomTargetType(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomTargetTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a single CustomTargetType.
-     * 
- */ - public void updateCustomTargetType(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomTargetTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single CustomTargetType.
-     * 
- */ - public void deleteCustomTargetType(com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCustomTargetTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Releases in a given project and location.
-     * 
- */ - public void listReleases(com.google.cloud.deploy.v1.ListReleasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListReleasesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Release.
-     * 
- */ - public void getRelease(com.google.cloud.deploy.v1.GetReleaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetReleaseMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Release in a given project and location.
-     * 
- */ - public void createRelease(com.google.cloud.deploy.v1.CreateReleaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateReleaseMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Abandons a Release in the Delivery Pipeline.
-     * 
- */ - public void abandonRelease(com.google.cloud.deploy.v1.AbandonReleaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAbandonReleaseMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Approves a Rollout.
-     * 
- */ - public void approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getApproveRolloutMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Advances a Rollout in a given project and location.
-     * 
- */ - public void advanceRollout(com.google.cloud.deploy.v1.AdvanceRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAdvanceRolloutMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels a Rollout in a given project and location.
-     * 
- */ - public void cancelRollout(com.google.cloud.deploy.v1.CancelRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelRolloutMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Rollouts in a given project and location.
-     * 
- */ - public void listRollouts(com.google.cloud.deploy.v1.ListRolloutsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRolloutsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Rollout.
-     * 
- */ - public void getRollout(com.google.cloud.deploy.v1.GetRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRolloutMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Rollout in a given project and location.
-     * 
- */ - public void createRollout(com.google.cloud.deploy.v1.CreateRolloutRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRolloutMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Ignores the specified Job in a Rollout.
-     * 
- */ - public void ignoreJob(com.google.cloud.deploy.v1.IgnoreJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getIgnoreJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retries the specified Job in a Rollout.
-     * 
- */ - public void retryJob(com.google.cloud.deploy.v1.RetryJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetryJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists JobRuns in a given project and location.
-     * 
- */ - public void listJobRuns(com.google.cloud.deploy.v1.ListJobRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single JobRun.
-     * 
- */ - public void getJobRun(com.google.cloud.deploy.v1.GetJobRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobRunMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Terminates a Job Run in a given project and location.
-     * 
- */ - public void terminateJobRun(com.google.cloud.deploy.v1.TerminateJobRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTerminateJobRunMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the configuration for a location.
-     * 
- */ - public void getConfig(com.google.cloud.deploy.v1.GetConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Automation in a given project and location.
-     * 
- */ - public void createAutomation(com.google.cloud.deploy.v1.CreateAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAutomationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Automation resource.
-     * 
- */ - public void updateAutomation(com.google.cloud.deploy.v1.UpdateAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAutomationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Automation resource.
-     * 
- */ - public void deleteAutomation(com.google.cloud.deploy.v1.DeleteAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAutomationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Automation.
-     * 
- */ - public void getAutomation(com.google.cloud.deploy.v1.GetAutomationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAutomationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Automations in a given project and location.
-     * 
- */ - public void listAutomations(com.google.cloud.deploy.v1.ListAutomationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAutomationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single AutomationRun.
-     * 
- */ - public void getAutomationRun(com.google.cloud.deploy.v1.GetAutomationRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAutomationRunMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists AutomationRuns in a given project and location.
-     * 
- */ - public void listAutomationRuns(com.google.cloud.deploy.v1.ListAutomationRunsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAutomationRunsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
-     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
-     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
-     * in a different state returns an `FAILED_PRECONDITION` error.
-     * 
- */ - public void cancelAutomationRun(com.google.cloud.deploy.v1.CancelAutomationRunRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelAutomationRunMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service CloudDeploy. - *
-   * CloudDeploy service creates and manages Continuous Delivery operations
-   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
-   * 
- */ - public static final class CloudDeployBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudDeployBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CloudDeployBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudDeployBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists DeliveryPipelines in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse listDeliveryPipelines(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDeliveryPipelinesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single DeliveryPipeline.
-     * 
- */ - public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new DeliveryPipeline in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createDeliveryPipeline(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single DeliveryPipeline.
-     * 
- */ - public com.google.longrunning.Operation updateDeliveryPipeline(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single DeliveryPipeline.
-     * 
- */ - public com.google.longrunning.Operation deleteDeliveryPipeline(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Targets in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListTargetsResponse listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTargetsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a `Rollout` to roll back the specified target.
-     * 
- */ - public com.google.cloud.deploy.v1.RollbackTargetResponse rollbackTarget(com.google.cloud.deploy.v1.RollbackTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackTargetMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Target.
-     * 
- */ - public com.google.cloud.deploy.v1.Target getTarget(com.google.cloud.deploy.v1.GetTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTargetMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Target in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createTarget(com.google.cloud.deploy.v1.CreateTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTargetMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Target.
-     * 
- */ - public com.google.longrunning.Operation updateTarget(com.google.cloud.deploy.v1.UpdateTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTargetMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Target.
-     * 
- */ - public com.google.longrunning.Operation deleteTarget(com.google.cloud.deploy.v1.DeleteTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTargetMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CustomTargetTypes in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListCustomTargetTypesResponse listCustomTargetTypes(com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomTargetTypesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single CustomTargetType.
-     * 
- */ - public com.google.cloud.deploy.v1.CustomTargetType getCustomTargetType(com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomTargetTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new CustomTargetType in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCustomTargetType(com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomTargetTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a single CustomTargetType.
-     * 
- */ - public com.google.longrunning.Operation updateCustomTargetType(com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomTargetTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single CustomTargetType.
-     * 
- */ - public com.google.longrunning.Operation deleteCustomTargetType(com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCustomTargetTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Releases in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListReleasesResponse listReleases(com.google.cloud.deploy.v1.ListReleasesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListReleasesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Release.
-     * 
- */ - public com.google.cloud.deploy.v1.Release getRelease(com.google.cloud.deploy.v1.GetReleaseRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetReleaseMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Release in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createRelease(com.google.cloud.deploy.v1.CreateReleaseRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateReleaseMethod(), getCallOptions(), request); - } - - /** - *
-     * Abandons a Release in the Delivery Pipeline.
-     * 
- */ - public com.google.cloud.deploy.v1.AbandonReleaseResponse abandonRelease(com.google.cloud.deploy.v1.AbandonReleaseRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAbandonReleaseMethod(), getCallOptions(), request); - } - - /** - *
-     * Approves a Rollout.
-     * 
- */ - public com.google.cloud.deploy.v1.ApproveRolloutResponse approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getApproveRolloutMethod(), getCallOptions(), request); - } - - /** - *
-     * Advances a Rollout in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.AdvanceRolloutResponse advanceRollout(com.google.cloud.deploy.v1.AdvanceRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAdvanceRolloutMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels a Rollout in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.CancelRolloutResponse cancelRollout(com.google.cloud.deploy.v1.CancelRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelRolloutMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Rollouts in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListRolloutsResponse listRollouts(com.google.cloud.deploy.v1.ListRolloutsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRolloutsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Rollout.
-     * 
- */ - public com.google.cloud.deploy.v1.Rollout getRollout(com.google.cloud.deploy.v1.GetRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRolloutMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Rollout in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createRollout(com.google.cloud.deploy.v1.CreateRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRolloutMethod(), getCallOptions(), request); - } - - /** - *
-     * Ignores the specified Job in a Rollout.
-     * 
- */ - public com.google.cloud.deploy.v1.IgnoreJobResponse ignoreJob(com.google.cloud.deploy.v1.IgnoreJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getIgnoreJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Retries the specified Job in a Rollout.
-     * 
- */ - public com.google.cloud.deploy.v1.RetryJobResponse retryJob(com.google.cloud.deploy.v1.RetryJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetryJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists JobRuns in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListJobRunsResponse listJobRuns(com.google.cloud.deploy.v1.ListJobRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single JobRun.
-     * 
- */ - public com.google.cloud.deploy.v1.JobRun getJobRun(com.google.cloud.deploy.v1.GetJobRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobRunMethod(), getCallOptions(), request); - } - - /** - *
-     * Terminates a Job Run in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.TerminateJobRunResponse terminateJobRun(com.google.cloud.deploy.v1.TerminateJobRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTerminateJobRunMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the configuration for a location.
-     * 
- */ - public com.google.cloud.deploy.v1.Config getConfig(com.google.cloud.deploy.v1.GetConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Automation in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createAutomation(com.google.cloud.deploy.v1.CreateAutomationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAutomationMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Automation resource.
-     * 
- */ - public com.google.longrunning.Operation updateAutomation(com.google.cloud.deploy.v1.UpdateAutomationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAutomationMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Automation resource.
-     * 
- */ - public com.google.longrunning.Operation deleteAutomation(com.google.cloud.deploy.v1.DeleteAutomationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAutomationMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Automation.
-     * 
- */ - public com.google.cloud.deploy.v1.Automation getAutomation(com.google.cloud.deploy.v1.GetAutomationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAutomationMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Automations in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListAutomationsResponse listAutomations(com.google.cloud.deploy.v1.ListAutomationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAutomationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single AutomationRun.
-     * 
- */ - public com.google.cloud.deploy.v1.AutomationRun getAutomationRun(com.google.cloud.deploy.v1.GetAutomationRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAutomationRunMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists AutomationRuns in a given project and location.
-     * 
- */ - public com.google.cloud.deploy.v1.ListAutomationRunsResponse listAutomationRuns(com.google.cloud.deploy.v1.ListAutomationRunsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAutomationRunsMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
-     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
-     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
-     * in a different state returns an `FAILED_PRECONDITION` error.
-     * 
- */ - public com.google.cloud.deploy.v1.CancelAutomationRunResponse cancelAutomationRun(com.google.cloud.deploy.v1.CancelAutomationRunRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelAutomationRunMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service CloudDeploy. - *
-   * CloudDeploy service creates and manages Continuous Delivery operations
-   * on Google Cloud Platform via Skaffold (https://skaffold.dev).
-   * 
- */ - public static final class CloudDeployFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudDeployFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CloudDeployFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudDeployFutureStub(channel, callOptions); - } - - /** - *
-     * Lists DeliveryPipelines in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDeliveryPipelines( - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDeliveryPipelinesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single DeliveryPipeline.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDeliveryPipeline( - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDeliveryPipelineMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new DeliveryPipeline in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDeliveryPipeline( - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDeliveryPipelineMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single DeliveryPipeline.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDeliveryPipeline( - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDeliveryPipelineMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single DeliveryPipeline.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDeliveryPipeline( - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDeliveryPipelineMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Targets in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTargets( - com.google.cloud.deploy.v1.ListTargetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTargetsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a `Rollout` to roll back the specified target.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollbackTarget( - com.google.cloud.deploy.v1.RollbackTargetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackTargetMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Target.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTarget( - com.google.cloud.deploy.v1.GetTargetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTargetMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Target in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTarget( - com.google.cloud.deploy.v1.CreateTargetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTargetMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Target.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTarget( - com.google.cloud.deploy.v1.UpdateTargetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTargetMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Target.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTarget( - com.google.cloud.deploy.v1.DeleteTargetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTargetMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CustomTargetTypes in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCustomTargetTypes( - com.google.cloud.deploy.v1.ListCustomTargetTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomTargetTypesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single CustomTargetType.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCustomTargetType( - com.google.cloud.deploy.v1.GetCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomTargetTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new CustomTargetType in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCustomTargetType( - com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomTargetTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a single CustomTargetType.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCustomTargetType( - com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomTargetTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single CustomTargetType.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCustomTargetType( - com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCustomTargetTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Releases in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listReleases( - com.google.cloud.deploy.v1.ListReleasesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListReleasesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Release.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRelease( - com.google.cloud.deploy.v1.GetReleaseRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetReleaseMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Release in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRelease( - com.google.cloud.deploy.v1.CreateReleaseRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateReleaseMethod(), getCallOptions()), request); - } - - /** - *
-     * Abandons a Release in the Delivery Pipeline.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture abandonRelease( - com.google.cloud.deploy.v1.AbandonReleaseRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAbandonReleaseMethod(), getCallOptions()), request); - } - - /** - *
-     * Approves a Rollout.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture approveRollout( - com.google.cloud.deploy.v1.ApproveRolloutRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getApproveRolloutMethod(), getCallOptions()), request); - } - - /** - *
-     * Advances a Rollout in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture advanceRollout( - com.google.cloud.deploy.v1.AdvanceRolloutRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAdvanceRolloutMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels a Rollout in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelRollout( - com.google.cloud.deploy.v1.CancelRolloutRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelRolloutMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Rollouts in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRollouts( - com.google.cloud.deploy.v1.ListRolloutsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRolloutsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Rollout.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRollout( - com.google.cloud.deploy.v1.GetRolloutRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRolloutMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Rollout in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRollout( - com.google.cloud.deploy.v1.CreateRolloutRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRolloutMethod(), getCallOptions()), request); - } - - /** - *
-     * Ignores the specified Job in a Rollout.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture ignoreJob( - com.google.cloud.deploy.v1.IgnoreJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getIgnoreJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Retries the specified Job in a Rollout.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture retryJob( - com.google.cloud.deploy.v1.RetryJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetryJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists JobRuns in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listJobRuns( - com.google.cloud.deploy.v1.ListJobRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single JobRun.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJobRun( - com.google.cloud.deploy.v1.GetJobRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobRunMethod(), getCallOptions()), request); - } - - /** - *
-     * Terminates a Job Run in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture terminateJobRun( - com.google.cloud.deploy.v1.TerminateJobRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTerminateJobRunMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the configuration for a location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getConfig( - com.google.cloud.deploy.v1.GetConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Automation in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAutomation( - com.google.cloud.deploy.v1.CreateAutomationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAutomationMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Automation resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAutomation( - com.google.cloud.deploy.v1.UpdateAutomationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAutomationMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Automation resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAutomation( - com.google.cloud.deploy.v1.DeleteAutomationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAutomationMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Automation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAutomation( - com.google.cloud.deploy.v1.GetAutomationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAutomationMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Automations in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAutomations( - com.google.cloud.deploy.v1.ListAutomationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAutomationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single AutomationRun.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAutomationRun( - com.google.cloud.deploy.v1.GetAutomationRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAutomationRunMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists AutomationRuns in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAutomationRuns( - com.google.cloud.deploy.v1.ListAutomationRunsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAutomationRunsMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels an AutomationRun. The `state` of the `AutomationRun` after
-     * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
-     * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
-     * in a different state returns an `FAILED_PRECONDITION` error.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelAutomationRun( - com.google.cloud.deploy.v1.CancelAutomationRunRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelAutomationRunMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DELIVERY_PIPELINES = 0; - private static final int METHODID_GET_DELIVERY_PIPELINE = 1; - private static final int METHODID_CREATE_DELIVERY_PIPELINE = 2; - private static final int METHODID_UPDATE_DELIVERY_PIPELINE = 3; - private static final int METHODID_DELETE_DELIVERY_PIPELINE = 4; - private static final int METHODID_LIST_TARGETS = 5; - private static final int METHODID_ROLLBACK_TARGET = 6; - private static final int METHODID_GET_TARGET = 7; - private static final int METHODID_CREATE_TARGET = 8; - private static final int METHODID_UPDATE_TARGET = 9; - private static final int METHODID_DELETE_TARGET = 10; - private static final int METHODID_LIST_CUSTOM_TARGET_TYPES = 11; - private static final int METHODID_GET_CUSTOM_TARGET_TYPE = 12; - private static final int METHODID_CREATE_CUSTOM_TARGET_TYPE = 13; - private static final int METHODID_UPDATE_CUSTOM_TARGET_TYPE = 14; - private static final int METHODID_DELETE_CUSTOM_TARGET_TYPE = 15; - private static final int METHODID_LIST_RELEASES = 16; - private static final int METHODID_GET_RELEASE = 17; - private static final int METHODID_CREATE_RELEASE = 18; - private static final int METHODID_ABANDON_RELEASE = 19; - private static final int METHODID_APPROVE_ROLLOUT = 20; - private static final int METHODID_ADVANCE_ROLLOUT = 21; - private static final int METHODID_CANCEL_ROLLOUT = 22; - private static final int METHODID_LIST_ROLLOUTS = 23; - private static final int METHODID_GET_ROLLOUT = 24; - private static final int METHODID_CREATE_ROLLOUT = 25; - private static final int METHODID_IGNORE_JOB = 26; - private static final int METHODID_RETRY_JOB = 27; - private static final int METHODID_LIST_JOB_RUNS = 28; - private static final int METHODID_GET_JOB_RUN = 29; - private static final int METHODID_TERMINATE_JOB_RUN = 30; - private static final int METHODID_GET_CONFIG = 31; - private static final int METHODID_CREATE_AUTOMATION = 32; - private static final int METHODID_UPDATE_AUTOMATION = 33; - private static final int METHODID_DELETE_AUTOMATION = 34; - private static final int METHODID_GET_AUTOMATION = 35; - private static final int METHODID_LIST_AUTOMATIONS = 36; - private static final int METHODID_GET_AUTOMATION_RUN = 37; - private static final int METHODID_LIST_AUTOMATION_RUNS = 38; - private static final int METHODID_CANCEL_AUTOMATION_RUN = 39; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService 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_LIST_DELIVERY_PIPELINES: - serviceImpl.listDeliveryPipelines((com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DELIVERY_PIPELINE: - serviceImpl.getDeliveryPipeline((com.google.cloud.deploy.v1.GetDeliveryPipelineRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DELIVERY_PIPELINE: - serviceImpl.createDeliveryPipeline((com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DELIVERY_PIPELINE: - serviceImpl.updateDeliveryPipeline((com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DELIVERY_PIPELINE: - serviceImpl.deleteDeliveryPipeline((com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TARGETS: - serviceImpl.listTargets((com.google.cloud.deploy.v1.ListTargetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_TARGET: - serviceImpl.rollbackTarget((com.google.cloud.deploy.v1.RollbackTargetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TARGET: - serviceImpl.getTarget((com.google.cloud.deploy.v1.GetTargetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TARGET: - serviceImpl.createTarget((com.google.cloud.deploy.v1.CreateTargetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TARGET: - serviceImpl.updateTarget((com.google.cloud.deploy.v1.UpdateTargetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TARGET: - serviceImpl.deleteTarget((com.google.cloud.deploy.v1.DeleteTargetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUSTOM_TARGET_TYPES: - serviceImpl.listCustomTargetTypes((com.google.cloud.deploy.v1.ListCustomTargetTypesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_TARGET_TYPE: - serviceImpl.getCustomTargetType((com.google.cloud.deploy.v1.GetCustomTargetTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUSTOM_TARGET_TYPE: - serviceImpl.createCustomTargetType((com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CUSTOM_TARGET_TYPE: - serviceImpl.updateCustomTargetType((com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CUSTOM_TARGET_TYPE: - serviceImpl.deleteCustomTargetType((com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_RELEASES: - serviceImpl.listReleases((com.google.cloud.deploy.v1.ListReleasesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_RELEASE: - serviceImpl.getRelease((com.google.cloud.deploy.v1.GetReleaseRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_RELEASE: - serviceImpl.createRelease((com.google.cloud.deploy.v1.CreateReleaseRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ABANDON_RELEASE: - serviceImpl.abandonRelease((com.google.cloud.deploy.v1.AbandonReleaseRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_APPROVE_ROLLOUT: - serviceImpl.approveRollout((com.google.cloud.deploy.v1.ApproveRolloutRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ADVANCE_ROLLOUT: - serviceImpl.advanceRollout((com.google.cloud.deploy.v1.AdvanceRolloutRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_ROLLOUT: - serviceImpl.cancelRollout((com.google.cloud.deploy.v1.CancelRolloutRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ROLLOUTS: - serviceImpl.listRollouts((com.google.cloud.deploy.v1.ListRolloutsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ROLLOUT: - serviceImpl.getRollout((com.google.cloud.deploy.v1.GetRolloutRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ROLLOUT: - serviceImpl.createRollout((com.google.cloud.deploy.v1.CreateRolloutRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IGNORE_JOB: - serviceImpl.ignoreJob((com.google.cloud.deploy.v1.IgnoreJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRY_JOB: - serviceImpl.retryJob((com.google.cloud.deploy.v1.RetryJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOB_RUNS: - serviceImpl.listJobRuns((com.google.cloud.deploy.v1.ListJobRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB_RUN: - serviceImpl.getJobRun((com.google.cloud.deploy.v1.GetJobRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TERMINATE_JOB_RUN: - serviceImpl.terminateJobRun((com.google.cloud.deploy.v1.TerminateJobRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONFIG: - serviceImpl.getConfig((com.google.cloud.deploy.v1.GetConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AUTOMATION: - serviceImpl.createAutomation((com.google.cloud.deploy.v1.CreateAutomationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AUTOMATION: - serviceImpl.updateAutomation((com.google.cloud.deploy.v1.UpdateAutomationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AUTOMATION: - serviceImpl.deleteAutomation((com.google.cloud.deploy.v1.DeleteAutomationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AUTOMATION: - serviceImpl.getAutomation((com.google.cloud.deploy.v1.GetAutomationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AUTOMATIONS: - serviceImpl.listAutomations((com.google.cloud.deploy.v1.ListAutomationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AUTOMATION_RUN: - serviceImpl.getAutomationRun((com.google.cloud.deploy.v1.GetAutomationRunRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AUTOMATION_RUNS: - serviceImpl.listAutomationRuns((com.google.cloud.deploy.v1.ListAutomationRunsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_AUTOMATION_RUN: - serviceImpl.cancelAutomationRun((com.google.cloud.deploy.v1.CancelAutomationRunRequest) 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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDeliveryPipelinesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse>( - service, METHODID_LIST_DELIVERY_PIPELINES))) - .addMethod( - getGetDeliveryPipelineMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest, - com.google.cloud.deploy.v1.DeliveryPipeline>( - service, METHODID_GET_DELIVERY_PIPELINE))) - .addMethod( - getCreateDeliveryPipelineMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DELIVERY_PIPELINE))) - .addMethod( - getUpdateDeliveryPipelineMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DELIVERY_PIPELINE))) - .addMethod( - getDeleteDeliveryPipelineMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_DELIVERY_PIPELINE))) - .addMethod( - getListTargetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListTargetsRequest, - com.google.cloud.deploy.v1.ListTargetsResponse>( - service, METHODID_LIST_TARGETS))) - .addMethod( - getRollbackTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.RollbackTargetRequest, - com.google.cloud.deploy.v1.RollbackTargetResponse>( - service, METHODID_ROLLBACK_TARGET))) - .addMethod( - getGetTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetTargetRequest, - com.google.cloud.deploy.v1.Target>( - service, METHODID_GET_TARGET))) - .addMethod( - getCreateTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateTargetRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_TARGET))) - .addMethod( - getUpdateTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.UpdateTargetRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_TARGET))) - .addMethod( - getDeleteTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.DeleteTargetRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_TARGET))) - .addMethod( - getListCustomTargetTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListCustomTargetTypesRequest, - com.google.cloud.deploy.v1.ListCustomTargetTypesResponse>( - service, METHODID_LIST_CUSTOM_TARGET_TYPES))) - .addMethod( - getGetCustomTargetTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetCustomTargetTypeRequest, - com.google.cloud.deploy.v1.CustomTargetType>( - service, METHODID_GET_CUSTOM_TARGET_TYPE))) - .addMethod( - getCreateCustomTargetTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_CUSTOM_TARGET_TYPE))) - .addMethod( - getUpdateCustomTargetTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_CUSTOM_TARGET_TYPE))) - .addMethod( - getDeleteCustomTargetTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_CUSTOM_TARGET_TYPE))) - .addMethod( - getListReleasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListReleasesRequest, - com.google.cloud.deploy.v1.ListReleasesResponse>( - service, METHODID_LIST_RELEASES))) - .addMethod( - getGetReleaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetReleaseRequest, - com.google.cloud.deploy.v1.Release>( - service, METHODID_GET_RELEASE))) - .addMethod( - getCreateReleaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateReleaseRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_RELEASE))) - .addMethod( - getAbandonReleaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.AbandonReleaseRequest, - com.google.cloud.deploy.v1.AbandonReleaseResponse>( - service, METHODID_ABANDON_RELEASE))) - .addMethod( - getApproveRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ApproveRolloutRequest, - com.google.cloud.deploy.v1.ApproveRolloutResponse>( - service, METHODID_APPROVE_ROLLOUT))) - .addMethod( - getAdvanceRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.AdvanceRolloutRequest, - com.google.cloud.deploy.v1.AdvanceRolloutResponse>( - service, METHODID_ADVANCE_ROLLOUT))) - .addMethod( - getCancelRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CancelRolloutRequest, - com.google.cloud.deploy.v1.CancelRolloutResponse>( - service, METHODID_CANCEL_ROLLOUT))) - .addMethod( - getListRolloutsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListRolloutsRequest, - com.google.cloud.deploy.v1.ListRolloutsResponse>( - service, METHODID_LIST_ROLLOUTS))) - .addMethod( - getGetRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetRolloutRequest, - com.google.cloud.deploy.v1.Rollout>( - service, METHODID_GET_ROLLOUT))) - .addMethod( - getCreateRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateRolloutRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_ROLLOUT))) - .addMethod( - getIgnoreJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.IgnoreJobRequest, - com.google.cloud.deploy.v1.IgnoreJobResponse>( - service, METHODID_IGNORE_JOB))) - .addMethod( - getRetryJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.RetryJobRequest, - com.google.cloud.deploy.v1.RetryJobResponse>( - service, METHODID_RETRY_JOB))) - .addMethod( - getListJobRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListJobRunsRequest, - com.google.cloud.deploy.v1.ListJobRunsResponse>( - service, METHODID_LIST_JOB_RUNS))) - .addMethod( - getGetJobRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetJobRunRequest, - com.google.cloud.deploy.v1.JobRun>( - service, METHODID_GET_JOB_RUN))) - .addMethod( - getTerminateJobRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.TerminateJobRunRequest, - com.google.cloud.deploy.v1.TerminateJobRunResponse>( - service, METHODID_TERMINATE_JOB_RUN))) - .addMethod( - getGetConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetConfigRequest, - com.google.cloud.deploy.v1.Config>( - service, METHODID_GET_CONFIG))) - .addMethod( - getCreateAutomationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateAutomationRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_AUTOMATION))) - .addMethod( - getUpdateAutomationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.UpdateAutomationRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_AUTOMATION))) - .addMethod( - getDeleteAutomationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.DeleteAutomationRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_AUTOMATION))) - .addMethod( - getGetAutomationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetAutomationRequest, - com.google.cloud.deploy.v1.Automation>( - service, METHODID_GET_AUTOMATION))) - .addMethod( - getListAutomationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListAutomationsRequest, - com.google.cloud.deploy.v1.ListAutomationsResponse>( - service, METHODID_LIST_AUTOMATIONS))) - .addMethod( - getGetAutomationRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetAutomationRunRequest, - com.google.cloud.deploy.v1.AutomationRun>( - service, METHODID_GET_AUTOMATION_RUN))) - .addMethod( - getListAutomationRunsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListAutomationRunsRequest, - com.google.cloud.deploy.v1.ListAutomationRunsResponse>( - service, METHODID_LIST_AUTOMATION_RUNS))) - .addMethod( - getCancelAutomationRunMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CancelAutomationRunRequest, - com.google.cloud.deploy.v1.CancelAutomationRunResponse>( - service, METHODID_CANCEL_AUTOMATION_RUN))) - .build(); - } - - private static abstract class CloudDeployBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CloudDeployBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CloudDeploy"); - } - } - - private static final class CloudDeployFileDescriptorSupplier - extends CloudDeployBaseDescriptorSupplier { - CloudDeployFileDescriptorSupplier() {} - } - - private static final class CloudDeployMethodDescriptorSupplier - extends CloudDeployBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - CloudDeployMethodDescriptorSupplier(java.lang.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 (CloudDeployGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudDeployFileDescriptorSupplier()) - .addMethod(getListDeliveryPipelinesMethod()) - .addMethod(getGetDeliveryPipelineMethod()) - .addMethod(getCreateDeliveryPipelineMethod()) - .addMethod(getUpdateDeliveryPipelineMethod()) - .addMethod(getDeleteDeliveryPipelineMethod()) - .addMethod(getListTargetsMethod()) - .addMethod(getRollbackTargetMethod()) - .addMethod(getGetTargetMethod()) - .addMethod(getCreateTargetMethod()) - .addMethod(getUpdateTargetMethod()) - .addMethod(getDeleteTargetMethod()) - .addMethod(getListCustomTargetTypesMethod()) - .addMethod(getGetCustomTargetTypeMethod()) - .addMethod(getCreateCustomTargetTypeMethod()) - .addMethod(getUpdateCustomTargetTypeMethod()) - .addMethod(getDeleteCustomTargetTypeMethod()) - .addMethod(getListReleasesMethod()) - .addMethod(getGetReleaseMethod()) - .addMethod(getCreateReleaseMethod()) - .addMethod(getAbandonReleaseMethod()) - .addMethod(getApproveRolloutMethod()) - .addMethod(getAdvanceRolloutMethod()) - .addMethod(getCancelRolloutMethod()) - .addMethod(getListRolloutsMethod()) - .addMethod(getGetRolloutMethod()) - .addMethod(getCreateRolloutMethod()) - .addMethod(getIgnoreJobMethod()) - .addMethod(getRetryJobMethod()) - .addMethod(getListJobRunsMethod()) - .addMethod(getGetJobRunMethod()) - .addMethod(getTerminateJobRunMethod()) - .addMethod(getGetConfigMethod()) - .addMethod(getCreateAutomationMethod()) - .addMethod(getUpdateAutomationMethod()) - .addMethod(getDeleteAutomationMethod()) - .addMethod(getGetAutomationMethod()) - .addMethod(getListAutomationsMethod()) - .addMethod(getGetAutomationRunMethod()) - .addMethod(getListAutomationRunsMethod()) - .addMethod(getCancelAutomationRunMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequestOrBuilder.java deleted file mode 100644 index 16b5a551392b..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface AbandonReleaseRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AbandonReleaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the Release. Format is
-   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the Release. Format is
-   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponseOrBuilder.java deleted file mode 100644 index 999b943edf74..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AbandonReleaseResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface AbandonReleaseResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AbandonReleaseResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobOrBuilder.java deleted file mode 100644 index 2678cb93ffa5..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceChildRolloutJobOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface AdvanceChildRolloutJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceChildRolloutJob) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponseOrBuilder.java deleted file mode 100644 index 4e1e63b0ee43..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AdvanceRolloutResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface AdvanceRolloutResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AdvanceRolloutResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java deleted file mode 100644 index 4f7060394108..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface ApproveRolloutResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ApproveRolloutResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationPayloadProto.java deleted file mode 100644 index fccfbb1d51f3..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationPayloadProto.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/automation_payload.proto - -package com.google.cloud.deploy.v1; - -public final class AutomationPayloadProto { - private AutomationPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/deploy/v1/automation_payl" + - "oad.proto\022\026google.cloud.deploy.v1\032&googl" + - "e/cloud/deploy/v1/log_enums.proto\"x\n\017Aut" + - "omationEvent\022\017\n\007message\030\001 \001(\t\022\022\n\nautomat" + - "ion\030\002 \001(\t\022\024\n\014pipeline_uid\030\003 \001(\t\022*\n\004type\030" + - "\004 \001(\0162\034.google.cloud.deploy.v1.TypeBj\n\032c" + - "om.google.cloud.deploy.v1B\026AutomationPay" + - "loadProtoP\001Z2cloud.google.com/go/deploy/" + - "apiv1/deploypb;deploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_AutomationEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AutomationEvent_descriptor, - new java.lang.String[] { "Message", "Automation", "PipelineUid", "Type", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleConditionOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleConditionOrBuilder.java deleted file mode 100644 index 4fbb60df7687..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRuleConditionOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface AutomationRuleConditionOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.AutomationRuleCondition) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Optional. Details around targets enumerated in the rule.
-   * 
- * - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the targetsPresentCondition field is set. - */ - boolean hasTargetsPresentCondition(); - /** - *
-   * Optional. Details around targets enumerated in the rule.
-   * 
- * - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The targetsPresentCondition. - */ - com.google.cloud.deploy.v1.TargetsPresentCondition getTargetsPresentCondition(); - /** - *
-   * Optional. Details around targets enumerated in the rule.
-   * 
- * - * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunPayloadProto.java deleted file mode 100644 index c94322e62e19..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationRunPayloadProto.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/automationrun_payload.proto - -package com.google.cloud.deploy.v1; - -public final class AutomationRunPayloadProto { - private AutomationRunPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/deploy/v1/automationrun_p" + - "ayload.proto\022\026google.cloud.deploy.v1\032&go" + - "ogle/cloud/deploy/v1/log_enums.proto\"\306\001\n" + - "\022AutomationRunEvent\022\017\n\007message\030\001 \001(\t\022\026\n\016" + - "automation_run\030\002 \001(\t\022\024\n\014pipeline_uid\030\003 \001" + - "(\t\022\025\n\rautomation_id\030\004 \001(\t\022\017\n\007rule_id\030\005 \001" + - "(\t\022\035\n\025destination_target_id\030\006 \001(\t\022*\n\004typ" + - "e\030\007 \001(\0162\034.google.cloud.deploy.v1.TypeBm\n" + - "\032com.google.cloud.deploy.v1B\031AutomationR" + - "unPayloadProtoP\001Z2cloud.google.com/go/de" + - "ploy/apiv1/deploypb;deploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_AutomationRunEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AutomationRunEvent_descriptor, - new java.lang.String[] { "Message", "AutomationRun", "PipelineUid", "AutomationId", "RuleId", "DestinationTargetId", "Type", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequestOrBuilder.java deleted file mode 100644 index 85e857bf069c..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CancelAutomationRunRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelAutomationRunRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `AutomationRun`. Format is
-   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `AutomationRun`. Format is
-   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponseOrBuilder.java deleted file mode 100644 index 537ba5f5bc55..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelAutomationRunResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CancelAutomationRunResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelAutomationRunResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequestOrBuilder.java deleted file mode 100644 index 3cc959d26932..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CancelRolloutRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelRolloutRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the Rollout. Format is
-   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the Rollout. Format is
-   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponseOrBuilder.java deleted file mode 100644 index e60dc3903bc4..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CancelRolloutResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CancelRolloutResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CancelRolloutResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobsOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobsOrBuilder.java deleted file mode 100644 index 7c4c8b4ad1ee..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ChildRolloutJobsOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface ChildRolloutJobsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ChildRolloutJobs) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. List of CreateChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - java.util.List - getCreateRolloutJobsList(); - /** - *
-   * Output only. List of CreateChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.Job getCreateRolloutJobs(int index); - /** - *
-   * Output only. List of CreateChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - int getCreateRolloutJobsCount(); - /** - *
-   * Output only. List of CreateChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - java.util.List - getCreateRolloutJobsOrBuilderList(); - /** - *
-   * Output only. List of CreateChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job create_rollout_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.JobOrBuilder getCreateRolloutJobsOrBuilder( - int index); - - /** - *
-   * Output only. List of AdvanceChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - java.util.List - getAdvanceRolloutJobsList(); - /** - *
-   * Output only. List of AdvanceChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.Job getAdvanceRolloutJobs(int index); - /** - *
-   * Output only. List of AdvanceChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - int getAdvanceRolloutJobsCount(); - /** - *
-   * Output only. List of AdvanceChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - java.util.List - getAdvanceRolloutJobsOrBuilderList(); - /** - *
-   * Output only. List of AdvanceChildRolloutJobs
-   * 
- * - * repeated .google.cloud.deploy.v1.Job advance_rollout_jobs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.JobOrBuilder getAdvanceRolloutJobsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java deleted file mode 100644 index 1a9d1b4b812a..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java +++ /dev/null @@ -1,3017 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public final class CloudDeployProto { - private CloudDeployProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Stage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeployParameters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Strategy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Predeploy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Postdeploy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Standard_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Canary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Target_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Target_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DefaultPool_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PrivatePool_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GkeCluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_MultiTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Rollout_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Metadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Phase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Job_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeployJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_VerifyJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PredeployJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_JobRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Config_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Automation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AutomationRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RepairMode_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Retry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_Rollback_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AutomationRun_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RepairPhase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RetryPhase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/deploy/v1/cloud_deploy.pr" + - "oto\022\026google.cloud.deploy.v1\032\034google/api/" + - "annotations.proto\032\027google/api/client.pro" + - "to\032\037google/api/field_behavior.proto\032\031goo" + - "gle/api/resource.proto\032#google/longrunni" + - "ng/operations.proto\032\036google/protobuf/dur" + - "ation.proto\032\033google/protobuf/empty.proto" + - "\032 google/protobuf/field_mask.proto\032\037goog" + - "le/protobuf/timestamp.proto\032\026google/type" + - "/date.proto\"\352\005\n\020DeliveryPipeline\022\022\n\004name" + - "\030\001 \001(\tB\004\342A\001\001\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\023\n\013descr" + - "iption\030\003 \001(\t\022N\n\013annotations\030\004 \003(\01329.goog" + - "le.cloud.deploy.v1.DeliveryPipeline.Anno" + - "tationsEntry\022D\n\006labels\030\005 \003(\01324.google.cl" + - "oud.deploy.v1.DeliveryPipeline.LabelsEnt" + - "ry\0225\n\013create_time\030\006 \001(\0132\032.google.protobu" + - "f.TimestampB\004\342A\001\003\0225\n\013update_time\030\007 \001(\0132\032" + - ".google.protobuf.TimestampB\004\342A\001\003\022A\n\017seri" + - "al_pipeline\030\010 \001(\0132&.google.cloud.deploy." + - "v1.SerialPipelineH\000\022B\n\tcondition\030\013 \001(\0132)" + - ".google.cloud.deploy.v1.PipelineConditio" + - "nB\004\342A\001\003\022\014\n\004etag\030\n \001(\t\022\021\n\tsuspended\030\014 \001(\010" + - "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001:\177\352A|\n+clouddeploy.go" + - "ogleapis.com/DeliveryPipeline\022Mprojects/" + - "{project}/locations/{location}/deliveryP" + - "ipelines/{delivery_pipeline}B\n\n\010pipeline" + - "\"?\n\016SerialPipeline\022-\n\006stages\030\001 \003(\0132\035.goo" + - "gle.cloud.deploy.v1.Stage\"\261\001\n\005Stage\022\021\n\tt" + - "arget_id\030\001 \001(\t\022\020\n\010profiles\030\002 \003(\t\0228\n\010stra" + - "tegy\030\005 \001(\0132 .google.cloud.deploy.v1.Stra" + - "tegyB\004\342A\001\001\022I\n\021deploy_parameters\030\006 \003(\0132(." + - "google.cloud.deploy.v1.DeployParametersB" + - "\004\342A\001\001\"\253\002\n\020DeployParameters\022J\n\006values\030\001 \003" + - "(\01324.google.cloud.deploy.v1.DeployParame" + - "ters.ValuesEntryB\004\342A\001\002\022b\n\023match_target_l" + - "abels\030\002 \003(\0132?.google.cloud.deploy.v1.Dep" + - "loyParameters.MatchTargetLabelsEntryB\004\342A" + - "\001\001\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + - "\002 \001(\t:\0028\001\0328\n\026MatchTargetLabelsEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\211\001\n\010Strategy" + - "\0224\n\010standard\030\001 \001(\0132 .google.cloud.deploy" + - ".v1.StandardH\000\0220\n\006canary\030\002 \001(\0132\036.google." + - "cloud.deploy.v1.CanaryH\000B\025\n\023deployment_s" + - "trategy\"\"\n\tPredeploy\022\025\n\007actions\030\001 \003(\tB\004\342" + - "A\001\001\"#\n\nPostdeploy\022\025\n\007actions\030\001 \003(\tB\004\342A\001\001" + - "\"\224\001\n\010Standard\022\016\n\006verify\030\001 \001(\010\022:\n\tpredepl" + - "oy\030\002 \001(\0132!.google.cloud.deploy.v1.Predep" + - "loyB\004\342A\001\001\022<\n\npostdeploy\030\003 \001(\0132\".google.c" + - "loud.deploy.v1.PostdeployB\004\342A\001\001\"\360\001\n\006Cana" + - "ry\022C\n\016runtime_config\030\001 \001(\0132%.google.clou" + - "d.deploy.v1.RuntimeConfigB\004\342A\001\001\022E\n\021canar" + - "y_deployment\030\002 \001(\0132(.google.cloud.deploy" + - ".v1.CanaryDeploymentH\000\022R\n\030custom_canary_" + - "deployment\030\003 \001(\0132..google.cloud.deploy.v" + - "1.CustomCanaryDeploymentH\000B\006\n\004mode\"\267\001\n\020C" + - "anaryDeployment\022\031\n\013percentages\030\001 \003(\005B\004\342A" + - "\001\002\022\016\n\006verify\030\002 \001(\010\022:\n\tpredeploy\030\003 \001(\0132!." + - "google.cloud.deploy.v1.PredeployB\004\342A\001\001\022<" + - "\n\npostdeploy\030\004 \001(\0132\".google.cloud.deploy" + - ".v1.PostdeployB\004\342A\001\001\"\317\002\n\026CustomCanaryDep" + - "loyment\022W\n\rphase_configs\030\001 \003(\0132:.google." + - "cloud.deploy.v1.CustomCanaryDeployment.P" + - "haseConfigB\004\342A\001\002\032\333\001\n\013PhaseConfig\022\026\n\010phas" + - "e_id\030\001 \001(\tB\004\342A\001\002\022\030\n\npercentage\030\002 \001(\005B\004\342A" + - "\001\002\022\020\n\010profiles\030\003 \003(\t\022\016\n\006verify\030\004 \001(\010\022:\n\t" + - "predeploy\030\005 \001(\0132!.google.cloud.deploy.v1" + - ".PredeployB\004\342A\001\001\022<\n\npostdeploy\030\006 \001(\0132\".g" + - "oogle.cloud.deploy.v1.PostdeployB\004\342A\001\001\"\266" + - "\004\n\020KubernetesConfig\022[\n\024gateway_service_m" + - "esh\030\001 \001(\0132;.google.cloud.deploy.v1.Kuber" + - "netesConfig.GatewayServiceMeshH\000\022X\n\022serv" + - "ice_networking\030\002 \001(\0132:.google.cloud.depl" + - "oy.v1.KubernetesConfig.ServiceNetworking" + - "H\000\032\342\001\n\022GatewayServiceMesh\022\030\n\nhttp_route\030" + - "\001 \001(\tB\004\342A\001\002\022\025\n\007service\030\002 \001(\tB\004\342A\001\002\022\030\n\nde" + - "ployment\030\003 \001(\tB\004\342A\001\002\022?\n\026route_update_wai" + - "t_time\030\004 \001(\0132\031.google.protobuf.DurationB" + - "\004\342A\001\001\022@\n\027stable_cutback_duration\030\005 \001(\0132\031" + - ".google.protobuf.DurationB\004\342A\001\001\032p\n\021Servi" + - "ceNetworking\022\025\n\007service\030\001 \001(\tB\004\342A\001\002\022\030\n\nd" + - "eployment\030\002 \001(\tB\004\342A\001\002\022*\n\034disable_pod_ove" + - "rprovisioning\030\003 \001(\010B\004\342A\001\001B\024\n\022service_def" + - "inition\"\236\001\n\016CloudRunConfig\022!\n\031automatic_" + - "traffic_control\030\001 \001(\010\022\"\n\024canary_revision" + - "_tags\030\002 \003(\tB\004\342A\001\001\022!\n\023prior_revision_tags" + - "\030\003 \003(\tB\004\342A\001\001\022\"\n\024stable_revision_tags\030\004 \003" + - "(\tB\004\342A\001\001\"\236\001\n\rRuntimeConfig\022>\n\nkubernetes" + - "\030\001 \001(\0132(.google.cloud.deploy.v1.Kubernet" + - "esConfigH\000\022;\n\tcloud_run\030\002 \001(\0132&.google.c" + - "loud.deploy.v1.CloudRunConfigH\000B\020\n\016runti" + - "me_config\"Y\n\026PipelineReadyCondition\022\016\n\006s" + - "tatus\030\003 \001(\010\022/\n\013update_time\030\004 \001(\0132\032.googl" + - "e.protobuf.Timestamp\"\233\001\n\027TargetsPresentC" + - "ondition\022\016\n\006status\030\001 \001(\010\022?\n\017missing_targ" + - "ets\030\002 \003(\tB&\372A#\n!clouddeploy.googleapis.c" + - "om/Target\022/\n\013update_time\030\004 \001(\0132\032.google." + - "protobuf.Timestamp\"=\n\024TargetsTypeConditi" + - "on\022\016\n\006status\030\001 \001(\010\022\025\n\rerror_details\030\002 \001(" + - "\t\"\207\002\n\021PipelineCondition\022P\n\030pipeline_read" + - "y_condition\030\001 \001(\0132..google.cloud.deploy." + - "v1.PipelineReadyCondition\022R\n\031targets_pre" + - "sent_condition\030\003 \001(\0132/.google.cloud.depl" + - "oy.v1.TargetsPresentCondition\022L\n\026targets" + - "_type_condition\030\004 \001(\0132,.google.cloud.dep" + - "loy.v1.TargetsTypeCondition\"\255\001\n\034ListDeli" + - "veryPipelinesRequest\022D\n\006parent\030\001 \001(\tB4\342A" + - "\001\002\372A-\022+clouddeploy.googleapis.com/Delive" + - "ryPipeline\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 " + - "\001(\t\"\223\001\n\035ListDeliveryPipelinesResponse\022D\n" + - "\022delivery_pipelines\030\001 \003(\0132(.google.cloud" + - ".deploy.v1.DeliveryPipeline\022\027\n\017next_page" + - "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\032Get" + - "DeliveryPipelineRequest\022B\n\004name\030\001 \001(\tB4\342" + - "A\001\002\372A-\n+clouddeploy.googleapis.com/Deliv" + - "eryPipeline\"\213\002\n\035CreateDeliveryPipelineRe" + - "quest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+clouddep" + - "loy.googleapis.com/DeliveryPipeline\022\"\n\024d" + - "elivery_pipeline_id\030\002 \001(\tB\004\342A\001\002\022I\n\021deliv" + - "ery_pipeline\030\003 \001(\0132(.google.cloud.deploy" + - ".v1.DeliveryPipelineB\004\342A\001\002\022\030\n\nrequest_id" + - "\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001" + - "\001\"\365\001\n\035UpdateDeliveryPipelineRequest\0225\n\013u" + - "pdate_mask\030\001 \001(\0132\032.google.protobuf.Field" + - "MaskB\004\342A\001\002\022I\n\021delivery_pipeline\030\002 \001(\0132(." + - "google.cloud.deploy.v1.DeliveryPipelineB" + - "\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rallow" + - "_missing\030\004 \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\005 " + - "\001(\010B\004\342A\001\001\"\340\001\n\035DeleteDeliveryPipelineRequ" + - "est\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy." + - "googleapis.com/DeliveryPipeline\022\030\n\nreque" + - "st_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\003 \001(\010" + - "B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005f" + - "orce\030\006 \001(\010B\004\342A\001\001\022\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"o\n\024" + - "RollbackTargetConfig\0226\n\007rollout\030\001 \001(\0132\037." + - "google.cloud.deploy.v1.RolloutB\004\342A\001\001\022\037\n\021" + - "starting_phase_id\030\002 \001(\tB\004\342A\001\001\"\266\002\n\025Rollba" + - "ckTargetRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" + - "clouddeploy.googleapis.com/DeliveryPipel" + - "ine\022\027\n\ttarget_id\030\002 \001(\tB\004\342A\001\002\022\030\n\nrollout_" + - "id\030\003 \001(\tB\004\342A\001\002\022\030\n\nrelease_id\030\004 \001(\tB\004\342A\001\001" + - "\022\"\n\024rollout_to_roll_back\030\005 \001(\tB\004\342A\001\001\022K\n\017" + - "rollback_config\030\006 \001(\0132,.google.cloud.dep" + - "loy.v1.RollbackTargetConfigB\004\342A\001\001\022\033\n\rval" + - "idate_only\030\007 \001(\010B\004\342A\001\001\"_\n\026RollbackTarget" + - "Response\022E\n\017rollback_config\030\001 \001(\0132,.goog" + - "le.cloud.deploy.v1.RollbackTargetConfig\"" + - "\210\t\n\006Target\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022\027\n\ttarget" + - "_id\030\002 \001(\tB\004\342A\001\003\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\022\031\n\013de" + - "scription\030\004 \001(\tB\004\342A\001\001\022J\n\013annotations\030\005 \003" + - "(\0132/.google.cloud.deploy.v1.Target.Annot" + - "ationsEntryB\004\342A\001\001\022@\n\006labels\030\006 \003(\0132*.goog" + - "le.cloud.deploy.v1.Target.LabelsEntryB\004\342" + - "A\001\001\022\036\n\020require_approval\030\r \001(\010B\004\342A\001\001\0225\n\013c" + - "reate_time\030\010 \001(\0132\032.google.protobuf.Times" + - "tampB\004\342A\001\003\0225\n\013update_time\030\t \001(\0132\032.google" + - ".protobuf.TimestampB\004\342A\001\003\0227\n\003gke\030\017 \001(\0132\"" + - ".google.cloud.deploy.v1.GkeClusterB\004\342A\001\001" + - "H\000\022E\n\016anthos_cluster\030\021 \001(\0132%.google.clou" + - "d.deploy.v1.AnthosClusterB\004\342A\001\001H\000\022=\n\003run" + - "\030\022 \001(\0132(.google.cloud.deploy.v1.CloudRun" + - "LocationB\004\342A\001\001H\000\022A\n\014multi_target\030\023 \001(\0132#" + - ".google.cloud.deploy.v1.MultiTargetB\004\342A\001" + - "\001H\000\022C\n\rcustom_target\030\025 \001(\0132$.google.clou" + - "d.deploy.v1.CustomTargetB\004\342A\001\001H\000\022\022\n\004etag" + - "\030\014 \001(\tB\004\342A\001\001\022B\n\021execution_configs\030\020 \003(\0132" + - "\'.google.cloud.deploy.v1.ExecutionConfig" + - "\022U\n\021deploy_parameters\030\024 \003(\01324.google.clo" + - "ud.deploy.v1.Target.DeployParametersEntr" + - "yB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0327\n\025DeployPara" + - "metersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001:`\352A]\n!clouddeploy.googleapis.com/Tar" + - "get\0228projects/{project}/locations/{locat" + - "ion}/targets/{target}B\023\n\021deployment_targ" + - "et\"\326\004\n\017ExecutionConfig\022W\n\006usages\030\001 \003(\0162A" + - ".google.cloud.deploy.v1.ExecutionConfig." + - "ExecutionEnvironmentUsageB\004\342A\001\002\022A\n\014defau" + - "lt_pool\030\002 \001(\0132#.google.cloud.deploy.v1.D" + - "efaultPoolB\004\342A\001\001H\000\022A\n\014private_pool\030\003 \001(\013" + - "2#.google.cloud.deploy.v1.PrivatePoolB\004\342" + - "A\001\001H\000\022B\n\013worker_pool\030\004 \001(\tB-\342A\001\001\372A&\n$clo" + - "udbuild.googleapis.com/WorkerPool\022\035\n\017ser" + - "vice_account\030\005 \001(\tB\004\342A\001\001\022\036\n\020artifact_sto" + - "rage\030\006 \001(\tB\004\342A\001\001\022:\n\021execution_timeout\030\007 " + - "\001(\0132\031.google.protobuf.DurationB\004\342A\001\001\"\213\001\n" + - "\031ExecutionEnvironmentUsage\022+\n\'EXECUTION_" + - "ENVIRONMENT_USAGE_UNSPECIFIED\020\000\022\n\n\006RENDE" + - "R\020\001\022\n\n\006DEPLOY\020\002\022\n\n\006VERIFY\020\003\022\r\n\tPREDEPLOY" + - "\020\004\022\016\n\nPOSTDEPLOY\020\005B\027\n\025execution_environm" + - "ent\"L\n\013DefaultPool\022\035\n\017service_account\030\001 " + - "\001(\tB\004\342A\001\001\022\036\n\020artifact_storage\030\002 \001(\tB\004\342A\001" + - "\001\"\220\001\n\013PrivatePool\022B\n\013worker_pool\030\001 \001(\tB-" + - "\342A\001\002\372A&\n$cloudbuild.googleapis.com/Worke" + - "rPool\022\035\n\017service_account\030\002 \001(\tB\004\342A\001\001\022\036\n\020" + - "artifact_storage\030\003 \001(\tB\004\342A\001\001\"_\n\nGkeClust" + - "er\0226\n\007cluster\030\001 \001(\tB%\372A\"\n container.goog" + - "leapis.com/Cluster\022\031\n\013internal_ip\030\002 \001(\010B" + - "\004\342A\001\001\"J\n\rAnthosCluster\0229\n\nmembership\030\001 \001" + - "(\tB%\372A\"\n gkehub.googleapis.com/Membershi" + - "p\"P\n\020CloudRunLocation\022<\n\010location\030\001 \001(\tB" + - "*\342A\001\002\372A#\n!locations.googleapis.com/Locat" + - "ion\"\'\n\013MultiTarget\022\030\n\ntarget_ids\030\001 \003(\tB\004" + - "\342A\001\002\"`\n\014CustomTarget\022P\n\022custom_target_ty" + - "pe\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy.googleapi" + - "s.com/CustomTargetType\"\261\001\n\022ListTargetsRe" + - "quest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\022!clouddep" + - "loy.googleapis.com/Target\022\027\n\tpage_size\030\002" + - " \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006" + - "filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A" + - "\001\001\"t\n\023ListTargetsResponse\022/\n\007targets\030\001 \003" + - "(\0132\036.google.cloud.deploy.v1.Target\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + - "\"L\n\020GetTargetRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002" + - "\372A#\n!clouddeploy.googleapis.com/Target\"\327" + - "\001\n\023CreateTargetRequest\022:\n\006parent\030\001 \001(\tB*" + - "\342A\001\002\372A#\022!clouddeploy.googleapis.com/Targ" + - "et\022\027\n\ttarget_id\030\002 \001(\tB\004\342A\001\002\0224\n\006target\030\003 " + - "\001(\0132\036.google.cloud.deploy.v1.TargetB\004\342A\001" + - "\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_" + - "only\030\005 \001(\010B\004\342A\001\001\"\326\001\n\023UpdateTargetRequest" + - "\0225\n\013update_mask\030\001 \001(\0132\032.google.protobuf." + - "FieldMaskB\004\342A\001\002\0224\n\006target\030\002 \001(\0132\036.google" + - ".cloud.deploy.v1.TargetB\004\342A\001\002\022\030\n\nrequest" + - "_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\004 \001(\010B\004" + - "\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\267\001\n\023De" + - "leteTargetRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#" + - "\n!clouddeploy.googleapis.com/Target\022\030\n\nr" + - "equest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\003" + - " \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022" + - "\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"\340\005\n\020CustomTargetType" + - "\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022#\n\025custom_target_ty" + - "pe_id\030\002 \001(\tB\004\342A\001\003\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\022\031\n\013" + - "description\030\004 \001(\tB\004\342A\001\001\022T\n\013annotations\030\005" + - " \003(\01329.google.cloud.deploy.v1.CustomTarg" + - "etType.AnnotationsEntryB\004\342A\001\001\022J\n\006labels\030" + - "\006 \003(\01324.google.cloud.deploy.v1.CustomTar" + - "getType.LabelsEntryB\004\342A\001\001\0225\n\013create_time" + - "\030\007 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + - "\0225\n\013update_time\030\010 \001(\0132\032.google.protobuf." + - "TimestampB\004\342A\001\003\022\022\n\004etag\030\t \001(\tB\004\342A\001\001\022M\n\016c" + - "ustom_actions\030\n \001(\01323.google.cloud.deplo" + - "y.v1.CustomTargetSkaffoldActionsH\000\0322\n\020An" + - "notationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001:\200\001\352A}\n+clouddeploy.googlea" + - "pis.com/CustomTargetType\022Nprojects/{proj" + - "ect}/locations/{location}/customTargetTy" + - "pes/{custom_target_type}B\014\n\ndefinition\"\250" + - "\001\n\033CustomTargetSkaffoldActions\022\033\n\rrender" + - "_action\030\001 \001(\tB\004\342A\001\001\022\033\n\rdeploy_action\030\002 \001" + - "(\tB\004\342A\001\002\022O\n\030include_skaffold_modules\030\003 \003" + - "(\0132\'.google.cloud.deploy.v1.SkaffoldModu" + - "lesB\004\342A\001\001\"\346\002\n\017SkaffoldModules\022\025\n\007configs" + - "\030\001 \003(\tB\004\342A\001\001\022H\n\003git\030\002 \001(\01329.google.cloud" + - ".deploy.v1.SkaffoldModules.SkaffoldGitSo" + - "urceH\000\022Y\n\024google_cloud_storage\030\003 \001(\01329.g" + - "oogle.cloud.deploy.v1.SkaffoldModules.Sk" + - "affoldGCSSourceH\000\032N\n\021SkaffoldGitSource\022\022" + - "\n\004repo\030\001 \001(\tB\004\342A\001\002\022\022\n\004path\030\002 \001(\tB\004\342A\001\001\022\021" + - "\n\003ref\030\003 \001(\tB\004\342A\001\001\032=\n\021SkaffoldGCSSource\022\024" + - "\n\006source\030\001 \001(\tB\004\342A\001\002\022\022\n\004path\030\002 \001(\tB\004\342A\001\001" + - "B\010\n\006source\"\305\001\n\034ListCustomTargetTypesRequ" + - "est\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+clouddeplo" + - "y.googleapis.com/CustomTargetType\022\027\n\tpag" + - "e_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004" + - "\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005" + - " \001(\tB\004\342A\001\001\"\224\001\n\035ListCustomTargetTypesResp" + - "onse\022E\n\023custom_target_types\030\001 \003(\0132(.goog" + - "le.cloud.deploy.v1.CustomTargetType\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + - "\t\"`\n\032GetCustomTargetTypeRequest\022B\n\004name\030" + - "\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy.googleapis.c" + - "om/CustomTargetType\"\215\002\n\035CreateCustomTarg" + - "etTypeRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+" + - "clouddeploy.googleapis.com/CustomTargetT" + - "ype\022#\n\025custom_target_type_id\030\002 \001(\tB\004\342A\001\002" + - "\022J\n\022custom_target_type\030\003 \001(\0132(.google.cl" + - "oud.deploy.v1.CustomTargetTypeB\004\342A\001\002\022\030\n\n" + - "request_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + - "\005 \001(\010B\004\342A\001\001\"\366\001\n\035UpdateCustomTargetTypeRe" + - "quest\0225\n\013update_mask\030\001 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\004\342A\001\002\022J\n\022custom_target_ty" + - "pe\030\002 \001(\0132(.google.cloud.deploy.v1.Custom" + - "TargetTypeB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A" + - "\001\001\022\033\n\rallow_missing\030\004 \001(\010B\004\342A\001\001\022\033\n\rvalid" + - "ate_only\030\005 \001(\010B\004\342A\001\001\"\313\001\n\035DeleteCustomTar" + - "getTypeRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+c" + - "louddeploy.googleapis.com/CustomTargetTy" + - "pe\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_mi" + - "ssing\030\003 \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010" + - "B\004\342A\001\001\022\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"\221\001\n\017TargetAtt" + - "ribute\022\n\n\002id\030\001 \001(\t\022C\n\006labels\030\002 \003(\01323.goo" + - "gle.cloud.deploy.v1.TargetAttribute.Labe" + - "lsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t:\0028\001\"\301\027\n\007Release\022\022\n\004name\030\001 \001(\t" + - "B\004\342A\001\001\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\023\n\013description" + - "\030\003 \001(\t\022E\n\013annotations\030\004 \003(\01320.google.clo" + - "ud.deploy.v1.Release.AnnotationsEntry\022;\n" + - "\006labels\030\005 \003(\0132+.google.cloud.deploy.v1.R" + - "elease.LabelsEntry\022\027\n\tabandoned\030\027 \001(\010B\004\342" + - "A\001\003\0225\n\013create_time\030\006 \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\022;\n\021render_start_time\030" + - "\007 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "9\n\017render_end_time\030\010 \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\022\033\n\023skaffold_config_ur" + - "i\030\021 \001(\t\022\034\n\024skaffold_config_path\030\t \001(\t\022>\n" + - "\017build_artifacts\030\n \003(\0132%.google.cloud.de" + - "ploy.v1.BuildArtifact\022R\n\032delivery_pipeli" + - "ne_snapshot\030\013 \001(\0132(.google.cloud.deploy." + - "v1.DeliveryPipelineB\004\342A\001\003\022>\n\020target_snap" + - "shots\030\014 \003(\0132\036.google.cloud.deploy.v1.Tar" + - "getB\004\342A\001\003\022T\n\034custom_target_type_snapshot" + - "s\030\033 \003(\0132(.google.cloud.deploy.v1.CustomT" + - "argetTypeB\004\342A\001\003\022G\n\014render_state\030\r \001(\0162+." + - "google.cloud.deploy.v1.Release.RenderSta" + - "teB\004\342A\001\003\022\014\n\004etag\030\020 \001(\t\022\030\n\020skaffold_versi" + - "on\030\023 \001(\t\022T\n\020target_artifacts\030\024 \003(\01324.goo" + - "gle.cloud.deploy.v1.Release.TargetArtifa" + - "ctsEntryB\004\342A\001\003\022P\n\016target_renders\030\026 \003(\01322" + - ".google.cloud.deploy.v1.Release.TargetRe" + - "ndersEntryB\004\342A\001\003\022I\n\tcondition\030\030 \001(\01320.go" + - "ogle.cloud.deploy.v1.Release.ReleaseCond" + - "itionB\004\342A\001\003\022V\n\021deploy_parameters\030\031 \003(\01325" + - ".google.cloud.deploy.v1.Release.DeployPa" + - "rametersEntryB\004\342A\001\001\032\331\005\n\014TargetRender\022A\n\017" + - "rendering_build\030\001 \001(\tB(\342A\001\003\372A!\n\037cloudbui" + - "ld.googleapis.com/Build\022]\n\017rendering_sta" + - "te\030\002 \001(\0162>.google.cloud.deploy.v1.Releas" + - "e.TargetRender.TargetRenderStateB\004\342A\001\003\022>" + - "\n\010metadata\030\006 \001(\0132&.google.cloud.deploy.v" + - "1.RenderMetadataB\004\342A\001\003\022V\n\rfailure_cause\030" + - "\004 \001(\01629.google.cloud.deploy.v1.Release.T" + - "argetRender.FailureCauseB\004\342A\001\003\022\035\n\017failur" + - "e_message\030\005 \001(\tB\004\342A\001\003\"d\n\021TargetRenderSta" + - "te\022#\n\037TARGET_RENDER_STATE_UNSPECIFIED\020\000\022" + - "\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PROGRES" + - "S\020\003\"\211\002\n\014FailureCause\022\035\n\031FAILURE_CAUSE_UN" + - "SPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAILABLE\020\001" + - "\022\024\n\020EXECUTION_FAILED\020\002\022\036\n\032CLOUD_BUILD_RE" + - "QUEST_FAILED\020\003\022!\n\035VERIFICATION_CONFIG_NO" + - "T_FOUND\020\004\022\033\n\027CUSTOM_ACTION_NOT_FOUND\020\005\022%" + - "\n!DEPLOYMENT_STRATEGY_NOT_SUPPORTED\020\006\022 \n" + - "\034RENDER_FEATURE_NOT_SUPPORTED\020\007\032\'\n\025Relea" + - "seReadyCondition\022\016\n\006status\030\001 \001(\010\032\362\001\n\032Ska" + - "ffoldSupportedCondition\022\016\n\006status\030\001 \001(\010\022" + - "L\n\026skaffold_support_state\030\002 \001(\0162,.google" + - ".cloud.deploy.v1.SkaffoldSupportState\0229\n" + - "\025maintenance_mode_time\030\003 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022;\n\027support_expiration_t" + - "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\032\314\001" + - "\n\020ReleaseCondition\022V\n\027release_ready_cond" + - "ition\030\001 \001(\01325.google.cloud.deploy.v1.Rel" + - "ease.ReleaseReadyCondition\022`\n\034skaffold_s" + - "upported_condition\030\002 \001(\0132:.google.cloud." + - "deploy.v1.Release.SkaffoldSupportedCondi" + - "tion\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032^\n\024TargetArtifac" + - "tsEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.go" + - "ogle.cloud.deploy.v1.TargetArtifact:\0028\001\032" + - "b\n\022TargetRendersEntry\022\013\n\003key\030\001 \001(\t\022;\n\005va" + - "lue\030\002 \001(\0132,.google.cloud.deploy.v1.Relea" + - "se.TargetRender:\0028\001\0327\n\025DeployParametersE" + - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"W\n\013" + - "RenderState\022\034\n\030RENDER_STATE_UNSPECIFIED\020" + - "\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PROGR" + - "ESS\020\003:\212\001\352A\206\001\n\"clouddeploy.googleapis.com" + - "/Release\022`projects/{project}/locations/{" + - "location}/deliveryPipelines/{delivery_pi" + - "peline}/releases/{release}\"+\n\rBuildArtif" + - "act\022\r\n\005image\030\003 \001(\t\022\013\n\003tag\030\002 \001(\t\"\262\003\n\016Targ" + - "etArtifact\022\034\n\014artifact_uri\030\004 \001(\tB\004\342A\001\003H\000" + - "\022\"\n\024skaffold_config_path\030\002 \001(\tB\004\342A\001\003\022\033\n\r" + - "manifest_path\030\003 \001(\tB\004\342A\001\003\022Y\n\017phase_artif" + - "acts\030\005 \003(\0132:.google.cloud.deploy.v1.Targ" + - "etArtifact.PhaseArtifactsEntryB\004\342A\001\003\032r\n\r" + - "PhaseArtifact\022\"\n\024skaffold_config_path\030\001 " + - "\001(\tB\004\342A\001\003\022\033\n\rmanifest_path\030\003 \001(\tB\004\342A\001\003\022 " + - "\n\022job_manifests_path\030\004 \001(\tB\004\342A\001\003\032k\n\023Phas" + - "eArtifactsEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 " + - "\001(\01324.google.cloud.deploy.v1.TargetArtif" + - "act.PhaseArtifact:\0028\001B\005\n\003uri\"J\n\016DeployAr" + - "tifact\022\032\n\014artifact_uri\030\001 \001(\tB\004\342A\001\003\022\034\n\016ma" + - "nifest_paths\030\002 \003(\tB\004\342A\001\003\"N\n\026CloudRunRend" + - "erMetadata\0224\n\007service\030\001 \001(\tB#\342A\001\003\372A\034\n\032ru" + - "n.googleapis.com/Service\"\227\001\n\016RenderMetad" + - "ata\022G\n\tcloud_run\030\001 \001(\0132..google.cloud.de" + - "ploy.v1.CloudRunRenderMetadataB\004\342A\001\003\022<\n\006" + - "custom\030\002 \001(\0132&.google.cloud.deploy.v1.Cu" + - "stomMetadataB\004\342A\001\003\"\274\001\n\023ListReleasesReque" + - "st\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy" + - ".googleapis.com/DeliveryPipeline\022\027\n\tpage" + - "_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342" + - "A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 " + - "\001(\tB\004\342A\001\001\"w\n\024ListReleasesResponse\0221\n\010rel" + - "eases\030\001 \003(\0132\037.google.cloud.deploy.v1.Rel", - "ease\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreach" + - "able\030\003 \003(\t\"N\n\021GetReleaseRequest\0229\n\004name\030" + - "\001 \001(\tB+\342A\001\002\372A$\n\"clouddeploy.googleapis.c" + - "om/Release\"\345\001\n\024CreateReleaseRequest\022D\n\006p" + - "arent\030\001 \001(\tB4\342A\001\002\372A-\n+clouddeploy.google" + - "apis.com/DeliveryPipeline\022\030\n\nrelease_id\030" + - "\002 \001(\tB\004\342A\001\002\0226\n\007release\030\003 \001(\0132\037.google.cl" + - "oud.deploy.v1.ReleaseB\004\342A\001\002\022\030\n\nrequest_i" + - "d\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A" + - "\001\001\"\372\016\n\007Rollout\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022\021\n\003ui" + - "d\030\002 \001(\tB\004\342A\001\003\022\023\n\013description\030\003 \001(\t\022E\n\013an" + - "notations\030\004 \003(\01320.google.cloud.deploy.v1" + - ".Rollout.AnnotationsEntry\022;\n\006labels\030\005 \003(" + - "\0132+.google.cloud.deploy.v1.Rollout.Label" + - "sEntry\0225\n\013create_time\030\006 \001(\0132\032.google.pro" + - "tobuf.TimestampB\004\342A\001\003\0226\n\014approve_time\030\007 " + - "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0226\n" + - "\014enqueue_time\030\010 \001(\0132\032.google.protobuf.Ti" + - "mestampB\004\342A\001\003\022;\n\021deploy_start_time\030\t \001(\013" + - "2\032.google.protobuf.TimestampB\004\342A\001\003\0229\n\017de" + - "ploy_end_time\030\n \001(\0132\032.google.protobuf.Ti" + - "mestampB\004\342A\001\003\022\027\n\ttarget_id\030\022 \001(\tB\004\342A\001\002\022K" + - "\n\016approval_state\030\014 \001(\0162-.google.cloud.de" + - "ploy.v1.Rollout.ApprovalStateB\004\342A\001\003\022:\n\005s" + - "tate\030\r \001(\0162%.google.cloud.deploy.v1.Roll" + - "out.StateB\004\342A\001\003\022\034\n\016failure_reason\030\016 \001(\tB" + - "\004\342A\001\003\022A\n\017deploying_build\030\021 \001(\tB(\342A\001\003\372A!\n" + - "\037cloudbuild.googleapis.com/Build\022\014\n\004etag" + - "\030\020 \001(\t\022P\n\024deploy_failure_cause\030\023 \001(\0162,.g" + - "oogle.cloud.deploy.v1.Rollout.FailureCau" + - "seB\004\342A\001\003\0223\n\006phases\030\027 \003(\0132\035.google.cloud." + - "deploy.v1.PhaseB\004\342A\001\003\0228\n\010metadata\030\030 \001(\0132" + - " .google.cloud.deploy.v1.MetadataB\004\342A\001\003\022" + - " \n\022controller_rollout\030\031 \001(\tB\004\342A\001\003\022!\n\023rol" + - "lback_of_rollout\030\032 \001(\tB\004\342A\001\003\022%\n\027rolled_b" + - "ack_by_rollouts\030\033 \003(\tB\004\342A\001\003\0322\n\020Annotatio" + - "nsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032" + - "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\"{\n\rApprovalState\022\036\n\032APPROVAL_STAT" + - "E_UNSPECIFIED\020\000\022\022\n\016NEEDS_APPROVAL\020\001\022\032\n\026D" + - "OES_NOT_NEED_APPROVAL\020\002\022\014\n\010APPROVED\020\003\022\014\n" + - "\010REJECTED\020\004\"\304\001\n\005State\022\025\n\021STATE_UNSPECIFI" + - "ED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PR" + - "OGRESS\020\003\022\024\n\020PENDING_APPROVAL\020\004\022\025\n\021APPROV" + - "AL_REJECTED\020\005\022\013\n\007PENDING\020\006\022\023\n\017PENDING_RE" + - "LEASE\020\007\022\016\n\nCANCELLING\020\010\022\r\n\tCANCELLED\020\t\022\n" + - "\n\006HALTED\020\n\"\212\002\n\014FailureCause\022\035\n\031FAILURE_C" + - "AUSE_UNSPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAI" + - "LABLE\020\001\022\024\n\020EXECUTION_FAILED\020\002\022\025\n\021DEADLIN" + - "E_EXCEEDED\020\003\022\022\n\016RELEASE_FAILED\020\004\022\025\n\021RELE" + - "ASE_ABANDONED\020\005\022!\n\035VERIFICATION_CONFIG_N" + - "OT_FOUND\020\006\022\036\n\032CLOUD_BUILD_REQUEST_FAILED" + - "\020\007\022#\n\037OPERATION_FEATURE_NOT_SUPPORTED\020\010:" + - "\235\001\352A\231\001\n\"clouddeploy.googleapis.com/Rollo" + - "ut\022sprojects/{project}/locations/{locati" + - "on}/deliveryPipelines/{delivery_pipeline" + - "}/releases/{release}/rollouts/{rollout}\"" + - "\330\001\n\010Metadata\022A\n\tcloud_run\030\001 \001(\0132(.google" + - ".cloud.deploy.v1.CloudRunMetadataB\004\342A\001\003\022" + - "K\n\nautomation\030\002 \001(\01321.google.cloud.deplo" + - "y.v1.AutomationRolloutMetadataB\004\342A\001\003\022<\n\006" + - "custom\030\003 \001(\0132&.google.cloud.deploy.v1.Cu" + - "stomMetadataB\004\342A\001\003\"\350\001\n\024DeployJobRunMetad" + - "ata\022A\n\tcloud_run\030\001 \001(\0132(.google.cloud.de" + - "ploy.v1.CloudRunMetadataB\004\342A\001\003\022O\n\rcustom" + - "_target\030\002 \001(\01322.google.cloud.deploy.v1.C" + - "ustomTargetDeployMetadataB\004\342A\001\003\022<\n\006custo" + - "m\030\003 \001(\0132&.google.cloud.deploy.v1.CustomM" + - "etadataB\004\342A\001\003\"\252\001\n\020CloudRunMetadata\0224\n\007se" + - "rvice\030\001 \001(\tB#\342A\001\003\372A\034\n\032run.googleapis.com" + - "/Service\022\032\n\014service_urls\030\002 \003(\tB\004\342A\001\003\022\026\n\010" + - "revision\030\003 \001(\tB\004\342A\001\003\022,\n\003job\030\004 \001(\tB\037\342A\001\003\372" + - "A\030\n\026run.googleapis.com/Job\"8\n\032CustomTarg" + - "etDeployMetadata\022\032\n\014skip_message\030\001 \001(\tB\004" + - "\342A\001\003\"\216\001\n\031AutomationRolloutMetadata\022$\n\026pr" + - "omote_automation_run\030\001 \001(\tB\004\342A\001\003\022%\n\027adva" + - "nce_automation_runs\030\002 \003(\tB\004\342A\001\003\022$\n\026repai" + - "r_automation_runs\030\003 \003(\tB\004\342A\001\003\"\211\001\n\016Custom" + - "Metadata\022H\n\006values\030\001 \003(\01322.google.cloud." + - "deploy.v1.CustomMetadata.ValuesEntryB\004\342A" + - "\001\003\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + - "\002 \001(\t:\0028\001\"\201\003\n\005Phase\022\020\n\002id\030\001 \001(\tB\004\342A\001\003\0228\n" + - "\005state\030\003 \001(\0162#.google.cloud.deploy.v1.Ph" + - "ase.StateB\004\342A\001\003\022\032\n\014skip_message\030\006 \001(\tB\004\342" + - "A\001\003\022G\n\017deployment_jobs\030\004 \001(\0132&.google.cl" + - "oud.deploy.v1.DeploymentJobsB\004\342A\001\003H\000\022L\n\022" + - "child_rollout_jobs\030\005 \001(\0132(.google.cloud." + - "deploy.v1.ChildRolloutJobsB\004\342A\001\003H\000\"q\n\005St" + - "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022" + - "\017\n\013IN_PROGRESS\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILE" + - "D\020\004\022\013\n\007ABORTED\020\005\022\013\n\007SKIPPED\020\006B\006\n\004jobs\"\363\001" + - "\n\016DeploymentJobs\0225\n\ndeploy_job\030\001 \001(\0132\033.g" + - "oogle.cloud.deploy.v1.JobB\004\342A\001\003\0225\n\nverif" + - "y_job\030\002 \001(\0132\033.google.cloud.deploy.v1.Job" + - "B\004\342A\001\003\0228\n\rpredeploy_job\030\003 \001(\0132\033.google.c" + - "loud.deploy.v1.JobB\004\342A\001\003\0229\n\016postdeploy_j" + - "ob\030\004 \001(\0132\033.google.cloud.deploy.v1.JobB\004\342" + - "A\001\003\"\223\001\n\020ChildRolloutJobs\022>\n\023create_rollo" + - "ut_jobs\030\001 \003(\0132\033.google.cloud.deploy.v1.J" + - "obB\004\342A\001\003\022?\n\024advance_rollout_jobs\030\002 \003(\0132\033" + - ".google.cloud.deploy.v1.JobB\004\342A\001\003\"\201\006\n\003Jo" + - "b\022\020\n\002id\030\001 \001(\tB\004\342A\001\003\0226\n\005state\030\002 \001(\0162!.goo" + - "gle.cloud.deploy.v1.Job.StateB\004\342A\001\003\022\032\n\014s" + - "kip_message\030\010 \001(\tB\004\342A\001\003\022;\n\007job_run\030\003 \001(\t" + - "B*\342A\001\003\372A#\n!clouddeploy.googleapis.com/Jo" + - "bRun\022=\n\ndeploy_job\030\004 \001(\0132!.google.cloud." + - "deploy.v1.DeployJobB\004\342A\001\003H\000\022=\n\nverify_jo" + - "b\030\005 \001(\0132!.google.cloud.deploy.v1.VerifyJ" + - "obB\004\342A\001\003H\000\022C\n\rpredeploy_job\030\t \001(\0132$.goog" + - "le.cloud.deploy.v1.PredeployJobB\004\342A\001\003H\000\022" + - "E\n\016postdeploy_job\030\n \001(\0132%.google.cloud.d" + - "eploy.v1.PostdeployJobB\004\342A\001\003H\000\022W\n\030create" + - "_child_rollout_job\030\006 \001(\0132-.google.cloud." + - "deploy.v1.CreateChildRolloutJobB\004\342A\001\003H\000\022" + - "Y\n\031advance_child_rollout_job\030\007 \001(\0132..goo" + - "gle.cloud.deploy.v1.AdvanceChildRolloutJ" + - "obB\004\342A\001\003H\000\"\214\001\n\005State\022\025\n\021STATE_UNSPECIFIE" + - "D\020\000\022\013\n\007PENDING\020\001\022\014\n\010DISABLED\020\002\022\017\n\013IN_PRO" + - "GRESS\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\013\n\007AB" + - "ORTED\020\006\022\013\n\007SKIPPED\020\007\022\013\n\007IGNORED\020\010B\n\n\010job" + - "_type\"\013\n\tDeployJob\"\013\n\tVerifyJob\"%\n\014Prede" + - "ployJob\022\025\n\007actions\030\001 \003(\tB\004\342A\001\003\"&\n\rPostde" + - "ployJob\022\025\n\007actions\030\001 \003(\tB\004\342A\001\003\"\027\n\025Create" + - "ChildRolloutJob\"\030\n\026AdvanceChildRolloutJo" + - "b\"\263\001\n\023ListRolloutsRequest\022;\n\006parent\030\001 \001(" + - "\tB+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/R" + - "elease\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_" + - "token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022" + - "\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"w\n\024ListRolloutsR" + - "esponse\0221\n\010rollouts\030\001 \003(\0132\037.google.cloud" + - ".deploy.v1.Rollout\022\027\n\017next_page_token\030\002 " + - "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"N\n\021GetRolloutRe" + - "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clouddeplo" + - "y.googleapis.com/Rollout\"\375\001\n\024CreateRollo" + - "utRequest\022;\n\006parent\030\001 \001(\tB+\342A\001\002\372A$\n\"clou" + - "ddeploy.googleapis.com/Release\022\030\n\nrollou" + - "t_id\030\002 \001(\tB\004\342A\001\002\0226\n\007rollout\030\003 \001(\0132\037.goog" + - "le.cloud.deploy.v1.RolloutB\004\342A\001\002\022\030\n\nrequ" + - "est_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(" + - "\010B\004\342A\001\001\022\037\n\021starting_phase_id\030\007 \001(\tB\004\342A\001\001" + - "\"\207\002\n\021OperationMetadata\0225\n\013create_time\030\001 " + - "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0222\n" + - "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + - "ampB\004\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030" + - "\004 \001(\tB\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001" + - "\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342A\001\003\022" + - "\031\n\013api_version\030\007 \001(\tB\004\342A\001\003\"j\n\025ApproveRol" + - "loutRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clou" + - "ddeploy.googleapis.com/Rollout\022\026\n\010approv" + - "ed\030\002 \001(\010B\004\342A\001\002\"\030\n\026ApproveRolloutResponse" + - "\"j\n\025AdvanceRolloutRequest\0229\n\004name\030\001 \001(\tB" + - "+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/Rol" + - "lout\022\026\n\010phase_id\030\002 \001(\tB\004\342A\001\002\"\030\n\026AdvanceR" + - "olloutResponse\"Q\n\024CancelRolloutRequest\0229" + - "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clouddeploy.googl" + - "eapis.com/Rollout\"\027\n\025CancelRolloutRespon" + - "se\"~\n\020IgnoreJobRequest\022<\n\007rollout\030\001 \001(\tB" + - "+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/Rol" + - "lout\022\026\n\010phase_id\030\002 \001(\tB\004\342A\001\002\022\024\n\006job_id\030\003" + - " \001(\tB\004\342A\001\002\"\023\n\021IgnoreJobResponse\"}\n\017Retry" + - "JobRequest\022<\n\007rollout\030\001 \001(\tB+\342A\001\002\372A$\n\"cl" + - "ouddeploy.googleapis.com/Rollout\022\026\n\010phas" + - "e_id\030\002 \001(\tB\004\342A\001\002\022\024\n\006job_id\030\003 \001(\tB\004\342A\001\002\"\022" + - "\n\020RetryJobResponse\"R\n\025AbandonReleaseRequ" + - "est\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"clouddeploy." + - "googleapis.com/Release\"\030\n\026AbandonRelease" + - "Response\"\337\010\n\006JobRun\022\022\n\004name\030\001 \001(\tB\004\342A\001\001\022" + - "\021\n\003uid\030\002 \001(\tB\004\342A\001\003\022\026\n\010phase_id\030\003 \001(\tB\004\342A" + - "\001\003\022\024\n\006job_id\030\004 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + - "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "4\n\nstart_time\030\006 \001(\0132\032.google.protobuf.Ti" + - "mestampB\004\342A\001\003\0222\n\010end_time\030\007 \001(\0132\032.google" + - ".protobuf.TimestampB\004\342A\001\003\0229\n\005state\030\010 \001(\016" + - "2$.google.cloud.deploy.v1.JobRun.StateB\004" + - "\342A\001\003\022D\n\016deploy_job_run\030\t \001(\0132$.google.cl" + - "oud.deploy.v1.DeployJobRunB\004\342A\001\003H\000\022D\n\016ve" + - "rify_job_run\030\n \001(\0132$.google.cloud.deploy" + - ".v1.VerifyJobRunB\004\342A\001\003H\000\022J\n\021predeploy_jo" + - "b_run\030\016 \001(\0132\'.google.cloud.deploy.v1.Pre" + - "deployJobRunB\004\342A\001\003H\000\022L\n\022postdeploy_job_r" + - "un\030\017 \001(\0132(.google.cloud.deploy.v1.Postde" + - "ployJobRunB\004\342A\001\003H\000\022^\n\034create_child_rollo" + - "ut_job_run\030\014 \001(\01320.google.cloud.deploy.v" + - "1.CreateChildRolloutJobRunB\004\342A\001\003H\000\022`\n\035ad" + - "vance_child_rollout_job_run\030\r \001(\01321.goog" + - "le.cloud.deploy.v1.AdvanceChildRolloutJo" + - "bRunB\004\342A\001\003H\000\022\022\n\004etag\030\013 \001(\tB\004\342A\001\003\"k\n\005Stat" + - "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020" + - "\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\017\n\013TERMINAT" + - "ING\020\004\022\016\n\nTERMINATED\020\005:\257\001\352A\253\001\n!clouddeplo" + - "y.googleapis.com/JobRun\022\205\001projects/{proj" + - "ect}/locations/{location}/deliveryPipeli" + - "nes/{delivery_pipeline}/releases/{releas" + - "e}/rollouts/{rollout}/jobRuns/{job_run}B" + - "\t\n\007job_run\"\232\004\n\014DeployJobRun\0227\n\005build\030\001 \001" + - "(\tB(\342A\001\003\372A!\n\037cloudbuild.googleapis.com/B" + - "uild\022N\n\rfailure_cause\030\002 \001(\01621.google.clo" + - "ud.deploy.v1.DeployJobRun.FailureCauseB\004" + - "\342A\001\003\022\035\n\017failure_message\030\003 \001(\tB\004\342A\001\003\022D\n\010m" + - "etadata\030\004 \001(\0132,.google.cloud.deploy.v1.D" + - "eployJobRunMetadataB\004\342A\001\003\022>\n\010artifact\030\005 " + - "\001(\0132&.google.cloud.deploy.v1.DeployArtif" + - "actB\004\342A\001\003\"\333\001\n\014FailureCause\022\035\n\031FAILURE_CA" + - "USE_UNSPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAIL" + - "ABLE\020\001\022\024\n\020EXECUTION_FAILED\020\002\022\025\n\021DEADLINE" + - "_EXCEEDED\020\003\022 \n\034MISSING_RESOURCES_FOR_CAN" + - "ARY\020\004\022\036\n\032CLOUD_BUILD_REQUEST_FAILED\020\005\022 \n" + - "\034DEPLOY_FEATURE_NOT_SUPPORTED\020\006\"\255\003\n\014Veri" + - "fyJobRun\0227\n\005build\030\001 \001(\tB(\342A\001\003\372A!\n\037cloudb" + - "uild.googleapis.com/Build\022\032\n\014artifact_ur" + - "i\030\002 \001(\tB\004\342A\001\003\022\034\n\016event_log_path\030\003 \001(\tB\004\342" + - "A\001\003\022N\n\rfailure_cause\030\004 \001(\01621.google.clou" + - "d.deploy.v1.VerifyJobRun.FailureCauseB\004\342" + - "A\001\003\022\035\n\017failure_message\030\005 \001(\tB\004\342A\001\003\"\272\001\n\014F" + - "ailureCause\022\035\n\031FAILURE_CAUSE_UNSPECIFIED" + - "\020\000\022\033\n\027CLOUD_BUILD_UNAVAILABLE\020\001\022\024\n\020EXECU" + - "TION_FAILED\020\002\022\025\n\021DEADLINE_EXCEEDED\020\003\022!\n\035" + - "VERIFICATION_CONFIG_NOT_FOUND\020\004\022\036\n\032CLOUD" + - "_BUILD_REQUEST_FAILED\020\005\"\326\002\n\017PredeployJob" + - "Run\0227\n\005build\030\001 \001(\tB(\342A\001\003\372A!\n\037cloudbuild." + - "googleapis.com/Build\022Q\n\rfailure_cause\030\002 " + - "\001(\01624.google.cloud.deploy.v1.PredeployJo" + - "bRun.FailureCauseB\004\342A\001\003\022\035\n\017failure_messa" + - "ge\030\003 \001(\tB\004\342A\001\003\"\227\001\n\014FailureCause\022\035\n\031FAILU" + - "RE_CAUSE_UNSPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UN" + - "AVAILABLE\020\001\022\024\n\020EXECUTION_FAILED\020\002\022\025\n\021DEA" + - "DLINE_EXCEEDED\020\003\022\036\n\032CLOUD_BUILD_REQUEST_" + - "FAILED\020\004\"\330\002\n\020PostdeployJobRun\0227\n\005build\030\001" + - " \001(\tB(\342A\001\003\372A!\n\037cloudbuild.googleapis.com" + - "/Build\022R\n\rfailure_cause\030\002 \001(\01625.google.c" + - "loud.deploy.v1.PostdeployJobRun.FailureC" + - "auseB\004\342A\001\003\022\035\n\017failure_message\030\003 \001(\tB\004\342A\001" + - "\003\"\227\001\n\014FailureCause\022\035\n\031FAILURE_CAUSE_UNSP" + - "ECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAILABLE\020\001\022\024" + - "\n\020EXECUTION_FAILED\020\002\022\025\n\021DEADLINE_EXCEEDE" + - "D\020\003\022\036\n\032CLOUD_BUILD_REQUEST_FAILED\020\004\"Q\n\030C" + - "reateChildRolloutJobRun\022\025\n\007rollout\030\001 \001(\t" + - "B\004\342A\001\003\022\036\n\020rollout_phase_id\030\002 \001(\tB\004\342A\001\003\"R" + - "\n\031AdvanceChildRolloutJobRun\022\025\n\007rollout\030\001" + - " \001(\tB\004\342A\001\003\022\036\n\020rollout_phase_id\030\002 \001(\tB\004\342A" + - "\001\003\"\262\001\n\022ListJobRunsRequest\022;\n\006parent\030\001 \001(" + - "\tB+\342A\001\002\372A$\n\"clouddeploy.googleapis.com/R" + - "ollout\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_" + - "token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022" + - "\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"u\n\023ListJobRunsRe" + - "sponse\0220\n\010job_runs\030\001 \003(\0132\036.google.cloud." + - "deploy.v1.JobRun\022\027\n\017next_page_token\030\002 \001(" + - "\t\022\023\n\013unreachable\030\003 \003(\t\"L\n\020GetJobRunReque" + - "st\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!clouddeploy.g" + - "oogleapis.com/JobRun\"R\n\026TerminateJobRunR" + - "equest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!clouddepl" + - "oy.googleapis.com/JobRun\"\031\n\027TerminateJob" + - "RunResponse\"\325\001\n\006Config\022\014\n\004name\030\001 \001(\t\022C\n\022" + - "supported_versions\030\002 \003(\0132\'.google.cloud." + - "deploy.v1.SkaffoldVersion\022 \n\030default_ska" + - "ffold_version\030\003 \001(\t:V\352AS\n!clouddeploy.go" + - "ogleapis.com/Config\022.projects/{project}/" + - "locations/{location}/config\"\307\001\n\017Skaffold" + - "Version\022\017\n\007version\030\001 \001(\t\0229\n\025maintenance_" + - "mode_time\030\003 \001(\0132\032.google.protobuf.Timest" + - "amp\022;\n\027support_expiration_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022+\n\020support_end_" + - "date\030\002 \001(\0132\021.google.type.Date\"L\n\020GetConf" + - "igRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!cloudd" + - "eploy.googleapis.com/Config\"\243\006\n\nAutomati" + - "on\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\021\n\003uid\030\002 \001(\tB\004\342A\001" + - "\003\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\0225\n\013create_t" + - "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342" + - "A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\022N\n\013annotations\030\006 \003(\0132" + - "3.google.cloud.deploy.v1.Automation.Anno" + - "tationsEntryB\004\342A\001\001\022D\n\006labels\030\007 \003(\0132..goo" + - "gle.cloud.deploy.v1.Automation.LabelsEnt" + - "ryB\004\342A\001\001\022\022\n\004etag\030\010 \001(\tB\004\342A\001\001\022\027\n\tsuspende" + - "d\030\t \001(\010B\004\342A\001\001\022\035\n\017service_account\030\n \001(\tB\004" + - "\342A\001\002\022J\n\010selector\030\013 \001(\01322.google.cloud.de" + - "ploy.v1.AutomationResourceSelectorB\004\342A\001\002" + - "\022;\n\005rules\030\016 \003(\0132&.google.cloud.deploy.v1" + - ".AutomationRuleB\004\342A\001\002\0322\n\020AnnotationsEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013Lab" + - "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - ":\226\001\352A\222\001\n%clouddeploy.googleapis.com/Auto" + - "mation\022fprojects/{project}/locations/{lo" + - "cation}/deliveryPipelines/{delivery_pipe" + - "line}/automations/{automation}R\001\001\"V\n\032Aut" + - "omationResourceSelector\0228\n\007targets\030\001 \003(\013" + - "2\'.google.cloud.deploy.v1.TargetAttribut" + - "e\"\214\002\n\016AutomationRule\022P\n\024promote_release_" + - "rule\030\001 \001(\0132*.google.cloud.deploy.v1.Prom" + - "oteReleaseRuleB\004\342A\001\001H\000\022P\n\024advance_rollou" + - "t_rule\030\002 \001(\0132*.google.cloud.deploy.v1.Ad" + - "vanceRolloutRuleB\004\342A\001\001H\000\022N\n\023repair_rollo" + - "ut_rule\030\003 \001(\0132).google.cloud.deploy.v1.R" + - "epairRolloutRuleB\004\342A\001\001H\000B\006\n\004rule\"\345\001\n\022Pro" + - "moteReleaseRule\022\020\n\002id\030\001 \001(\tB\004\342A\001\002\022-\n\004wai" + - "t\030\002 \001(\0132\031.google.protobuf.DurationB\004\342A\001\001" + - "\022#\n\025destination_target_id\030\007 \001(\tB\004\342A\001\001\022H\n" + - "\tcondition\030\005 \001(\0132/.google.cloud.deploy.v" + - "1.AutomationRuleConditionB\004\342A\001\003\022\037\n\021desti" + - "nation_phase\030\010 \001(\tB\004\342A\001\001\"\274\001\n\022AdvanceRoll" + - "outRule\022\020\n\002id\030\001 \001(\tB\004\342A\001\002\022\033\n\rsource_phas" + - "es\030\006 \003(\tB\004\342A\001\001\022-\n\004wait\030\003 \001(\0132\031.google.pr" + - "otobuf.DurationB\004\342A\001\001\022H\n\tcondition\030\005 \001(\013" + - "2/.google.cloud.deploy.v1.AutomationRule" + - "ConditionB\004\342A\001\003\"\340\001\n\021RepairRolloutRule\022\020\n" + - "\002id\030\001 \001(\tB\004\342A\001\002\022\033\n\rsource_phases\030\002 \003(\tB\004" + - "\342A\001\001\022\022\n\004jobs\030\003 \003(\tB\004\342A\001\001\022>\n\014repair_modes" + - "\030\004 \003(\0132\".google.cloud.deploy.v1.RepairMo" + - "deB\004\342A\001\002\022H\n\tcondition\030\006 \001(\0132/.google.clo" + - "ud.deploy.v1.AutomationRuleConditionB\004\342A" + - "\001\003\"\206\001\n\nRepairMode\0224\n\005retry\030\001 \001(\0132\035.googl" + - "e.cloud.deploy.v1.RetryB\004\342A\001\001H\000\022:\n\010rollb" + - "ack\030\002 \001(\0132 .google.cloud.deploy.v1.Rollb" + - "ackB\004\342A\001\001H\000B\006\n\004mode\"\217\001\n\005Retry\022\026\n\010attempt" + - "s\030\001 \001(\003B\004\342A\001\002\022-\n\004wait\030\002 \001(\0132\031.google.pro" + - "tobuf.DurationB\004\342A\001\001\022?\n\014backoff_mode\030\003 \001" + - "(\0162#.google.cloud.deploy.v1.BackoffModeB" + - "\004\342A\001\001\"+\n\010Rollback\022\037\n\021destination_phase\030\001" + - " \001(\tB\004\342A\001\001\"s\n\027AutomationRuleCondition\022X\n" + - "\031targets_present_condition\030\001 \001(\0132/.googl" + - "e.cloud.deploy.v1.TargetsPresentConditio" + - "nB\004\342A\001\001\"\353\001\n\027CreateAutomationRequest\022>\n\006p" + - "arent\030\001 \001(\tB.\342A\001\002\372A\'\022%clouddeploy.google" + - "apis.com/Automation\022\033\n\rautomation_id\030\002 \001" + - "(\tB\004\342A\001\002\022<\n\nautomation\030\003 \001(\0132\".google.cl" + - "oud.deploy.v1.AutomationB\004\342A\001\002\022\030\n\nreques" + - "t_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B" + - "\004\342A\001\001\"\342\001\n\027UpdateAutomationRequest\0225\n\013upd" + - "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + - "skB\004\342A\001\002\022<\n\nautomation\030\002 \001(\0132\".google.cl" + - "oud.deploy.v1.AutomationB\004\342A\001\002\022\030\n\nreques" + - "t_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rallow_missing\030\004 \001(\010B" + - "\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\277\001\n\027D" + - "eleteAutomationRequest\022<\n\004name\030\001 \001(\tB.\342A" + - "\001\002\372A\'\n%clouddeploy.googleapis.com/Automa" + - "tion\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rallow_" + - "missing\030\003 \001(\010B\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001" + - "(\010B\004\342A\001\001\022\022\n\004etag\030\005 \001(\tB\004\342A\001\001\"\241\001\n\026ListAut" + - "omationsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" + - "\022%clouddeploy.googleapis.com/Automation\022" + - "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016" + - "\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\200\001\n\027Lis" + - "tAutomationsResponse\0227\n\013automations\030\001 \003(" + - "\0132\".google.cloud.deploy.v1.Automation\022\027\n" + - "\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 " + - "\003(\t\"T\n\024GetAutomationRequest\022<\n\004name\030\001 \001(" + - "\tB.\342A\001\002\372A\'\n%clouddeploy.googleapis.com/A" + - "utomation\"\324\010\n\rAutomationRun\022\022\n\004name\030\001 \001(" + - "\tB\004\342A\001\003\0225\n\013create_time\030\002 \001(\0132\032.google.pr" + - "otobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\003 " + - "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\022\n" + - "\004etag\030\004 \001(\tB\004\342A\001\003\022\035\n\017service_account\030\005 \001" + - "(\tB\004\342A\001\003\022E\n\023automation_snapshot\030\006 \001(\0132\"." + - "google.cloud.deploy.v1.AutomationB\004\342A\001\003\022" + - "\027\n\ttarget_id\030\007 \001(\tB\004\342A\001\003\022@\n\005state\030\010 \001(\0162" + - "+.google.cloud.deploy.v1.AutomationRun.S" + - "tateB\004\342A\001\003\022\037\n\021state_description\030\t \001(\tB\004\342" + - "A\001\003\0225\n\013expire_time\030\013 \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\022\025\n\007rule_id\030\014 \001(\tB\004\342A\001" + - "\003\022\033\n\rautomation_id\030\017 \001(\tB\004\342A\001\003\022Z\n\031promot" + - "e_release_operation\030\r \001(\0132/.google.cloud" + - ".deploy.v1.PromoteReleaseOperationB\004\342A\001\003" + - "H\000\022Z\n\031advance_rollout_operation\030\016 \001(\0132/." + - "google.cloud.deploy.v1.AdvanceRolloutOpe" + - "rationB\004\342A\001\003H\000\022X\n\030repair_rollout_operati" + - "on\030\021 \001(\0132..google.cloud.deploy.v1.Repair" + - "RolloutOperationB\004\342A\001\003H\000\0229\n\017wait_until_t" + - "ime\030\020 \001(\0132\032.google.protobuf.TimestampB\004\342" + - "A\001\003\"f\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tS" + - "UCCEEDED\020\001\022\r\n\tCANCELLED\020\002\022\n\n\006FAILED\020\003\022\017\n" + - "\013IN_PROGRESS\020\004\022\013\n\007PENDING\020\005:\235\001\352A\231\001\n(clou" + - "ddeploy.googleapis.com/AutomationRun\022mpr" + - "ojects/{project}/locations/{location}/de" + - "liveryPipelines/{delivery_pipeline}/auto" + - "mationRuns/{automation_run}B\013\n\toperation" + - "\"\215\001\n\027PromoteReleaseOperation\022\027\n\ttarget_i" + - "d\030\001 \001(\tB\004\342A\001\003\022-\n\004wait\030\002 \001(\0132\031.google.pro" + - "tobuf.DurationB\004\342A\001\003\022\025\n\007rollout\030\003 \001(\tB\004\342" + - "A\001\003\022\023\n\005phase\030\004 \001(\tB\004\342A\001\003\"\234\001\n\027AdvanceRoll" + - "outOperation\022\032\n\014source_phase\030\005 \001(\tB\004\342A\001\003" + - "\022-\n\004wait\030\002 \001(\0132\031.google.protobuf.Duratio" + - "nB\004\342A\001\003\022\025\n\007rollout\030\003 \001(\tB\004\342A\001\003\022\037\n\021destin" + - "ation_phase\030\004 \001(\tB\004\342A\001\003\"\232\001\n\026RepairRollou" + - "tOperation\022\025\n\007rollout\030\001 \001(\tB\004\342A\001\003\022\'\n\031cur" + - "rent_repair_mode_index\030\002 \001(\003B\004\342A\001\003\022@\n\rre" + - "pair_phases\030\003 \003(\0132#.google.cloud.deploy." + - "v1.RepairPhaseB\004\342A\001\003\"\233\001\n\013RepairPhase\0229\n\005" + - "retry\030\001 \001(\0132\".google.cloud.deploy.v1.Ret" + - "ryPhaseB\004\342A\001\003H\000\022A\n\010rollback\030\002 \001(\0132\'.goog" + - "le.cloud.deploy.v1.RollbackAttemptB\004\342A\001\003" + - "H\000B\016\n\014repair_phase\"\327\001\n\nRetryPhase\022\034\n\016tot" + - "al_attempts\030\001 \001(\003B\004\342A\001\003\022?\n\014backoff_mode\030" + - "\002 \001(\0162#.google.cloud.deploy.v1.BackoffMo" + - "deB\004\342A\001\003\022\026\n\010phase_id\030\003 \001(\tB\004\342A\001\003\022\024\n\006job_" + - "id\030\004 \001(\tB\004\342A\001\003\022<\n\010attempts\030\005 \003(\0132$.googl" + - "e.cloud.deploy.v1.RetryAttemptB\004\342A\001\003\"\250\001\n" + - "\014RetryAttempt\022\025\n\007attempt\030\001 \001(\003B\004\342A\001\003\022-\n\004" + - "wait\030\002 \001(\0132\031.google.protobuf.DurationB\004\342" + - "A\001\003\0228\n\005state\030\005 \001(\0162#.google.cloud.deploy" + - ".v1.RepairStateB\004\342A\001\003\022\030\n\nstate_desc\030\006 \001(", - "\tB\004\342A\001\003\"\240\001\n\017RollbackAttempt\022\037\n\021destinati" + - "on_phase\030\001 \001(\tB\004\342A\001\003\022\030\n\nrollout_id\030\002 \001(\t" + - "B\004\342A\001\003\0228\n\005state\030\003 \001(\0162#.google.cloud.dep" + - "loy.v1.RepairStateB\004\342A\001\003\022\030\n\nstate_desc\030\004" + - " \001(\tB\004\342A\001\003\"\247\001\n\031ListAutomationRunsRequest" + - "\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(clouddeploy.g" + - "oogleapis.com/AutomationRun\022\021\n\tpage_size" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001" + - "(\t\022\020\n\010order_by\030\005 \001(\t\"\212\001\n\032ListAutomationR" + - "unsResponse\022>\n\017automation_runs\030\001 \003(\0132%.g" + - "oogle.cloud.deploy.v1.AutomationRun\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + - "\t\"Z\n\027GetAutomationRunRequest\022?\n\004name\030\001 \001" + - "(\tB1\342A\001\002\372A*\n(clouddeploy.googleapis.com/" + - "AutomationRun\"]\n\032CancelAutomationRunRequ" + - "est\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(clouddeploy." + - "googleapis.com/AutomationRun\"\035\n\033CancelAu" + - "tomationRunResponse*\271\001\n\024SkaffoldSupportS" + - "tate\022&\n\"SKAFFOLD_SUPPORT_STATE_UNSPECIFI" + - "ED\020\000\022$\n SKAFFOLD_SUPPORT_STATE_SUPPORTED" + - "\020\001\022+\n\'SKAFFOLD_SUPPORT_STATE_MAINTENANCE" + - "_MODE\020\002\022&\n\"SKAFFOLD_SUPPORT_STATE_UNSUPP" + - "ORTED\020\003*b\n\013BackoffMode\022\034\n\030BACKOFF_MODE_U" + - "NSPECIFIED\020\000\022\027\n\023BACKOFF_MODE_LINEAR\020\001\022\034\n" + - "\030BACKOFF_MODE_EXPONENTIAL\020\002*\316\001\n\013RepairSt" + - "ate\022\034\n\030REPAIR_STATE_UNSPECIFIED\020\000\022\032\n\026REP" + - "AIR_STATE_SUCCEEDED\020\001\022\032\n\026REPAIR_STATE_CA" + - "NCELLED\020\002\022\027\n\023REPAIR_STATE_FAILED\020\003\022\034\n\030RE" + - "PAIR_STATE_IN_PROGRESS\020\004\022\030\n\024REPAIR_STATE" + - "_PENDING\020\005\022\030\n\024REPAIR_STATE_SKIPPED\020\0062\242D\n" + - "\013CloudDeploy\022\314\001\n\025ListDeliveryPipelines\0224" + - ".google.cloud.deploy.v1.ListDeliveryPipe" + - "linesRequest\0325.google.cloud.deploy.v1.Li" + - "stDeliveryPipelinesResponse\"F\332A\006parent\202\323" + - "\344\223\0027\0225/v1/{parent=projects/*/locations/*" + - "}/deliveryPipelines\022\271\001\n\023GetDeliveryPipel" + - "ine\0222.google.cloud.deploy.v1.GetDelivery" + - "PipelineRequest\032(.google.cloud.deploy.v1" + - ".DeliveryPipeline\"D\332A\004name\202\323\344\223\0027\0225/v1/{n" + - "ame=projects/*/locations/*/deliveryPipel" + - "ines/*}\022\231\002\n\026CreateDeliveryPipeline\0225.goo" + - "gle.cloud.deploy.v1.CreateDeliveryPipeli" + - "neRequest\032\035.google.longrunning.Operation" + - "\"\250\001\312A%\n\020DeliveryPipeline\022\021OperationMetad" + - "ata\332A-parent,delivery_pipeline,delivery_" + - "pipeline_id\202\323\344\223\002J\"5/v1/{parent=projects/" + - "*/locations/*}/deliveryPipelines:\021delive" + - "ry_pipeline\022\233\002\n\026UpdateDeliveryPipeline\0225" + - ".google.cloud.deploy.v1.UpdateDeliveryPi" + - "pelineRequest\032\035.google.longrunning.Opera" + - "tion\"\252\001\312A%\n\020DeliveryPipeline\022\021OperationM" + - "etadata\332A\035delivery_pipeline,update_mask\202" + - "\323\344\223\002\\2G/v1/{delivery_pipeline.name=proje" + - "cts/*/locations/*/deliveryPipelines/*}:\021" + - "delivery_pipeline\022\341\001\n\026DeleteDeliveryPipe" + - "line\0225.google.cloud.deploy.v1.DeleteDeli" + - "veryPipelineRequest\032\035.google.longrunning" + - ".Operation\"q\312A*\n\025google.protobuf.Empty\022\021" + - "OperationMetadata\332A\004name\202\323\344\223\0027*5/v1/{nam" + - "e=projects/*/locations/*/deliveryPipelin" + - "es/*}\022\244\001\n\013ListTargets\022*.google.cloud.dep" + - "loy.v1.ListTargetsRequest\032+.google.cloud" + - ".deploy.v1.ListTargetsResponse\"<\332A\006paren" + - "t\202\323\344\223\002-\022+/v1/{parent=projects/*/location" + - "s/*}/targets\022\334\001\n\016RollbackTarget\022-.google" + - ".cloud.deploy.v1.RollbackTargetRequest\032." + - ".google.cloud.deploy.v1.RollbackTargetRe" + - "sponse\"k\332A\031name,target_id,rollout_id\202\323\344\223" + - "\002I\"D/v1/{name=projects/*/locations/*/del" + - "iveryPipelines/*}:rollbackTarget:\001*\022\221\001\n\t" + - "GetTarget\022(.google.cloud.deploy.v1.GetTa" + - "rgetRequest\032\036.google.cloud.deploy.v1.Tar" + - "get\":\332A\004name\202\323\344\223\002-\022+/v1/{name=projects/*" + - "/locations/*/targets/*}\022\317\001\n\014CreateTarget" + - "\022+.google.cloud.deploy.v1.CreateTargetRe" + - "quest\032\035.google.longrunning.Operation\"s\312A" + - "\033\n\006Target\022\021OperationMetadata\332A\027parent,ta" + - "rget,target_id\202\323\344\223\0025\"+/v1/{parent=projec" + - "ts/*/locations/*}/targets:\006target\022\321\001\n\014Up" + - "dateTarget\022+.google.cloud.deploy.v1.Upda" + - "teTargetRequest\032\035.google.longrunning.Ope" + - "ration\"u\312A\033\n\006Target\022\021OperationMetadata\332A" + - "\022target,update_mask\202\323\344\223\002<22/v1/{target.n" + - "ame=projects/*/locations/*/targets/*}:\006t" + - "arget\022\303\001\n\014DeleteTarget\022+.google.cloud.de" + - "ploy.v1.DeleteTargetRequest\032\035.google.lon" + - "grunning.Operation\"g\312A*\n\025google.protobuf" + - ".Empty\022\021OperationMetadata\332A\004name\202\323\344\223\002-*+" + - "/v1/{name=projects/*/locations/*/targets" + - "/*}\022\314\001\n\025ListCustomTargetTypes\0224.google.c" + - "loud.deploy.v1.ListCustomTargetTypesRequ" + - "est\0325.google.cloud.deploy.v1.ListCustomT" + - "argetTypesResponse\"F\332A\006parent\202\323\344\223\0027\0225/v1" + - "/{parent=projects/*/locations/*}/customT" + - "argetTypes\022\271\001\n\023GetCustomTargetType\0222.goo" + - "gle.cloud.deploy.v1.GetCustomTargetTypeR" + - "equest\032(.google.cloud.deploy.v1.CustomTa" + - "rgetType\"D\332A\004name\202\323\344\223\0027\0225/v1/{name=proje" + - "cts/*/locations/*/customTargetTypes/*}\022\234" + - "\002\n\026CreateCustomTargetType\0225.google.cloud" + - ".deploy.v1.CreateCustomTargetTypeRequest" + - "\032\035.google.longrunning.Operation\"\253\001\312A%\n\020C" + - "ustomTargetType\022\021OperationMetadata\332A/par" + - "ent,custom_target_type,custom_target_typ" + - "e_id\202\323\344\223\002K\"5/v1/{parent=projects/*/locat" + - "ions/*}/customTargetTypes:\022custom_target" + - "_type\022\236\002\n\026UpdateCustomTargetType\0225.googl" + - "e.cloud.deploy.v1.UpdateCustomTargetType" + - "Request\032\035.google.longrunning.Operation\"\255" + - "\001\312A%\n\020CustomTargetType\022\021OperationMetadat" + - "a\332A\036custom_target_type,update_mask\202\323\344\223\002^" + - "2H/v1/{custom_target_type.name=projects/" + - "*/locations/*/customTargetTypes/*}:\022cust" + - "om_target_type\022\341\001\n\026DeleteCustomTargetTyp" + - "e\0225.google.cloud.deploy.v1.DeleteCustomT" + - "argetTypeRequest\032\035.google.longrunning.Op" + - "eration\"q\312A*\n\025google.protobuf.Empty\022\021Ope" + - "rationMetadata\332A\004name\202\323\344\223\0027*5/v1/{name=p" + - "rojects/*/locations/*/customTargetTypes/" + - "*}\022\274\001\n\014ListReleases\022+.google.cloud.deplo" + - "y.v1.ListReleasesRequest\032,.google.cloud." + - "deploy.v1.ListReleasesResponse\"Q\332A\006paren" + - "t\202\323\344\223\002B\022@/v1/{parent=projects/*/location" + - "s/*/deliveryPipelines/*}/releases\022\251\001\n\nGe" + - "tRelease\022).google.cloud.deploy.v1.GetRel" + - "easeRequest\032\037.google.cloud.deploy.v1.Rel" + - "ease\"O\332A\004name\202\323\344\223\002B\022@/v1/{name=projects/" + - "*/locations/*/deliveryPipelines/*/releas" + - "es/*}\022\353\001\n\rCreateRelease\022,.google.cloud.d" + - "eploy.v1.CreateReleaseRequest\032\035.google.l" + - "ongrunning.Operation\"\214\001\312A\034\n\007Release\022\021Ope" + - "rationMetadata\332A\031parent,release,release_" + - "id\202\323\344\223\002K\"@/v1/{parent=projects/*/locatio" + - "ns/*/deliveryPipelines/*}/releases:\007rele" + - "ase\022\313\001\n\016AbandonRelease\022-.google.cloud.de" + - "ploy.v1.AbandonReleaseRequest\032..google.c" + - "loud.deploy.v1.AbandonReleaseResponse\"Z\332" + - "A\004name\202\323\344\223\002M\"H/v1/{name=projects/*/locat" + - "ions/*/deliveryPipelines/*/releases/*}:a" + - "bandon:\001*\022\326\001\n\016ApproveRollout\022-.google.cl" + - "oud.deploy.v1.ApproveRolloutRequest\032..go" + - "ogle.cloud.deploy.v1.ApproveRolloutRespo" + - "nse\"e\332A\004name\202\323\344\223\002X\"S/v1/{name=projects/*" + - "/locations/*/deliveryPipelines/*/release" + - "s/*/rollouts/*}:approve:\001*\022\337\001\n\016AdvanceRo" + - "llout\022-.google.cloud.deploy.v1.AdvanceRo" + - "lloutRequest\032..google.cloud.deploy.v1.Ad" + - "vanceRolloutResponse\"n\332A\rname,phase_id\202\323" + - "\344\223\002X\"S/v1/{name=projects/*/locations/*/d" + - "eliveryPipelines/*/releases/*/rollouts/*" + - "}:advance:\001*\022\322\001\n\rCancelRollout\022,.google." + - "cloud.deploy.v1.CancelRolloutRequest\032-.g" + - "oogle.cloud.deploy.v1.CancelRolloutRespo" + - "nse\"d\332A\004name\202\323\344\223\002W\"R/v1/{name=projects/*" + - "/locations/*/deliveryPipelines/*/release" + - "s/*/rollouts/*}:cancel:\001*\022\307\001\n\014ListRollou" + - "ts\022+.google.cloud.deploy.v1.ListRollouts" + - "Request\032,.google.cloud.deploy.v1.ListRol" + - "loutsResponse\"\\\332A\006parent\202\323\344\223\002M\022K/v1/{par" + - "ent=projects/*/locations/*/deliveryPipel" + - "ines/*/releases/*}/rollouts\022\264\001\n\nGetRollo" + - "ut\022).google.cloud.deploy.v1.GetRolloutRe" + - "quest\032\037.google.cloud.deploy.v1.Rollout\"Z" + - "\332A\004name\202\323\344\223\002M\022K/v1/{name=projects/*/loca" + - "tions/*/deliveryPipelines/*/releases/*/r" + - "ollouts/*}\022\366\001\n\rCreateRollout\022,.google.cl" + - "oud.deploy.v1.CreateRolloutRequest\032\035.goo" + - "gle.longrunning.Operation\"\227\001\312A\034\n\007Rollout" + - "\022\021OperationMetadata\332A\031parent,rollout,rol" + - "lout_id\202\323\344\223\002V\"K/v1/{parent=projects/*/lo" + - "cations/*/deliveryPipelines/*/releases/*" + - "}/rollouts:\007rollout\022\337\001\n\tIgnoreJob\022(.goog" + - "le.cloud.deploy.v1.IgnoreJobRequest\032).go" + - "ogle.cloud.deploy.v1.IgnoreJobResponse\"}" + - "\332A\027rollout,phase_id,job_id\202\323\344\223\002]\"X/v1/{r" + - "ollout=projects/*/locations/*/deliveryPi" + - "pelines/*/releases/*/rollouts/*}:ignoreJ" + - "ob:\001*\022\333\001\n\010RetryJob\022\'.google.cloud.deploy" + - ".v1.RetryJobRequest\032(.google.cloud.deplo" + - "y.v1.RetryJobResponse\"|\332A\027rollout,phase_" + - "id,job_id\202\323\344\223\002\\\"W/v1/{rollout=projects/*" + - "/locations/*/deliveryPipelines/*/release" + - "s/*/rollouts/*}:retryJob:\001*\022\316\001\n\013ListJobR" + - "uns\022*.google.cloud.deploy.v1.ListJobRuns" + - "Request\032+.google.cloud.deploy.v1.ListJob" + - "RunsResponse\"f\332A\006parent\202\323\344\223\002W\022U/v1/{pare" + - "nt=projects/*/locations/*/deliveryPipeli" + - "nes/*/releases/*/rollouts/*}/jobRuns\022\273\001\n" + - "\tGetJobRun\022(.google.cloud.deploy.v1.GetJ" + - "obRunRequest\032\036.google.cloud.deploy.v1.Jo" + - "bRun\"d\332A\004name\202\323\344\223\002W\022U/v1/{name=projects/" + - "*/locations/*/deliveryPipelines/*/releas" + - "es/*/rollouts/*/jobRuns/*}\022\345\001\n\017Terminate" + - "JobRun\022..google.cloud.deploy.v1.Terminat" + - "eJobRunRequest\032/.google.cloud.deploy.v1." + - "TerminateJobRunResponse\"q\332A\004name\202\323\344\223\002d\"_" + - "/v1/{name=projects/*/locations/*/deliver" + - "yPipelines/*/releases/*/rollouts/*/jobRu" + - "ns/*}:terminate:\001*\022\216\001\n\tGetConfig\022(.googl" + - "e.cloud.deploy.v1.GetConfigRequest\032\036.goo" + - "gle.cloud.deploy.v1.Config\"7\332A\004name\202\323\344\223\002" + - "*\022(/v1/{name=projects/*/locations/*/conf" + - "ig}\022\200\002\n\020CreateAutomation\022/.google.cloud." + - "deploy.v1.CreateAutomationRequest\032\035.goog" + - "le.longrunning.Operation\"\233\001\312A\037\n\nAutomati" + - "on\022\021OperationMetadata\332A\037parent,automatio" + - "n,automation_id\202\323\344\223\002Q\"C/v1/{parent=proje" + - "cts/*/locations/*/deliveryPipelines/*}/a" + - "utomations:\nautomation\022\202\002\n\020UpdateAutomat" + - "ion\022/.google.cloud.deploy.v1.UpdateAutom" + - "ationRequest\032\035.google.longrunning.Operat" + - "ion\"\235\001\312A\037\n\nAutomation\022\021OperationMetadata" + - "\332A\026automation,update_mask\202\323\344\223\002\\2N/v1/{au" + - "tomation.name=projects/*/locations/*/del" + - "iveryPipelines/*/automations/*}:\nautomat" + - "ion\022\343\001\n\020DeleteAutomation\022/.google.cloud." + - "deploy.v1.DeleteAutomationRequest\032\035.goog" + - "le.longrunning.Operation\"\177\312A*\n\025google.pr" + - "otobuf.Empty\022\021OperationMetadata\332A\004name\202\323" + - "\344\223\002E*C/v1/{name=projects/*/locations/*/d" + - "eliveryPipelines/*/automations/*}\022\265\001\n\rGe" + - "tAutomation\022,.google.cloud.deploy.v1.Get" + - "AutomationRequest\032\".google.cloud.deploy." + - "v1.Automation\"R\332A\004name\202\323\344\223\002E\022C/v1/{name=" + - "projects/*/locations/*/deliveryPipelines" + - "/*/automations/*}\022\310\001\n\017ListAutomations\022.." + - "google.cloud.deploy.v1.ListAutomationsRe" + - "quest\032/.google.cloud.deploy.v1.ListAutom" + - "ationsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1/{pa" + - "rent=projects/*/locations/*/deliveryPipe" + - "lines/*}/automations\022\301\001\n\020GetAutomationRu" + - "n\022/.google.cloud.deploy.v1.GetAutomation" + - "RunRequest\032%.google.cloud.deploy.v1.Auto" + - "mationRun\"U\332A\004name\202\323\344\223\002H\022F/v1/{name=proj" + - "ects/*/locations/*/deliveryPipelines/*/a" + - "utomationRuns/*}\022\324\001\n\022ListAutomationRuns\022" + - "1.google.cloud.deploy.v1.ListAutomationR" + - "unsRequest\0322.google.cloud.deploy.v1.List" + - "AutomationRunsResponse\"W\332A\006parent\202\323\344\223\002H\022" + - "F/v1/{parent=projects/*/locations/*/deli" + - "veryPipelines/*}/automationRuns\022\337\001\n\023Canc" + - "elAutomationRun\0222.google.cloud.deploy.v1" + - ".CancelAutomationRunRequest\0323.google.clo" + - "ud.deploy.v1.CancelAutomationRunResponse" + - "\"_\332A\004name\202\323\344\223\002R\"M/v1/{name=projects/*/lo" + - "cations/*/deliveryPipelines/*/automation" + - "Runs/*}:cancel:\001*\032N\312A\032clouddeploy.google" + - "apis.com\322A.https://www.googleapis.com/au" + - "th/cloud-platformB\207\006\n\032com.google.cloud.d" + - "eploy.v1B\020CloudDeployProtoP\001Z2cloud.goog" + - "le.com/go/deploy/apiv1/deploypb;deploypb" + - "\352AY\n\037cloudbuild.googleapis.com/Build\0226pr" + - "ojects/{project}/locations/{location}/bu" + - "ilds/{build}\352A^\n container.googleapis.co" + - "m/Cluster\022:projects/{project}/locations/" + - "{location}/clusters/{cluster}\352Af\n$cloudd" + - "eploy.googleapis.com/Operation\022>projects" + - "/{project}/locations/{location}/operatio" + - "ns/{operation}\352Ai\n$cloudbuild.googleapis" + - ".com/WorkerPool\022Aprojects/{project}/loca" + - "tions/{location}/workerPools/{worker_poo" + - "l}\352Ad\n gkehub.googleapis.com/Membership\022" + - "@projects/{project}/locations/{location}" + - "/memberships/{membership}\352AX\n\032run.google" + - "apis.com/Service\022:projects/{project}/loc" + - "ations/{location}/services/{service}\352AL\n" + - "\026run.googleapis.com/Job\0222projects/{proje" + - "ct}/locations/{location}/jobs/{job}b\006pro" + - "to3" - }; - 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.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_DeliveryPipeline_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor, - new java.lang.String[] { "Name", "Uid", "Description", "Annotations", "Labels", "CreateTime", "UpdateTime", "SerialPipeline", "Condition", "Etag", "Suspended", "Pipeline", }); - internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor = - internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeliveryPipeline_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_DeliveryPipeline_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeliveryPipeline_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_deploy_v1_SerialPipeline_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_SerialPipeline_descriptor, - new java.lang.String[] { "Stages", }); - internal_static_google_cloud_deploy_v1_Stage_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_deploy_v1_Stage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Stage_descriptor, - new java.lang.String[] { "TargetId", "Profiles", "Strategy", "DeployParameters", }); - internal_static_google_cloud_deploy_v1_DeployParameters_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_deploy_v1_DeployParameters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeployParameters_descriptor, - new java.lang.String[] { "Values", "MatchTargetLabels", }); - internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor = - internal_static_google_cloud_deploy_v1_DeployParameters_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeployParameters_ValuesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_DeployParameters_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeployParameters_MatchTargetLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Strategy_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_deploy_v1_Strategy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Strategy_descriptor, - new java.lang.String[] { "Standard", "Canary", "DeploymentStrategy", }); - internal_static_google_cloud_deploy_v1_Predeploy_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_deploy_v1_Predeploy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Predeploy_descriptor, - new java.lang.String[] { "Actions", }); - internal_static_google_cloud_deploy_v1_Postdeploy_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_deploy_v1_Postdeploy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Postdeploy_descriptor, - new java.lang.String[] { "Actions", }); - internal_static_google_cloud_deploy_v1_Standard_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_deploy_v1_Standard_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Standard_descriptor, - new java.lang.String[] { "Verify", "Predeploy", "Postdeploy", }); - internal_static_google_cloud_deploy_v1_Canary_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_deploy_v1_Canary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Canary_descriptor, - new java.lang.String[] { "RuntimeConfig", "CanaryDeployment", "CustomCanaryDeployment", "Mode", }); - internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_deploy_v1_CanaryDeployment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CanaryDeployment_descriptor, - new java.lang.String[] { "Percentages", "Verify", "Predeploy", "Postdeploy", }); - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor, - new java.lang.String[] { "PhaseConfigs", }); - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor = - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomCanaryDeployment_PhaseConfig_descriptor, - new java.lang.String[] { "PhaseId", "Percentage", "Profiles", "Verify", "Predeploy", "Postdeploy", }); - internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_deploy_v1_KubernetesConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor, - new java.lang.String[] { "GatewayServiceMesh", "ServiceNetworking", "ServiceDefinition", }); - internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor = - internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_KubernetesConfig_GatewayServiceMesh_descriptor, - new java.lang.String[] { "HttpRoute", "Service", "Deployment", "RouteUpdateWaitTime", "StableCutbackDuration", }); - internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor = - internal_static_google_cloud_deploy_v1_KubernetesConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_KubernetesConfig_ServiceNetworking_descriptor, - new java.lang.String[] { "Service", "Deployment", "DisablePodOverprovisioning", }); - internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_deploy_v1_CloudRunConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CloudRunConfig_descriptor, - new java.lang.String[] { "AutomaticTrafficControl", "CanaryRevisionTags", "PriorRevisionTags", "StableRevisionTags", }); - internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_deploy_v1_RuntimeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RuntimeConfig_descriptor, - new java.lang.String[] { "Kubernetes", "CloudRun", "RuntimeConfig", }); - internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_deploy_v1_PipelineReadyCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor, - new java.lang.String[] { "Status", "UpdateTime", }); - internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_deploy_v1_TargetsPresentCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetsPresentCondition_descriptor, - new java.lang.String[] { "Status", "MissingTargets", "UpdateTime", }); - internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_deploy_v1_TargetsTypeCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetsTypeCondition_descriptor, - new java.lang.String[] { "Status", "ErrorDetails", }); - internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_deploy_v1_PipelineCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PipelineCondition_descriptor, - new java.lang.String[] { "PipelineReadyCondition", "TargetsPresentCondition", "TargetsTypeCondition", }); - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesResponse_descriptor, - new java.lang.String[] { "DeliveryPipelines", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetDeliveryPipelineRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateDeliveryPipelineRequest_descriptor, - new java.lang.String[] { "Parent", "DeliveryPipelineId", "DeliveryPipeline", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_UpdateDeliveryPipelineRequest_descriptor, - new java.lang.String[] { "UpdateMask", "DeliveryPipeline", "RequestId", "AllowMissing", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeleteDeliveryPipelineRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "AllowMissing", "ValidateOnly", "Force", "Etag", }); - internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_deploy_v1_RollbackTargetConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RollbackTargetConfig_descriptor, - new java.lang.String[] { "Rollout", "StartingPhaseId", }); - internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_deploy_v1_RollbackTargetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RollbackTargetRequest_descriptor, - new java.lang.String[] { "Name", "TargetId", "RolloutId", "ReleaseId", "RolloutToRollBack", "RollbackConfig", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_deploy_v1_RollbackTargetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RollbackTargetResponse_descriptor, - new java.lang.String[] { "RollbackConfig", }); - internal_static_google_cloud_deploy_v1_Target_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_deploy_v1_Target_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Target_descriptor, - new java.lang.String[] { "Name", "TargetId", "Uid", "Description", "Annotations", "Labels", "RequireApproval", "CreateTime", "UpdateTime", "Gke", "AnthosCluster", "Run", "MultiTarget", "CustomTarget", "Etag", "ExecutionConfigs", "DeployParameters", "DeploymentTarget", }); - internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Target_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Target_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Target_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_Target_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Target_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor = - internal_static_google_cloud_deploy_v1_Target_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Target_DeployParametersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_deploy_v1_ExecutionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ExecutionConfig_descriptor, - new java.lang.String[] { "Usages", "DefaultPool", "PrivatePool", "WorkerPool", "ServiceAccount", "ArtifactStorage", "ExecutionTimeout", "ExecutionEnvironment", }); - internal_static_google_cloud_deploy_v1_DefaultPool_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_deploy_v1_DefaultPool_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DefaultPool_descriptor, - new java.lang.String[] { "ServiceAccount", "ArtifactStorage", }); - internal_static_google_cloud_deploy_v1_PrivatePool_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_deploy_v1_PrivatePool_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PrivatePool_descriptor, - new java.lang.String[] { "WorkerPool", "ServiceAccount", "ArtifactStorage", }); - internal_static_google_cloud_deploy_v1_GkeCluster_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_deploy_v1_GkeCluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GkeCluster_descriptor, - new java.lang.String[] { "Cluster", "InternalIp", }); - internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_deploy_v1_AnthosCluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AnthosCluster_descriptor, - new java.lang.String[] { "Membership", }); - internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_deploy_v1_CloudRunLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CloudRunLocation_descriptor, - new java.lang.String[] { "Location", }); - internal_static_google_cloud_deploy_v1_MultiTarget_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_deploy_v1_MultiTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_MultiTarget_descriptor, - new java.lang.String[] { "TargetIds", }); - internal_static_google_cloud_deploy_v1_CustomTarget_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_deploy_v1_CustomTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomTarget_descriptor, - new java.lang.String[] { "CustomTargetType", }); - internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_deploy_v1_ListTargetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_deploy_v1_ListTargetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListTargetsResponse_descriptor, - new java.lang.String[] { "Targets", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_deploy_v1_GetTargetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetTargetRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_deploy_v1_CreateTargetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateTargetRequest_descriptor, - new java.lang.String[] { "Parent", "TargetId", "Target", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_deploy_v1_UpdateTargetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_UpdateTargetRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Target", "RequestId", "AllowMissing", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_deploy_v1_DeleteTargetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeleteTargetRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "AllowMissing", "ValidateOnly", "Etag", }); - internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_deploy_v1_CustomTargetType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor, - new java.lang.String[] { "Name", "CustomTargetTypeId", "Uid", "Description", "Annotations", "Labels", "CreateTime", "UpdateTime", "Etag", "CustomActions", "Definition", }); - internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor = - internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomTargetType_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_CustomTargetType_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomTargetType_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomTargetSkaffoldActions_descriptor, - new java.lang.String[] { "RenderAction", "DeployAction", "IncludeSkaffoldModules", }); - internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_deploy_v1_SkaffoldModules_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor, - new java.lang.String[] { "Configs", "Git", "GoogleCloudStorage", "Source", }); - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor = - internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGitSource_descriptor, - new java.lang.String[] { "Repo", "Path", "Ref", }); - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor = - internal_static_google_cloud_deploy_v1_SkaffoldModules_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_SkaffoldModules_SkaffoldGCSSource_descriptor, - new java.lang.String[] { "Source", "Path", }); - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListCustomTargetTypesResponse_descriptor, - new java.lang.String[] { "CustomTargetTypes", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetCustomTargetTypeRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateCustomTargetTypeRequest_descriptor, - new java.lang.String[] { "Parent", "CustomTargetTypeId", "CustomTargetType", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_UpdateCustomTargetTypeRequest_descriptor, - new java.lang.String[] { "UpdateMask", "CustomTargetType", "RequestId", "AllowMissing", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeleteCustomTargetTypeRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "AllowMissing", "ValidateOnly", "Etag", }); - internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_deploy_v1_TargetAttribute_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor, - new java.lang.String[] { "Id", "Labels", }); - internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_TargetAttribute_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetAttribute_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Release_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_deploy_v1_Release_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_descriptor, - new java.lang.String[] { "Name", "Uid", "Description", "Annotations", "Labels", "Abandoned", "CreateTime", "RenderStartTime", "RenderEndTime", "SkaffoldConfigUri", "SkaffoldConfigPath", "BuildArtifacts", "DeliveryPipelineSnapshot", "TargetSnapshots", "CustomTargetTypeSnapshots", "RenderState", "Etag", "SkaffoldVersion", "TargetArtifacts", "TargetRenders", "Condition", "DeployParameters", }); - internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_Release_TargetRender_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_TargetRender_descriptor, - new java.lang.String[] { "RenderingBuild", "RenderingState", "Metadata", "FailureCause", "FailureMessage", }); - internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_ReleaseReadyCondition_descriptor, - new java.lang.String[] { "Status", }); - internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_SkaffoldSupportedCondition_descriptor, - new java.lang.String[] { "Status", "SkaffoldSupportState", "MaintenanceModeTime", "SupportExpirationTime", }); - internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_ReleaseCondition_descriptor, - new java.lang.String[] { "ReleaseReadyCondition", "SkaffoldSupportedCondition", }); - internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_deploy_v1_Release_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_TargetArtifactsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_TargetRendersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Release_DeployParametersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_deploy_v1_BuildArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_BuildArtifact_descriptor, - new java.lang.String[] { "Image", "Tag", }); - internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_deploy_v1_TargetArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor, - new java.lang.String[] { "ArtifactUri", "SkaffoldConfigPath", "ManifestPath", "PhaseArtifacts", "Uri", }); - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor = - internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifact_descriptor, - new java.lang.String[] { "SkaffoldConfigPath", "ManifestPath", "JobManifestsPath", }); - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor = - internal_static_google_cloud_deploy_v1_TargetArtifact_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetArtifact_PhaseArtifactsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_deploy_v1_DeployArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeployArtifact_descriptor, - new java.lang.String[] { "ArtifactUri", "ManifestPaths", }); - internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CloudRunRenderMetadata_descriptor, - new java.lang.String[] { "Service", }); - internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_deploy_v1_RenderMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RenderMetadata_descriptor, - new java.lang.String[] { "CloudRun", "Custom", }); - internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_deploy_v1_ListReleasesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_deploy_v1_ListReleasesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListReleasesResponse_descriptor, - new java.lang.String[] { "Releases", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_cloud_deploy_v1_GetReleaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetReleaseRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_cloud_deploy_v1_CreateReleaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateReleaseRequest_descriptor, - new java.lang.String[] { "Parent", "ReleaseId", "Release", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_Rollout_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_cloud_deploy_v1_Rollout_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Rollout_descriptor, - new java.lang.String[] { "Name", "Uid", "Description", "Annotations", "Labels", "CreateTime", "ApproveTime", "EnqueueTime", "DeployStartTime", "DeployEndTime", "TargetId", "ApprovalState", "State", "FailureReason", "DeployingBuild", "Etag", "DeployFailureCause", "Phases", "Metadata", "ControllerRollout", "RollbackOfRollout", "RolledBackByRollouts", }); - internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Rollout_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Rollout_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Rollout_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Rollout_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Metadata_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_cloud_deploy_v1_Metadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Metadata_descriptor, - new java.lang.String[] { "CloudRun", "Automation", "Custom", }); - internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeployJobRunMetadata_descriptor, - new java.lang.String[] { "CloudRun", "CustomTarget", "Custom", }); - internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_cloud_deploy_v1_CloudRunMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CloudRunMetadata_descriptor, - new java.lang.String[] { "Service", "ServiceUrls", "Revision", "Job", }); - internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor = - getDescriptor().getMessageTypes().get(66); - internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomTargetDeployMetadata_descriptor, - new java.lang.String[] { "SkipMessage", }); - internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor = - getDescriptor().getMessageTypes().get(67); - internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AutomationRolloutMetadata_descriptor, - new java.lang.String[] { "PromoteAutomationRun", "AdvanceAutomationRuns", "RepairAutomationRuns", }); - internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor = - getDescriptor().getMessageTypes().get(68); - internal_static_google_cloud_deploy_v1_CustomMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor, - new java.lang.String[] { "Values", }); - internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor = - internal_static_google_cloud_deploy_v1_CustomMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CustomMetadata_ValuesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Phase_descriptor = - getDescriptor().getMessageTypes().get(69); - internal_static_google_cloud_deploy_v1_Phase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Phase_descriptor, - new java.lang.String[] { "Id", "State", "SkipMessage", "DeploymentJobs", "ChildRolloutJobs", "Jobs", }); - internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor = - getDescriptor().getMessageTypes().get(70); - internal_static_google_cloud_deploy_v1_DeploymentJobs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor, - new java.lang.String[] { "DeployJob", "VerifyJob", "PredeployJob", "PostdeployJob", }); - internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor = - getDescriptor().getMessageTypes().get(71); - internal_static_google_cloud_deploy_v1_ChildRolloutJobs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor, - new java.lang.String[] { "CreateRolloutJobs", "AdvanceRolloutJobs", }); - internal_static_google_cloud_deploy_v1_Job_descriptor = - getDescriptor().getMessageTypes().get(72); - internal_static_google_cloud_deploy_v1_Job_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Job_descriptor, - new java.lang.String[] { "Id", "State", "SkipMessage", "JobRun", "DeployJob", "VerifyJob", "PredeployJob", "PostdeployJob", "CreateChildRolloutJob", "AdvanceChildRolloutJob", "JobType", }); - internal_static_google_cloud_deploy_v1_DeployJob_descriptor = - getDescriptor().getMessageTypes().get(73); - internal_static_google_cloud_deploy_v1_DeployJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeployJob_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_VerifyJob_descriptor = - getDescriptor().getMessageTypes().get(74); - internal_static_google_cloud_deploy_v1_VerifyJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_VerifyJob_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_PredeployJob_descriptor = - getDescriptor().getMessageTypes().get(75); - internal_static_google_cloud_deploy_v1_PredeployJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PredeployJob_descriptor, - new java.lang.String[] { "Actions", }); - internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor = - getDescriptor().getMessageTypes().get(76); - internal_static_google_cloud_deploy_v1_PostdeployJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PostdeployJob_descriptor, - new java.lang.String[] { "Actions", }); - internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor = - getDescriptor().getMessageTypes().get(77); - internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateChildRolloutJob_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor = - getDescriptor().getMessageTypes().get(78); - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJob_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor = - getDescriptor().getMessageTypes().get(79); - internal_static_google_cloud_deploy_v1_ListRolloutsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListRolloutsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor = - getDescriptor().getMessageTypes().get(80); - internal_static_google_cloud_deploy_v1_ListRolloutsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListRolloutsResponse_descriptor, - new java.lang.String[] { "Rollouts", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor = - getDescriptor().getMessageTypes().get(81); - internal_static_google_cloud_deploy_v1_GetRolloutRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetRolloutRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor = - getDescriptor().getMessageTypes().get(82); - internal_static_google_cloud_deploy_v1_CreateRolloutRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateRolloutRequest_descriptor, - new java.lang.String[] { "Parent", "RolloutId", "Rollout", "RequestId", "ValidateOnly", "StartingPhaseId", }); - internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(83); - internal_static_google_cloud_deploy_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", }); - internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor = - getDescriptor().getMessageTypes().get(84); - internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ApproveRolloutRequest_descriptor, - new java.lang.String[] { "Name", "Approved", }); - internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor = - getDescriptor().getMessageTypes().get(85); - internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ApproveRolloutResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor = - getDescriptor().getMessageTypes().get(86); - internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AdvanceRolloutRequest_descriptor, - new java.lang.String[] { "Name", "PhaseId", }); - internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor = - getDescriptor().getMessageTypes().get(87); - internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AdvanceRolloutResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor = - getDescriptor().getMessageTypes().get(88); - internal_static_google_cloud_deploy_v1_CancelRolloutRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CancelRolloutRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor = - getDescriptor().getMessageTypes().get(89); - internal_static_google_cloud_deploy_v1_CancelRolloutResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CancelRolloutResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor = - getDescriptor().getMessageTypes().get(90); - internal_static_google_cloud_deploy_v1_IgnoreJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_IgnoreJobRequest_descriptor, - new java.lang.String[] { "Rollout", "PhaseId", "JobId", }); - internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor = - getDescriptor().getMessageTypes().get(91); - internal_static_google_cloud_deploy_v1_IgnoreJobResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_IgnoreJobResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor = - getDescriptor().getMessageTypes().get(92); - internal_static_google_cloud_deploy_v1_RetryJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RetryJobRequest_descriptor, - new java.lang.String[] { "Rollout", "PhaseId", "JobId", }); - internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor = - getDescriptor().getMessageTypes().get(93); - internal_static_google_cloud_deploy_v1_RetryJobResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RetryJobResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor = - getDescriptor().getMessageTypes().get(94); - internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AbandonReleaseRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor = - getDescriptor().getMessageTypes().get(95); - internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AbandonReleaseResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_JobRun_descriptor = - getDescriptor().getMessageTypes().get(96); - internal_static_google_cloud_deploy_v1_JobRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_JobRun_descriptor, - new java.lang.String[] { "Name", "Uid", "PhaseId", "JobId", "CreateTime", "StartTime", "EndTime", "State", "DeployJobRun", "VerifyJobRun", "PredeployJobRun", "PostdeployJobRun", "CreateChildRolloutJobRun", "AdvanceChildRolloutJobRun", "Etag", "JobRun", }); - internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor = - getDescriptor().getMessageTypes().get(97); - internal_static_google_cloud_deploy_v1_DeployJobRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeployJobRun_descriptor, - new java.lang.String[] { "Build", "FailureCause", "FailureMessage", "Metadata", "Artifact", }); - internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor = - getDescriptor().getMessageTypes().get(98); - internal_static_google_cloud_deploy_v1_VerifyJobRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_VerifyJobRun_descriptor, - new java.lang.String[] { "Build", "ArtifactUri", "EventLogPath", "FailureCause", "FailureMessage", }); - internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor = - getDescriptor().getMessageTypes().get(99); - internal_static_google_cloud_deploy_v1_PredeployJobRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PredeployJobRun_descriptor, - new java.lang.String[] { "Build", "FailureCause", "FailureMessage", }); - internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor = - getDescriptor().getMessageTypes().get(100); - internal_static_google_cloud_deploy_v1_PostdeployJobRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PostdeployJobRun_descriptor, - new java.lang.String[] { "Build", "FailureCause", "FailureMessage", }); - internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor = - getDescriptor().getMessageTypes().get(101); - internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateChildRolloutJobRun_descriptor, - new java.lang.String[] { "Rollout", "RolloutPhaseId", }); - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor = - getDescriptor().getMessageTypes().get(102); - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AdvanceChildRolloutJobRun_descriptor, - new java.lang.String[] { "Rollout", "RolloutPhaseId", }); - internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(103); - internal_static_google_cloud_deploy_v1_ListJobRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListJobRunsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(104); - internal_static_google_cloud_deploy_v1_ListJobRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListJobRunsResponse_descriptor, - new java.lang.String[] { "JobRuns", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor = - getDescriptor().getMessageTypes().get(105); - internal_static_google_cloud_deploy_v1_GetJobRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetJobRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor = - getDescriptor().getMessageTypes().get(106); - internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TerminateJobRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor = - getDescriptor().getMessageTypes().get(107); - internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TerminateJobRunResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_deploy_v1_Config_descriptor = - getDescriptor().getMessageTypes().get(108); - internal_static_google_cloud_deploy_v1_Config_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Config_descriptor, - new java.lang.String[] { "Name", "SupportedVersions", "DefaultSkaffoldVersion", }); - internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor = - getDescriptor().getMessageTypes().get(109); - internal_static_google_cloud_deploy_v1_SkaffoldVersion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_SkaffoldVersion_descriptor, - new java.lang.String[] { "Version", "MaintenanceModeTime", "SupportExpirationTime", "SupportEndDate", }); - internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(110); - internal_static_google_cloud_deploy_v1_GetConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_Automation_descriptor = - getDescriptor().getMessageTypes().get(111); - internal_static_google_cloud_deploy_v1_Automation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Automation_descriptor, - new java.lang.String[] { "Name", "Uid", "Description", "CreateTime", "UpdateTime", "Annotations", "Labels", "Etag", "Suspended", "ServiceAccount", "Selector", "Rules", }); - internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Automation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Automation_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Automation_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Automation_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor = - getDescriptor().getMessageTypes().get(112); - internal_static_google_cloud_deploy_v1_AutomationResourceSelector_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AutomationResourceSelector_descriptor, - new java.lang.String[] { "Targets", }); - internal_static_google_cloud_deploy_v1_AutomationRule_descriptor = - getDescriptor().getMessageTypes().get(113); - internal_static_google_cloud_deploy_v1_AutomationRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AutomationRule_descriptor, - new java.lang.String[] { "PromoteReleaseRule", "AdvanceRolloutRule", "RepairRolloutRule", "Rule", }); - internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor = - getDescriptor().getMessageTypes().get(114); - internal_static_google_cloud_deploy_v1_PromoteReleaseRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PromoteReleaseRule_descriptor, - new java.lang.String[] { "Id", "Wait", "DestinationTargetId", "Condition", "DestinationPhase", }); - internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor = - getDescriptor().getMessageTypes().get(115); - internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AdvanceRolloutRule_descriptor, - new java.lang.String[] { "Id", "SourcePhases", "Wait", "Condition", }); - internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor = - getDescriptor().getMessageTypes().get(116); - internal_static_google_cloud_deploy_v1_RepairRolloutRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RepairRolloutRule_descriptor, - new java.lang.String[] { "Id", "SourcePhases", "Jobs", "RepairModes", "Condition", }); - internal_static_google_cloud_deploy_v1_RepairMode_descriptor = - getDescriptor().getMessageTypes().get(117); - internal_static_google_cloud_deploy_v1_RepairMode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RepairMode_descriptor, - new java.lang.String[] { "Retry", "Rollback", "Mode", }); - internal_static_google_cloud_deploy_v1_Retry_descriptor = - getDescriptor().getMessageTypes().get(118); - internal_static_google_cloud_deploy_v1_Retry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Retry_descriptor, - new java.lang.String[] { "Attempts", "Wait", "BackoffMode", }); - internal_static_google_cloud_deploy_v1_Rollback_descriptor = - getDescriptor().getMessageTypes().get(119); - internal_static_google_cloud_deploy_v1_Rollback_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_Rollback_descriptor, - new java.lang.String[] { "DestinationPhase", }); - internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor = - getDescriptor().getMessageTypes().get(120); - internal_static_google_cloud_deploy_v1_AutomationRuleCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AutomationRuleCondition_descriptor, - new java.lang.String[] { "TargetsPresentCondition", }); - internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor = - getDescriptor().getMessageTypes().get(121); - internal_static_google_cloud_deploy_v1_CreateAutomationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CreateAutomationRequest_descriptor, - new java.lang.String[] { "Parent", "AutomationId", "Automation", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor = - getDescriptor().getMessageTypes().get(122); - internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_UpdateAutomationRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Automation", "RequestId", "AllowMissing", "ValidateOnly", }); - internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor = - getDescriptor().getMessageTypes().get(123); - internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeleteAutomationRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "AllowMissing", "ValidateOnly", "Etag", }); - internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor = - getDescriptor().getMessageTypes().get(124); - internal_static_google_cloud_deploy_v1_ListAutomationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListAutomationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor = - getDescriptor().getMessageTypes().get(125); - internal_static_google_cloud_deploy_v1_ListAutomationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListAutomationsResponse_descriptor, - new java.lang.String[] { "Automations", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor = - getDescriptor().getMessageTypes().get(126); - internal_static_google_cloud_deploy_v1_GetAutomationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetAutomationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_AutomationRun_descriptor = - getDescriptor().getMessageTypes().get(127); - internal_static_google_cloud_deploy_v1_AutomationRun_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AutomationRun_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Etag", "ServiceAccount", "AutomationSnapshot", "TargetId", "State", "StateDescription", "ExpireTime", "RuleId", "AutomationId", "PromoteReleaseOperation", "AdvanceRolloutOperation", "RepairRolloutOperation", "WaitUntilTime", "Operation", }); - internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor = - getDescriptor().getMessageTypes().get(128); - internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_PromoteReleaseOperation_descriptor, - new java.lang.String[] { "TargetId", "Wait", "Rollout", "Phase", }); - internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor = - getDescriptor().getMessageTypes().get(129); - internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_AdvanceRolloutOperation_descriptor, - new java.lang.String[] { "SourcePhase", "Wait", "Rollout", "DestinationPhase", }); - internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor = - getDescriptor().getMessageTypes().get(130); - internal_static_google_cloud_deploy_v1_RepairRolloutOperation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RepairRolloutOperation_descriptor, - new java.lang.String[] { "Rollout", "CurrentRepairModeIndex", "RepairPhases", }); - internal_static_google_cloud_deploy_v1_RepairPhase_descriptor = - getDescriptor().getMessageTypes().get(131); - internal_static_google_cloud_deploy_v1_RepairPhase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RepairPhase_descriptor, - new java.lang.String[] { "Retry", "Rollback", "RepairPhase", }); - internal_static_google_cloud_deploy_v1_RetryPhase_descriptor = - getDescriptor().getMessageTypes().get(132); - internal_static_google_cloud_deploy_v1_RetryPhase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RetryPhase_descriptor, - new java.lang.String[] { "TotalAttempts", "BackoffMode", "PhaseId", "JobId", "Attempts", }); - internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor = - getDescriptor().getMessageTypes().get(133); - internal_static_google_cloud_deploy_v1_RetryAttempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RetryAttempt_descriptor, - new java.lang.String[] { "Attempt", "Wait", "State", "StateDesc", }); - internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor = - getDescriptor().getMessageTypes().get(134); - internal_static_google_cloud_deploy_v1_RollbackAttempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RollbackAttempt_descriptor, - new java.lang.String[] { "DestinationPhase", "RolloutId", "State", "StateDesc", }); - internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor = - getDescriptor().getMessageTypes().get(135); - internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListAutomationRunsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor = - getDescriptor().getMessageTypes().get(136); - internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ListAutomationRunsResponse_descriptor, - new java.lang.String[] { "AutomationRuns", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor = - getDescriptor().getMessageTypes().get(137); - internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_GetAutomationRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor = - getDescriptor().getMessageTypes().get(138); - internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CancelAutomationRunRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor = - getDescriptor().getMessageTypes().get(139); - internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_CancelAutomationRunResponse_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocationOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocationOrBuilder.java deleted file mode 100644 index 464a761b8408..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunLocationOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CloudRunLocationOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CloudRunLocation) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The location for the Cloud Run Service. Format must be
-   * `projects/{project}/locations/{location}`.
-   * 
- * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The location. - */ - java.lang.String getLocation(); - /** - *
-   * Required. The location for the Cloud Run Service. Format must be
-   * `projects/{project}/locations/{location}`.
-   * 
- * - * string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for location. - */ - com.google.protobuf.ByteString - getLocationBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadataOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadataOrBuilder.java deleted file mode 100644 index 721cff776a85..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunRenderMetadataOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CloudRunRenderMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CloudRunRenderMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. The name of the Cloud Run Service in the rendered manifest.
-   * Format is `projects/{project}/locations/{location}/services/{service}`.
-   * 
- * - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return The service. - */ - java.lang.String getService(); - /** - *
-   * Output only. The name of the Cloud Run Service in the rendered manifest.
-   * Format is `projects/{project}/locations/{location}/services/{service}`.
-   * 
- * - * string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return The bytes for service. - */ - com.google.protobuf.ByteString - getServiceBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobOrBuilder.java deleted file mode 100644 index 4bcb11923d62..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateChildRolloutJobOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CreateChildRolloutJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CreateChildRolloutJob) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeploymentOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeploymentOrBuilder.java deleted file mode 100644 index fa0e9af96999..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeploymentOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CustomCanaryDeploymentOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomCanaryDeployment) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Configuration for each phase in the canary deployment in the
-   * order executed.
-   * 
- * - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getPhaseConfigsList(); - /** - *
-   * Required. Configuration for each phase in the canary deployment in the
-   * order executed.
-   * 
- * - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig getPhaseConfigs(int index); - /** - *
-   * Required. Configuration for each phase in the canary deployment in the
-   * order executed.
-   * 
- * - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - int getPhaseConfigsCount(); - /** - *
-   * Required. Configuration for each phase in the canary deployment in the
-   * order executed.
-   * 
- * - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getPhaseConfigsOrBuilderList(); - /** - *
-   * Required. Configuration for each phase in the canary deployment in the
-   * order executed.
-   * 
- * - * repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder getPhaseConfigsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetOrBuilder.java deleted file mode 100644 index 86716934b74e..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface CustomTargetOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.CustomTarget) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomTargetType. Format must be
-   * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
-   * 
- * - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The customTargetType. - */ - java.lang.String getCustomTargetType(); - /** - *
-   * Required. The name of the CustomTargetType. Format must be
-   * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
-   * 
- * - * string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for customTargetType. - */ - com.google.protobuf.ByteString - getCustomTargetTypeBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java deleted file mode 100644 index 7b9626115421..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/deliverypipeline_notification_payload.proto - -package com.google.cloud.deploy.v1; - -public final class DeliveryPipelineNotificationPayloadProto { - private DeliveryPipelineNotificationPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nBgoogle/cloud/deploy/v1/deliverypipelin" + - "e_notification_payload.proto\022\026google.clo" + - "ud.deploy.v1\032&google/cloud/deploy/v1/log" + - "_enums.proto\"\221\001\n!DeliveryPipelineNotific" + - "ationEvent\022\017\n\007message\030\001 \001(\t\022\024\n\014pipeline_" + - "uid\030\004 \001(\t\022\031\n\021delivery_pipeline\030\002 \001(\t\022*\n\004" + - "type\030\003 \001(\0162\034.google.cloud.deploy.v1.Type" + - "B|\n\032com.google.cloud.deploy.v1B(Delivery" + - "PipelineNotificationPayloadProtoP\001Z2clou" + - "d.google.com/go/deploy/apiv1/deploypb;de" + - "ploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_DeliveryPipelineNotificationEvent_descriptor, - new java.lang.String[] { "Message", "PipelineUid", "DeliveryPipeline", "Type", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobOrBuilder.java deleted file mode 100644 index 19c80b78e9e9..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployJobOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface DeployJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.DeployJob) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequestOrBuilder.java deleted file mode 100644 index fe798272e913..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetAutomationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetAutomationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `Automation`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `Automation`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequestOrBuilder.java deleted file mode 100644 index 9382b09d37d1..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetAutomationRunRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetAutomationRunRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetAutomationRunRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `AutomationRun`. Format must be
-   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `AutomationRun`. Format must be
-   * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java deleted file mode 100644 index 8fb7d2d9e772..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of requested configuration.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of requested configuration.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequestOrBuilder.java deleted file mode 100644 index fd223bce0295..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetCustomTargetTypeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetCustomTargetTypeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetCustomTargetTypeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `CustomTargetType`. Format must be
-   * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `CustomTargetType`. Format must be
-   * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java deleted file mode 100644 index 46c6c9ae0a45..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetDeliveryPipelineRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetDeliveryPipelineRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `DeliveryPipeline`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `DeliveryPipeline`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequestOrBuilder.java deleted file mode 100644 index 2aa96ee1c1f0..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetJobRunRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetJobRunRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetJobRunRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `JobRun`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `JobRun`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java deleted file mode 100644 index 0b6088f1615c..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetReleaseRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetReleaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `Release`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `Release`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java deleted file mode 100644 index 5ec6cdbf2aae..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetRolloutRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetRolloutRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `Rollout`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `Rollout`. Format must be
-   * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java deleted file mode 100644 index 2a3c1334ffb2..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface GetTargetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.GetTargetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `Target`. Format must be
-   * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `Target`. Format must be
-   * `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponseOrBuilder.java deleted file mode 100644 index fc96fbf64139..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/IgnoreJobResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface IgnoreJobResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.IgnoreJobResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationPayloadProto.java deleted file mode 100644 index 4fa4addf7bdf..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunNotificationPayloadProto.java +++ /dev/null @@ -1,59 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/jobrun_notification_payload.proto - -package com.google.cloud.deploy.v1; - -public final class JobRunNotificationPayloadProto { - private JobRunNotificationPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/deploy/v1/jobrun_notifica" + - "tion_payload.proto\022\026google.cloud.deploy." + - "v1\032&google/cloud/deploy/v1/log_enums.pro" + - "to\"\334\001\n\027JobRunNotificationEvent\022\017\n\007messag" + - "e\030\001 \001(\t\022\017\n\007job_run\030\002 \001(\t\022\024\n\014pipeline_uid" + - "\030\003 \001(\t\022\023\n\013release_uid\030\004 \001(\t\022\017\n\007release\030\010" + - " \001(\t\022\023\n\013rollout_uid\030\005 \001(\t\022\017\n\007rollout\030\t \001" + - "(\t\022\021\n\ttarget_id\030\006 \001(\t\022*\n\004type\030\007 \001(\0162\034.go" + - "ogle.cloud.deploy.v1.TypeBr\n\032com.google." + - "cloud.deploy.v1B\036JobRunNotificationPaylo" + - "adProtoP\001Z2cloud.google.com/go/deploy/ap" + - "iv1/deploypb;deploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_JobRunNotificationEvent_descriptor, - new java.lang.String[] { "Message", "JobRun", "PipelineUid", "ReleaseUid", "Release", "RolloutUid", "Rollout", "TargetId", "Type", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LogEnumsProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LogEnumsProto.java deleted file mode 100644 index 50b03920a022..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LogEnumsProto.java +++ /dev/null @@ -1,45 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/log_enums.proto - -package com.google.cloud.deploy.v1; - -public final class LogEnumsProto { - private LogEnumsProto() {} - 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 com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/deploy/v1/log_enums.proto" + - "\022\026google.cloud.deploy.v1*\363\001\n\004Type\022\024\n\020TYP" + - "E_UNSPECIFIED\020\000\022$\n TYPE_PUBSUB_NOTIFICAT" + - "ION_FAILURE\020\001\022\036\n\032TYPE_RESOURCE_STATE_CHA" + - "NGE\020\003\022\030\n\024TYPE_PROCESS_ABORTED\020\004\022\035\n\031TYPE_" + - "RESTRICTION_VIOLATED\020\005\022\031\n\025TYPE_RESOURCE_" + - "DELETED\020\006\022\027\n\023TYPE_ROLLOUT_UPDATE\020\007\022\"\n\032TY" + - "PE_RENDER_STATUES_CHANGE\020\002\032\002\010\001Ba\n\032com.go" + - "ogle.cloud.deploy.v1B\rLogEnumsProtoP\001Z2c" + - "loud.google.com/go/deploy/apiv1/deploypb" + - ";deploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationPayloadProto.java deleted file mode 100644 index c321a6adee69..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseNotificationPayloadProto.java +++ /dev/null @@ -1,57 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/release_notification_payload.proto - -package com.google.cloud.deploy.v1; - -public final class ReleaseNotificationPayloadProto { - private ReleaseNotificationPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/deploy/v1/release_notific" + - "ation_payload.proto\022\026google.cloud.deploy" + - ".v1\032&google/cloud/deploy/v1/log_enums.pr" + - "oto\"\223\001\n\030ReleaseNotificationEvent\022\017\n\007mess" + - "age\030\001 \001(\t\022\024\n\014pipeline_uid\030\004 \001(\t\022\023\n\013relea" + - "se_uid\030\005 \001(\t\022\017\n\007release\030\002 \001(\t\022*\n\004type\030\003 " + - "\001(\0162\034.google.cloud.deploy.v1.TypeBs\n\032com" + - ".google.cloud.deploy.v1B\037ReleaseNotifica" + - "tionPayloadProtoP\001Z2cloud.google.com/go/" + - "deploy/apiv1/deploypb;deploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ReleaseNotificationEvent_descriptor, - new java.lang.String[] { "Message", "PipelineUid", "ReleaseUid", "Release", "Type", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderPayloadProto.java deleted file mode 100644 index 2abdbcd470f6..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseRenderPayloadProto.java +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/release_render_payload.proto - -package com.google.cloud.deploy.v1; - -public final class ReleaseRenderPayloadProto { - private ReleaseRenderPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/deploy/v1/release_render_" + - "payload.proto\022\026google.cloud.deploy.v1\032)g" + - "oogle/cloud/deploy/v1/cloud_deploy.proto" + - "\032&google/cloud/deploy/v1/log_enums.proto" + - "\"\303\001\n\022ReleaseRenderEvent\022\017\n\007message\030\001 \001(\t" + - "\022\024\n\014pipeline_uid\030\004 \001(\t\022\017\n\007release\030\002 \001(\t\022" + - "*\n\004type\030\005 \001(\0162\034.google.cloud.deploy.v1.T" + - "ype\022I\n\024release_render_state\030\003 \001(\0162+.goog" + - "le.cloud.deploy.v1.Release.RenderStateBm" + - "\n\032com.google.cloud.deploy.v1B\031ReleaseRen" + - "derPayloadProtoP\001Z2cloud.google.com/go/d" + - "eploy/apiv1/deploypb;deploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor(), - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_ReleaseRenderEvent_descriptor, - new java.lang.String[] { "Message", "PipelineUid", "Release", "Type", "ReleaseRenderState", }); - com.google.cloud.deploy.v1.CloudDeployProto.getDescriptor(); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadataOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadataOrBuilder.java deleted file mode 100644 index 0c14db592001..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RenderMetadataOrBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface RenderMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RenderMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. Metadata associated with rendering for Cloud Run.
-   * 
- * - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return Whether the cloudRun field is set. - */ - boolean hasCloudRun(); - /** - *
-   * Output only. Metadata associated with rendering for Cloud Run.
-   * 
- * - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The cloudRun. - */ - com.google.cloud.deploy.v1.CloudRunRenderMetadata getCloudRun(); - /** - *
-   * Output only. Metadata associated with rendering for Cloud Run.
-   * 
- * - * .google.cloud.deploy.v1.CloudRunRenderMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.CloudRunRenderMetadataOrBuilder getCloudRunOrBuilder(); - - /** - *
-   * Output only. Custom metadata provided by user-defined render operation.
-   * 
- * - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return Whether the custom field is set. - */ - boolean hasCustom(); - /** - *
-   * Output only. Custom metadata provided by user-defined render operation.
-   * 
- * - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The custom. - */ - com.google.cloud.deploy.v1.CustomMetadata getCustom(); - /** - *
-   * Output only. Custom metadata provided by user-defined render operation.
-   * 
- * - * .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.CustomMetadataOrBuilder getCustomOrBuilder(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhaseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhaseOrBuilder.java deleted file mode 100644 index c6b4fbd64f10..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RepairPhaseOrBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface RepairPhaseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RepairPhase) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. Records of the retry attempts for retry repair mode.
-   * 
- * - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return Whether the retry field is set. - */ - boolean hasRetry(); - /** - *
-   * Output only. Records of the retry attempts for retry repair mode.
-   * 
- * - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The retry. - */ - com.google.cloud.deploy.v1.RetryPhase getRetry(); - /** - *
-   * Output only. Records of the retry attempts for retry repair mode.
-   * 
- * - * .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.RetryPhaseOrBuilder getRetryOrBuilder(); - - /** - *
-   * Output only. Rollback attempt for rollback repair mode .
-   * 
- * - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return Whether the rollback field is set. - */ - boolean hasRollback(); - /** - *
-   * Output only. Rollback attempt for rollback repair mode .
-   * 
- * - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The rollback. - */ - com.google.cloud.deploy.v1.RollbackAttempt getRollback(); - /** - *
-   * Output only. Rollback attempt for rollback repair mode .
-   * 
- * - * .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.deploy.v1.RollbackAttemptOrBuilder getRollbackOrBuilder(); - - com.google.cloud.deploy.v1.RepairPhase.RepairPhaseCase getRepairPhaseCase(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponseOrBuilder.java deleted file mode 100644 index 230af7ec0d6b..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RetryJobResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface RetryJobResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RetryJobResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationPayloadProto.java deleted file mode 100644 index 00d7f4571c08..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutNotificationPayloadProto.java +++ /dev/null @@ -1,59 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/rollout_notification_payload.proto - -package com.google.cloud.deploy.v1; - -public final class RolloutNotificationPayloadProto { - private RolloutNotificationPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/deploy/v1/rollout_notific" + - "ation_payload.proto\022\026google.cloud.deploy" + - ".v1\032&google/cloud/deploy/v1/log_enums.pr" + - "oto\"\314\001\n\030RolloutNotificationEvent\022\017\n\007mess" + - "age\030\001 \001(\t\022\024\n\014pipeline_uid\030\002 \001(\t\022\023\n\013relea" + - "se_uid\030\003 \001(\t\022\017\n\007release\030\007 \001(\t\022\023\n\013rollout" + - "_uid\030\010 \001(\t\022\017\n\007rollout\030\004 \001(\t\022\021\n\ttarget_id" + - "\030\006 \001(\t\022*\n\004type\030\005 \001(\0162\034.google.cloud.depl" + - "oy.v1.TypeBs\n\032com.google.cloud.deploy.v1" + - "B\037RolloutNotificationPayloadProtoP\001Z2clo" + - "ud.google.com/go/deploy/apiv1/deploypb;d" + - "eploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RolloutNotificationEvent_descriptor, - new java.lang.String[] { "Message", "PipelineUid", "ReleaseUid", "Release", "RolloutUid", "Rollout", "TargetId", "Type", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdatePayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdatePayloadProto.java deleted file mode 100644 index b4d09ce8ac1d..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutUpdatePayloadProto.java +++ /dev/null @@ -1,67 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/rollout_update_payload.proto - -package com.google.cloud.deploy.v1; - -public final class RolloutUpdatePayloadProto { - private RolloutUpdatePayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/deploy/v1/rollout_update_" + - "payload.proto\022\026google.cloud.deploy.v1\032&g" + - "oogle/cloud/deploy/v1/log_enums.proto\"\227\004" + - "\n\022RolloutUpdateEvent\022\017\n\007message\030\006 \001(\t\022\024\n" + - "\014pipeline_uid\030\001 \001(\t\022\023\n\013release_uid\030\002 \001(\t" + - "\022\017\n\007release\030\010 \001(\t\022\017\n\007rollout\030\003 \001(\t\022\021\n\tta" + - "rget_id\030\004 \001(\t\022*\n\004type\030\007 \001(\0162\034.google.clo" + - "ud.deploy.v1.Type\022Y\n\023rollout_update_type" + - "\030\005 \001(\0162<.google.cloud.deploy.v1.RolloutU" + - "pdateEvent.RolloutUpdateType\"\210\002\n\021Rollout" + - "UpdateType\022#\n\037ROLLOUT_UPDATE_TYPE_UNSPEC" + - "IFIED\020\000\022\013\n\007PENDING\020\001\022\023\n\017PENDING_RELEASE\020" + - "\002\022\017\n\013IN_PROGRESS\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCA" + - "NCELLED\020\005\022\n\n\006HALTED\020\006\022\r\n\tSUCCEEDED\020\007\022\n\n\006" + - "FAILED\020\010\022\025\n\021APPROVAL_REQUIRED\020\t\022\014\n\010APPRO" + - "VED\020\n\022\014\n\010REJECTED\020\013\022\024\n\020ADVANCE_REQUIRED\020" + - "\014\022\014\n\010ADVANCED\020\rBm\n\032com.google.cloud.depl" + - "oy.v1B\031RolloutUpdatePayloadProtoP\001Z2clou" + - "d.google.com/go/deploy/apiv1/deploypb;de" + - "ploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_RolloutUpdateEvent_descriptor, - new java.lang.String[] { "Message", "PipelineUid", "ReleaseUid", "Release", "Rollout", "TargetId", "Type", "RolloutUpdateType", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationPayloadProto.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationPayloadProto.java deleted file mode 100644 index 8f9b8d5ab034..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetNotificationPayloadProto.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/target_notification_payload.proto - -package com.google.cloud.deploy.v1; - -public final class TargetNotificationPayloadProto { - private TargetNotificationPayloadProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/deploy/v1/target_notifica" + - "tion_payload.proto\022\026google.cloud.deploy." + - "v1\032&google/cloud/deploy/v1/log_enums.pro" + - "to\"f\n\027TargetNotificationEvent\022\017\n\007message" + - "\030\001 \001(\t\022\016\n\006target\030\002 \001(\t\022*\n\004type\030\003 \001(\0162\034.g" + - "oogle.cloud.deploy.v1.TypeBr\n\032com.google" + - ".cloud.deploy.v1B\036TargetNotificationPayl" + - "oadProtoP\001Z2cloud.google.com/go/deploy/a" + - "piv1/deploypb;deploypbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(), - }); - internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_deploy_v1_TargetNotificationEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_deploy_v1_TargetNotificationEvent_descriptor, - new java.lang.String[] { "Message", "Target", "Type", }); - com.google.cloud.deploy.v1.LogEnumsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequestOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequestOrBuilder.java deleted file mode 100644 index 838593edc8a2..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface TerminateJobRunRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TerminateJobRunRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the `JobRun`. Format must be
-   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the `JobRun`. Format must be
-   * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponseOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponseOrBuilder.java deleted file mode 100644 index 7a3ee43edd54..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TerminateJobRunResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface TerminateJobRunResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.TerminateJobRunResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobOrBuilder.java b/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobOrBuilder.java deleted file mode 100644 index d20b49a0e5b7..000000000000 --- a/owl-bot-staging/java-deploy/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/VerifyJobOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -public interface VerifyJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.VerifyJob) - com.google.protobuf.MessageOrBuilder { -}